- detect_jpeg
bool detect_jpeg(Reader stream)
Undocumented in source. Be warned that the author may not have intended to support it.
- read_jpeg
IFImage read_jpeg(char[] filename, long req_chans)
Reads a JPEG image. req_chans defines the format of returned image
(you can use ColFmt here).
- read_jpeg
IFImage read_jpeg(Reader stream, long req_chans)
Undocumented in source. Be warned that the author may not have intended to support it.
- read_jpeg_from_mem
IFImage read_jpeg_from_mem(ubyte[] source, long req_chans)
Reads an image from a buffer containing a JPEG image. req_chans defines the
format of returned image (you can use ColFmt here).
- read_jpeg_info
void read_jpeg_info(char[] filename, int w, int h, int chans)
Returns width, height and color format information via w, h and chans.
- read_jpeg_info
void read_jpeg_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_jpeg_info_from_mem
void read_jpeg_info_from_mem(ubyte[] source, int w, int h, int chans)
Returns width, height and color format information via w, h and chans.