Mail Archives: djgpp/1997/12/04/05:24:22
At 15.49 1997-12-03 GMT, you wrote:
>The PCX standard permits the pallete of RGBs to be stored in
>48 bytes which are located in the PCX file after a 16-byte header.
>
Uhm, I don't remember the original post, but there are also 256 color PCX
files which has a palette stored in 768 bytes last in the files, (256 * 3
for R, G, B) (these values go from 0-255 so they have to be divided by 2
before output to the VGA card since that only accepts values from 0-63).
-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --
*****************************************************
* A brief description of DJGPP: *
* NEVER BEFORE HAS SO FEW DONE SO MUCH FOR SO MANY! *
*****************************************************
- Raw text -