- addImageDatastreamToPng
void addImageDatastreamToPng(const(ubyte)[] data, PNG* png)
Adds a byte array of image data to the given PNG. You are responsible for
ensuring that the data array is in the correct format.
- blankPNG
PNG* blankPNG(PNGHeader h)
Undocumented in source. Be warned that the author may not have intended to support it.
- crc
uint crc(string lol, ubyte[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
- getHeader
PNGHeader getHeader(PNG* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- pngFromImage
PNG* pngFromImage(TrueColorImage i)
Undocumented in source. Be warned that the author may not have intended to support it.
- update_crc
uint update_crc(uint crc, ubyte[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
- writePng
ubyte[] writePng(PNG* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- writePngFromBitmapPixels
void writePngFromBitmapPixels(Pixel[] pix, File handle, int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.