Expand description
Uncompressed BMP/TGA storage, preservation and RGBA conversion.
Structs§
- Decoded
Image - Decoded top-row-first RGBA pixels.
- Image
Record - Complete image storage including metadata, palette, padding and footer.
Functions§
- create_
bmp - Construct a top-down 32-bit BMP from RGBA pixels.
- create_
tga - Construct a top-left 32-bit TGA from RGBA pixels.
- decode_
bmp - Decode BMP pixels into top-row-first RGBA.
- decode_
tga - Decode TGA pixels into top-row-first RGBA.
- parse_
bmp - Parse BI_RGB BMP bytes without dropping original metadata or pixel padding.
- parse_
tga - Parse uncompressed truecolour TGA bytes without dropping identifier or footer.
- write_
bmp - Write and validate an edited BMP document.
- write_
tga - Write and validate an edited TGA document.