lib

Undocumented in source.

Members

Functions

getQuality
float getQuality(char* fn, uint dataLength)

returns a float number, which tells the quality of the output image

init
void init()

to init the runtime, idk why shared static this won't work

pngCapacity
uint pngCapacity(char* fn, ubyte density)

returns the number of bytes that can be stored

readFromPng
ubyte* readFromPng(char* fn, uint* length)

reads data from png image

term
void term()

to terminate the runtime, idk why shared static ~this won't work

writeToPng
bool writeToPng(char* fn, char* oFn, ubyte* dataPtr, uint dataLength)

writes data to png image

Meta