simple read test using libpng (still not understand specifying png_format macro means)