Linux Standard Base Desktop Specification 4.1 | ||
---|---|---|
<<< Previous | Next >>> |
png_read_png() shall provide the high-level read operation. The function shall read the entire image into memory. The integer "transforms" shall contain the logical OR of a set of the following transformation flags:
No transformation
Strip 16-bit samples to 8 bits
Discard the alpha channel
Expand 1, 2 and 4-bit samples to bytes
Change order of packed pixels to LSB first
Expand paletted images to RGB, grayscale to 8-bit images and tRNS chunks to alpha channels
Invert monochrome images
Normalize pixels to the sBIT depth
Flip RGB to BGR, RGBA to BGRA
Flip RGBA to ARGB or GA to AG
Change alpha from opacity to transparency
Byte-swap 16-bit samples
<<< Previous | Home | Next >>> |
png_read_info | Up | png_read_row |