png_get_image_height

Name

png_get_image_height -- return image height

Synopsis

#include <png.h>

png_uint_32 png_get_image_height(png_structp png_ptr, png_infop info_ptr);

Description

png_get_image_height() returns the image height in pixels.

Return Value

Returns 0 if png_ptr or info_ptr is NULL, image_height otherwise.