Creates an empty PNG file in memory
Stores ancillary data embedded into PNG files. Handling these are not vital for opening PNG files, but available for various purposes. Please be aware that certain readers might have issues with nonstandard chunks
Used for static function load. Selects checksum checking policy.
Chunk initializer IDs.
Represents the possible types for PNG While bitmasking could be used, not every combination are valid
Defines standard PNG filter types.
Defines the flags in the flag field.
Frame blend operator.
Frame disposal operator.
Adds an ancillary chunk to the PNG file
Returns the header.
Saves the file to the disk. Currently interlaced mode is unsupported.
Sets the current image to the static if available
Encodes a scanline using Average filter.
Encodes a scanline using Paeth filter.
Encodes a scanline using Sub filter.
Encodes a scanline using Up filter.
Loads a PNG file. Currently interlaced mode is unsupported.
Paeth function for filtering and reconstruction.
Reconstructs a scanline from Average filtering
Reconstructs a scanline from Paeth filtering.
Reconstructs a scanline from Sub filtering.
Reconstructs a scanline from Up filtering.
Final checksum of IEND
Used for checking PNG files
Animation control chunk. If found in a PNG file, it means it has the APNG extensions.
PNG Chunk identifier
Frame control chunk.
Contains most data related to PNG files.
Contains textual metadata embedded into the file.
Stores ancilliary chunks that are not essential for image processing
Base image if APNG chunks present.
Background color
Background index
Filterbytes for each scanline
Stores property flags
Filterbytes for each frame (might be jagged)
Extra frames for the APNG extension
Textual metadata
Transparency
Contains palette data and information
Contains image data and information.
used for fast access of indexes DEPRECATED!
used for fast access of indexes DEPRECATED!
Returns the width of the image in pixels.
Returns the height of the image in pixels.
Returns true if the image is indexed.
Returns the number of bits used per sample.
Returns the number of bits used per colormap entry.
Returns the pixelformat of the image. See enumerator PixelFormat for more info.
Returns the pixelformat of the palette. See enumerator PixelFormat for more info.
Returns the background color index if there's any. Returns -1 if there's no background color, -2 if background color is not indexed.
Returns the background color if there's any, or a default value otherwise.
Returns the number of planes the image have. Default is one.
Returns a palette range, which can be used to read the palette.
Returns the image data.
Reads a single 32bit pixel. If the image is indexed, a color lookup will be done.
Looks up the index on the palette, then returns the color value as a 32 bit value.
Flips the image on the vertical axis. Useful to set images to the correct top-left screen origin point.
Flips the image on the vertical axis. Useful to set images to the correct top-left screen origin point.
Returns true if the image originates from the top
Returns true if the image originates from the right
Returns which image is being set to be worked on.
Sets which image is being set to be worked on.
Sets the current image to the static if available
Number of images in a given multi-image.
Returns the frame duration in hmsec if animation for the given frame. Returns 0 if not an animation.
Returns true if the multi-image is animated
Returns the metadata with the given id. Returns null if not found.
Sets the given metadata to val at the given id, then returns the new value.
Implements the Portable Network Graphics file format as a class.
Supports APNG extenstions.