Structs
Color mode of an image. Contains all information required to decode the pixel bits to RGBA colors. This information is the same as used in the PNG file format, and is used both for PNG and raw image data in LodePNG.
Gives characteristics about the colors of the image, which helps decide which color model to use for encoding.
Used internally by default if auto_convert
is enabled. Public because it’s useful for custom algorithms.
Settings for zlib compression. Tweaking these settings tweaks the balance between speed and compression ratio.
Settings for the decoder. This contains settings for the PNG and the Zlib decoder, but not the Info
settings from the Info
structs.
Information about the PNG image, except pixels, width and height
The settings, state and information for extended encoding and decoding
The information of a Time
chunk in PNG
Enums
Type for decode
, encode
, etc. Same as standard PNG color types.
automatically use color type with less bits per pixel if losslessly possible. Default: AUTO
Statics
Functions
Terrible hack.