imageformats.png

Undocumented in source.

Members

Functions

detect_png
bool detect_png(Reader stream)
Undocumented in source. Be warned that the author may not have intended to support it.
read_png
IFImage read_png(char[] filename, long req_chans)
read_png
IFImage read_png(Reader stream, long req_chans)
Undocumented in source. Be warned that the author may not have intended to support it.
read_png16
IFImage16 read_png16(char[] filename, long req_chans)
read_png16_from_mem
IFImage16 read_png16_from_mem(ubyte[] source, long req_chans)
read_png_from_mem
IFImage read_png_from_mem(ubyte[] source, long req_chans)
read_png_header
PNG_Header read_png_header(char[] filename)
read_png_header_from_mem
PNG_Header read_png_header_from_mem(ubyte[] source)
read_png_info
void read_png_info(Reader stream, int w, int h, int chans)
Undocumented in source. Be warned that the author may not have intended to support it.
read_png_info
void read_png_info(char[] filename, int w, int h, int chans)
read_png_info_from_mem
void read_png_info_from_mem(ubyte[] source, int w, int h, int chans)
write_png
void write_png(char[] file, long w, long h, ubyte[] data, long tgt_chans)
write_png_to_mem
ubyte[] write_png_to_mem(long w, long h, ubyte[] data, long tgt_chans)

Structs

PNG_Header
struct PNG_Header

Meta