05-13-2003, 06:52 AM
I'm not where I can verify it for sure right now, but from loading your .PCX file into MS Word, one thing that might cause you to have a problem with your palette is that it appears that your PCX file is storing 24-bit pallete data (i.e., 8-bit RGB values), not an 18-bit palette (i.e., 6-bit RGB values). I can verify that for sure when I get home (in the so-called wee hours of the morning).
In the meantime, there's a program DEM8.BAS/.EXE in
http://www.geocities.com/gstumpff/pcxpal.zip
that will convert the 24-bit palette in a PCX file to an 18-bit one. You can run that and see if it makes your PCX file work. (At least, I think I included the .EXE in the .ZIP file. If I didn't, just make the .EXE. I wrote the program so that it runs from the DOS command-line with the PCX file name after the "DEM8" command.)
In the meantime, there's a program DEM8.BAS/.EXE in
http://www.geocities.com/gstumpff/pcxpal.zip
that will convert the 24-bit palette in a PCX file to an 18-bit one. You can run that and see if it makes your PCX file work. (At least, I think I included the .EXE in the .ZIP file. If I didn't, just make the .EXE. I wrote the program so that it runs from the DOS command-line with the PCX file name after the "DEM8" command.)
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.