The PNG file magic number header. Please note the image data header is a IHDR chunk, not this (see getHeader for that). This just a static identifier
Gets the chunk with the given name, or throws if it cannot be found.
Gets the chunk with the given name, return null if it is not found.
Insert chunk before IDAT. PNG specs allows to drop all chunks after IDAT, so we have to insert our custom chunks right before it. Use Chunk.create() to create new chunk, and then insertChunk() to add it. Return true if we did replacement.
Convenient wrapper for insertChunk().
The array of chunks that make up the file contents. See getChunkNullable, getChunk, insertChunk, and replaceChunk for functions to access and manipulate this array.
The length of the file.
The PNG file magic number header. Please note the image data header is a IHDR chunk, not this (see getHeader for that). This just a static identifier
Represents the PNG file's data. This struct is intended to be passed around by pointer.