PCX: support for more formats

Added support for:
- (R/O) 1 bit, 3 planes (ICONDOC.pcx) -> test case from internet archive
- (R/O) 2 bits, 1 planes (CGA_FSD.pcx) -> test case from internet archive
- (R/W) 8 bits, 4 planes (dice_rgba.pcx) -> supported by ImageMagick and GIMP 3

Fix write support for:
- Grayscale 8/16-bits (saved as indexed)
- Alpha 8 (saved as indexed)
- RGB 16-bits depth (saved as RGB 24/32)
This commit is contained in:
Mirco Miranda
2024-11-05 06:36:18 +00:00
parent 4dedd88c08
commit ecfbff8197
8 changed files with 89 additions and 19 deletions

BIN
autotests/write/rgba.pcx Normal file

Binary file not shown.