decompress JPEG image from disk file.
you can specify required color components in req_comps (3 for RGB or 4 for RGBA), or leave it as is to use image value.
ubyte[]decompress_jpeg_image_from_file(const(char)[] filename, int width, int height, int actual_comps, int req_comps)
decompress JPEG image from disk file. you can specify required color components in req_comps (3 for RGB or 4 for RGBA), or leave it as is to use image value.