read_png16_from_mem

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

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

Meta