ApngFrame

Represents a single frame from the file, directly corresponding to the fcTL and fdAT data from the file.

Members

Functions

populateData
void populateData()

Loads the raw compressedDatastream into raw uncompressed data and processed frameData

Variables

data
ubyte[] data;

A reference to frameData's bytes. May be 8 bit if indexed or 32 bit rgba if not.

frameControlChunk
FrameControlChunk frameControlChunk;

You're allowed to edit these values but remember it is your responsibility to keep it consistent with the rest of the file (at least for now, I might change this in the future).

frameData
MemoryImage frameData;

Processed frame data as an image. only set after you call populateData.

Meta