read_png_from_mem

Reads an 8-bit or 16-bit PNG image from a buffer and returns it as an 8-bit image. req_chans defines the format of returned image (you can use ColFmt here).

read_png_from_mem
(
in ubyte[] source
,
long req_chans = 0
)

Meta