Compress a batch of indexed and truecolor PCX files
Admin ·
PCX stores color in indexed palettes or separate color planes. Convert older artwork for a browser while keeping the dimensions and checking each file's measured size.
Export the 64 × 40 example as PNG
Choose Load example and leave Output format on PNG (lossless). Click Compress images. The saved preview shows a blue top half and orange and green blocks below. The 64 × 40 dimensions stay the same and the file goes from 548 to 173 bytes.
The example is a truecolor PCX with one plane per RGB channel. An indexed file instead uses stored color numbers to look up RGB in a palette. The lossless PNG includes the decoded colors either way.
ZSoft PCX File Format Technical Reference ManualW3C PNG Third Edition
Choose PNG or WebP for the batch
Select one or more files with Local PCX images. Start with PNG if you need exact pixel values at edges or in a sprite palette. For photo-like artwork, try WebP at 85 and inspect a downloaded image at full size.
Each result lists the actual source and output byte counts and the output size as a percentage of the source. Compact PCX drawings can already be small. Check for a larger result before replacing a source file.
| Output | Color treatment | Typical reason to choose it |
|---|---|---|
| PNG | Keeps decoded RGB | Sprites, artwork and crisp diagrams |
| WebP | Adjustable color quality | Delivery to the web with a smaller byte budget |
Match downloaded files to the report
Select Download ZIP to save all successful outputs and compression-report.json. File prefixes give the original selection order. The report records each source name, output name, dimensions and actual bytes.
If a PCX fails, its filename and error appear alongside the other results. Export the successful files and retain the rejected original for a closer look.
Common questions
Can I convert a 16-color PCX image?
The decoder supports common 4-bit indexed files with four one-bit planes, as well as common 8-bit indexed and 24-bit planar files.
Can a modern image still be bigger than the PCX?
Yes. The patterns and chosen format affect compression. The result shows the real byte difference so you can choose which copy to keep.