handle lossless 16bit data
internally handle RGB/gray conversion in io_png_read_raw()
handle deinterlacing as a libpng transform function
correct io_png API