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).
See Implementation
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).