png_set_compression_buffer_size

Name

png_set_compression_buffer_size -- set the size of the compression buffer

Synopsis

#include <png.h>

void png_set_compression_buffer_size(png_structp png_ptr, png_uint_32 size);

Description

This interface shall set the size of the libz compression buffer zbuf for the specified PNG file.

The parameter png_ptr shall specify the PNG file for which to set the size of the compression buffer.

The parameter size shall specify the size to which to set the compression buffer, in bytes.