Message-Id: <3.0.16.19971204061134.2fa79f0e@hem1.passagen.se> Date: Thu, 04 Dec 1997 11:18:10 -0500 To: mfb AT mbunix DOT mitre DOT org (Michael F Brenner) From: Peter Palotas Subject: Re: Pallette Files Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk 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! * *****************************************************