png_get_y_offset_pixels

Name

png_get_y_offset_pixels -- return y offset in pixels from oFFs chunk

Synopsis

#include <png.h>

png_int_32 png_get_y_offset_pixels(png_structp png_ptr, png_infop info_ptr);

Description

png_get_y_offset_pixels() shall obtain y offset in pixels for the image from its PNG_oFFs chunk data stored in info_ptr, if the unit for offset is pixels.

Return Value

On success, png_get_y_offset_pixels() shall return y offset in pixels. Otherwise png_get_y_offset_pixels() shall return 0.