png_set_filter

Name

png_set_filter -- set filtering method

Synopsis

#include <png.h>

void png_set_filter(png_structp png_ptr, int method, int filters);

Description

png_set_filter() shall set the filtering method used for scan-line filtering. The only valid value for "method" is 0. "filters" is a bitmap for which the following bits may be set. PNG_NO_FILTERS PNG_FILTER_NONE PNG_FILTER_SUB PNG_FILTER_UP PNG_FILTER_AVG PNG_FILTER_PAETH PNG_ALL_FILTERS