png_set_interlace_handling

Name

png_set_interlace_handling -- get the number of passes for image interlacing

Synopsis

#include <png.h>

int png_set_interlace_handling(png_structp png_ptr);

Description

png_set_interlace_handling() shall set the scheme to interlacing for writing an image and return the number of sub-images required to write the image.

Return Value

png_set_interlace_handling() shall return 7 if the image is interlaced, otherwise png_set_interlace_handling() shall return 1.