Files
image-tiff/tests
Lilith River 3b11e2f577 feat: support palette (ColorMap) image decoding
Read the ColorMap tag (320) for RGBPalette images and return raw
palette indices as the decoded data with ColorType::Palette(n).

Changes:
- Read and validate ColorMap tag during IFD parsing (3 * 2^bps entries)
- Return ColorType::Palette from colortype() for RGBPalette images
- Accept Palette in expand_chunk validation (standard + sub-byte depths)
- Expose color_map() method on Decoder for palette lookup
- Add tests for 1-bit, 4-bit, 8-bit palette images with checksums
- Add test verifying ColorMap accessibility and structure

The decoder returns raw palette indices; consumers apply the lookup
using the color map returned by Decoder::color_map().
2026-03-09 21:03:30 -06:00
..
2020-09-05 21:57:51 +02:00
2026-02-14 06:55:29 +01:00
2026-02-14 06:55:29 +01:00
2026-03-06 09:31:23 +01:00
2026-03-06 09:31:23 +01:00
2026-03-06 09:31:23 +01:00
2025-07-10 23:48:20 +02:00