delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/04/05:24:22

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 <blizzar AT hem1 DOT passagen DOT se>
Subject: Re: Pallette Files
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019