PNG.Header

Contains most data related to PNG files.

Members

Functions

bigEndianToNative
void bigEndianToNative()

Converts the struct to little endian on systems that need them.

nativeToBigEndian
Header nativeToBigEndian()

Returns a copy of the struct that is in big endian.

toString
string toString()

For debugging purposes.

Variables

bitDepth
ubyte bitDepth;

Bits per pixel or per sample

colorType
ColorType colorType;

Color interpretation indicator

compression
ubyte compression;

Compression type indicator

filter
ubyte filter;

Filter type indicator

height
uint height;

Height of image in pixels

interlace
ubyte interlace;

Type of interlacing scheme used

width
uint width;

Width of image in pixels

Meta