Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PCX file format
#6
(02-17-2025, 06:45 PM)Petr Wrote: Does it support 32 bit as well? This is the first I've heard of it.
https://bespin.org/~qz/pc-gpe/pcx.txt

The variety of a given PCX file is determined primarily by the combination of the bits per pixel per plane field at offset 3, and the number of planes field at offset 65. The following varieties of PCX seem to be common and well-supported:

bits=1, planes=1: Bi-level, black and white (other colors may be possible, but are not well-supported)
bits=1, planes=4, version≠3: 16-color, using the palette contained in the header
bits=8, planes=1: 256-color, using the palette at the end of the file
bits=8, planes=3: 24-bit truecolor

Unfortunately, there are many other varieties that are not necessarily so portable.

ImageMagic does 32-bit PCX, I think. Maybe XnView as well. It's much like the colored 1-bit mode (instead of black/white, maybe red/blue). The import software has to accept it, but it's out there in the wild in various places. Wink
Reply


Messages In This Thread
PCX file format - by Petr - 02-16-2025, 01:46 PM
RE: PCX file format - by Petr - 02-16-2025, 03:44 PM
RE: PCX file format - by a740g - 02-17-2025, 01:42 PM
RE: PCX file format - by SMcNeill - 02-17-2025, 03:37 PM
RE: PCX file format - by Petr - 02-17-2025, 06:45 PM
RE: PCX file format - by SMcNeill - 02-17-2025, 08:01 PM
RE: PCX file format - by SMcNeill - 02-17-2025, 08:08 PM
RE: PCX file format - by SMcNeill - 02-17-2025, 08:16 PM
RE: PCX file format - by Petr - 02-17-2025, 08:58 PM
RE: PCX file format - by a740g - 02-17-2025, 10:05 PM



Users browsing this thread: 5 Guest(s)