handle lossless 16bit data
add a test suite
internally handle RGB/gray conversion in io_png_read_raw()
handle deinterlacing as a libpng transform function