- read_bmp
IFImage read_bmp(char[] filename, long req_chans)
- read_bmp_from_mem
IFImage read_bmp_from_mem(ubyte[] source, long req_chans)
- read_bmp_header
BMP_Header read_bmp_header(char[] filename)
- read_bmp_info
void read_bmp_info(char[] filename, long w, long h, long chans)
- read_image
IFImage read_image(char[] file, long req_chans)
Reads an image from file.
- read_image_from_mem
IFImage read_image_from_mem(ubyte[] source, long req_chans)
Reads an image in memory.
- read_image_info
void read_image_info(char[] file, long w, long h, long chans)
Returns basic info about an image.
If number of channels is unknown chans is set to zero.
- read_jpeg
IFImage read_jpeg(char[] filename, long req_chans)
- read_jpeg_from_mem
IFImage read_jpeg_from_mem(ubyte[] source, long req_chans)
- read_jpeg_info
void read_jpeg_info(char[] filename, long w, long h, long chans)
- read_png
IFImage read_png(char[] filename, 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_info
void read_png_info(char[] filename, long w, long h, long chans)
- read_tga
IFImage read_tga(char[] filename, long req_chans)
- read_tga_from_mem
IFImage read_tga_from_mem(ubyte[] source, long req_chans)
- read_tga_header
TGA_Header read_tga_header(char[] filename)
- read_tga_info
void read_tga_info(char[] filename, long w, long h, long chans)
- write_image
void write_image(char[] file, long w, long h, ubyte[] data, long req_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)
- write_tga
void write_tga(char[] file, long w, long h, ubyte[] data, long tgt_chans)
- write_tga_to_mem
ubyte[] write_tga_to_mem(long w, long h, ubyte[] data, long tgt_chans)