pngz
easy png io library that converts all images into 8 bit RGBA.
|
easy png structure. More...
#include <pngz.h>
Data Fields | ||
char * | path | |
default path to load from and save to | ||
union { | ||
unsigned height | ||
unsigned rows | ||
}; | ||
union alias for either height or rows | ||
union { | ||
unsigned width | ||
unsigned cols | ||
}; | ||
union alias for either width or cols | ||
pixel ** | pixels | |
[height][width] pixel buffer | ||
easy png structure.
always contains RGBA8 color (0x0 - 0xFFFFFF). pixel buffer is [height][width] pixels ([rows][cols])
union { ... } pngz |
union alias for either height or rows
union { ... } pngz |
union alias for either width or cols