Expand description
Plain in-memory images and PNG input / output.
Structs§
- Gray
Image - One 8-bit channel (masks).
- Rgba
Image - RGBA, 8 bits per channel, straight (not premultiplied) alpha.
Functions§
- decode_
png - Decode any 8-bit PNG (gray, gray+alpha, RGB, RGBA, palette) to RGBA.
- luma
- ITU-R BT.601 luma, as used for gray layers.