decompress_jpeg_image_from_stream

decompress JPEG image, what else? 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_stream
(
bool useMalloc = false
)
(,
out int width
,
out int height
,
out int actual_comps
,
int req_comps = -1
)
Suggestion Box / Bug Report