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.

nothrow @nogc
ubyte[]
decompress_jpeg_image_from_stream
(,
out int width
,
out int height
,
out int actual_comps
,
int req_comps = -1
)

Meta