Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# png.h File Reference

`#include "zlib//zlib.h"`
`#include "pngconf.h"`

Include dependency graph for png.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Compounds
struct | png_color_16_struct
struct | png_color_8_struct
struct | png_color_struct
struct | png_info_struct
struct | png_row_info_struct
struct | png_sPLT_entry_struct
struct | png_sPLT_struct
struct | png_struct_def
struct | png_text_struct
struct | png_time_struct
struct | png_unknown_chunk_t
## Defines
#define | PNG_LIBPNG_VER_STRING "1.2.7"
#define | PNG_HEADER_VERSION_STRING " libpng version 1.2.7 - September 12, 2004 (header)\n"
#define | PNG_LIBPNG_VER_SONUM 0
#define | PNG_LIBPNG_VER_DLLNUM %DLLNUM%
#define | PNG_LIBPNG_VER_MAJOR 1
#define | PNG_LIBPNG_VER_MINOR 2
#define | PNG_LIBPNG_VER_RELEASE 7
#define | PNG_LIBPNG_VER_BUILD 0
#define | PNG_LIBPNG_BUILD_ALPHA 1
#define | PNG_LIBPNG_BUILD_BETA 2
#define | PNG_LIBPNG_BUILD_RC 3
#define | PNG_LIBPNG_BUILD_STABLE 4
#define | PNG_LIBPNG_BUILD_TYPEMASK 7
#define | PNG_LIBPNG_BUILD_PATCH 8
#define | PNG_LIBPNG_BUILD_TYPE 4
#define | PNG_LIBPNG_VER 10207
#define | int_p_NULL (int *)NULL
#define | png_bytep_NULL (png_bytep)NULL
#define | png_bytepp_NULL (png_bytepp)NULL
#define | png_doublep_NULL (png_doublep)NULL
#define | png_error_ptr_NULL (png_error_ptr)NULL
#define | png_flush_ptr_NULL (png_flush_ptr)NULL
#define | png_free_ptr_NULL (png_free_ptr)NULL
#define | png_infopp_NULL (png_infopp)NULL
#define | png_malloc_ptr_NULL (png_malloc_ptr)NULL
#define | png_read_status_ptr_NULL (png_read_status_ptr)NULL
#define | png_rw_ptr_NULL (png_rw_ptr)NULL
#define | png_structp_NULL (png_structp)NULL
#define | png_uint_16p_NULL (png_uint_16p)NULL
#define | png_voidp_NULL (png_voidp)NULL
#define | png_write_status_ptr_NULL (png_write_status_ptr)NULL
#define | PNG_TEXT_COMPRESSION_NONE_WR -3
#define | PNG_TEXT_COMPRESSION_zTXt_WR -2
#define | PNG_TEXT_COMPRESSION_NONE -1
#define | PNG_TEXT_COMPRESSION_zTXt 0
#define | PNG_ITXT_COMPRESSION_NONE 1
#define | PNG_ITXT_COMPRESSION_zTXt 2
#define | PNG_TEXT_COMPRESSION_LAST 3
#define | PNG_UINT_31_MAX ((png_uint_32)0x7fffffffL)
#define | PNG_UINT_32_MAX (~((png_uint_32)0))
#define | PNG_SIZE_MAX (~((png_size_t)0))
#define | PNG_MAX_UINT PNG_UINT_31_MAX
#define | PNG_COLOR_MASK_PALETTE 1
#define | PNG_COLOR_MASK_COLOR 2
#define | PNG_COLOR_MASK_ALPHA 4
#define | PNG_COLOR_TYPE_GRAY 0
#define | PNG_COLOR_TYPE_PALETTE (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)
#define | PNG_COLOR_TYPE_RGB (PNG_COLOR_MASK_COLOR)
#define | PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)
#define | PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
#define | PNG_COLOR_TYPE_RGBA PNG_COLOR_TYPE_RGB_ALPHA
#define | PNG_COLOR_TYPE_GA PNG_COLOR_TYPE_GRAY_ALPHA
#define | PNG_COMPRESSION_TYPE_BASE 0
#define | PNG_COMPRESSION_TYPE_DEFAULT PNG_COMPRESSION_TYPE_BASE
#define | PNG_FILTER_TYPE_BASE 0
#define | PNG_INTRAPIXEL_DIFFERENCING 64
#define | PNG_FILTER_TYPE_DEFAULT PNG_FILTER_TYPE_BASE
#define | PNG_INTERLACE_NONE 0
#define | PNG_INTERLACE_ADAM7 1
#define | PNG_INTERLACE_LAST 2
#define | PNG_OFFSET_PIXEL 0
#define | PNG_OFFSET_MICROMETER 1
#define | PNG_OFFSET_LAST 2
#define | PNG_EQUATION_LINEAR 0
#define | PNG_EQUATION_BASE_E 1
#define | PNG_EQUATION_ARBITRARY 2
#define | PNG_EQUATION_HYPERBOLIC 3
#define | PNG_EQUATION_LAST 4
#define | PNG_SCALE_UNKNOWN 0
#define | PNG_SCALE_METER 1
#define | PNG_SCALE_RADIAN 2
#define | PNG_SCALE_LAST 3
#define | PNG_RESOLUTION_UNKNOWN 0
#define | PNG_RESOLUTION_METER 1
#define | PNG_RESOLUTION_LAST 2
#define | PNG_sRGB_INTENT_PERCEPTUAL 0
#define | PNG_sRGB_INTENT_RELATIVE 1
#define | PNG_sRGB_INTENT_SATURATION 2
#define | PNG_sRGB_INTENT_ABSOLUTE 3
#define | PNG_sRGB_INTENT_LAST 4
#define | PNG_KEYWORD_MAX_LENGTH 79
#define | PNG_MAX_PALETTE_LENGTH 256
#define | PNG_INFO_gAMA 0x0001
#define | PNG_INFO_sBIT 0x0002
#define | PNG_INFO_cHRM 0x0004
#define | PNG_INFO_PLTE 0x0008
#define | PNG_INFO_tRNS 0x0010
#define | PNG_INFO_bKGD 0x0020
#define | PNG_INFO_hIST 0x0040
#define | PNG_INFO_pHYs 0x0080
#define | PNG_INFO_oFFs 0x0100
#define | PNG_INFO_tIME 0x0200
#define | PNG_INFO_pCAL 0x0400
#define | PNG_INFO_sRGB 0x0800
#define | PNG_INFO_iCCP 0x1000
#define | PNG_INFO_sPLT 0x2000
#define | PNG_INFO_sCAL 0x4000
#define | PNG_INFO_IDAT 0x8000L
#define | PNG_TRANSFORM_IDENTITY 0x0000
#define | PNG_TRANSFORM_STRIP_16 0x0001
#define | PNG_TRANSFORM_STRIP_ALPHA 0x0002
#define | PNG_TRANSFORM_PACKING 0x0004
#define | PNG_TRANSFORM_PACKSWAP 0x0008
#define | PNG_TRANSFORM_EXPAND 0x0010
#define | PNG_TRANSFORM_INVERT_MONO 0x0020
#define | PNG_TRANSFORM_SHIFT 0x0040
#define | PNG_TRANSFORM_BGR 0x0080
#define | PNG_TRANSFORM_SWAP_ALPHA 0x0100
#define | PNG_TRANSFORM_SWAP_ENDIAN 0x0200
#define | PNG_TRANSFORM_INVERT_ALPHA 0x0400
#define | PNG_TRANSFORM_STRIP_FILLER 0x0800
#define | PNG_FLAG_MNG_EMPTY_PLTE 0x01
#define | PNG_FLAG_MNG_FILTER_64 0x04
#define | PNG_ALL_MNG_FEATURES 0x05
#define | png_info_init(info_ptr)
#define | PNG_FILLER_BEFORE 0
#define | PNG_FILLER_AFTER 1
#define | PNG_BACKGROUND_GAMMA_UNKNOWN 0
#define | PNG_BACKGROUND_GAMMA_SCREEN 1
#define | PNG_BACKGROUND_GAMMA_FILE 2
#define | PNG_BACKGROUND_GAMMA_UNIQUE 3
#define | PNG_CRC_DEFAULT 0
#define | PNG_CRC_ERROR_QUIT 1
#define | PNG_CRC_WARN_DISCARD 2
#define | PNG_CRC_WARN_USE 3
#define | PNG_CRC_QUIET_USE 4
#define | PNG_CRC_NO_CHANGE 5
#define | PNG_NO_FILTERS 0x00
#define | PNG_FILTER_NONE 0x08
#define | PNG_FILTER_SUB 0x10
#define | PNG_FILTER_UP 0x20
#define | PNG_FILTER_AVG 0x40
#define | PNG_FILTER_PAETH 0x80
#define | PNG_ALL_FILTERS
#define | PNG_FILTER_VALUE_NONE 0
#define | PNG_FILTER_VALUE_SUB 1
#define | PNG_FILTER_VALUE_UP 2
#define | PNG_FILTER_VALUE_AVG 3
#define | PNG_FILTER_VALUE_PAETH 4
#define | PNG_FILTER_VALUE_LAST 5
#define | PNG_FILTER_HEURISTIC_DEFAULT 0
#define | PNG_FILTER_HEURISTIC_UNWEIGHTED 1
#define | PNG_FILTER_HEURISTIC_WEIGHTED 2
#define | PNG_FILTER_HEURISTIC_LAST 3
#define | PNG_DESTROY_WILL_FREE_DATA 1
#define | PNG_SET_WILL_FREE_DATA 1
#define | PNG_USER_WILL_FREE_DATA 2
#define | PNG_FREE_HIST 0x0008
#define | PNG_FREE_ICCP 0x0010
#define | PNG_FREE_SPLT 0x0020
#define | PNG_FREE_ROWS 0x0040
#define | PNG_FREE_PCAL 0x0080
#define | PNG_FREE_SCAL 0x0100
#define | PNG_FREE_UNKN 0x0200
#define | PNG_FREE_LIST 0x0400
#define | PNG_FREE_PLTE 0x1000
#define | PNG_FREE_TRNS 0x2000
#define | PNG_FREE_TEXT 0x4000
#define | PNG_FREE_ALL 0x7fff
#define | PNG_FREE_MUL 0x4220
#define | png_debug(l, m)
#define | png_debug1(l, m, p1)
#define | png_debug2(l, m, p1, p2)
#define | PNG_HANDLE_CHUNK_AS_DEFAULT 0
#define | PNG_HANDLE_CHUNK_NEVER 1
#define | PNG_HANDLE_CHUNK_IF_SAFE 2
#define | PNG_HANDLE_CHUNK_ALWAYS 3
#define | PNG_ASM_FLAG_MMX_SUPPORT_COMPILED 0x01
#define | PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU 0x02
#define | PNG_ASM_FLAG_MMX_READ_COMBINE_ROW 0x04
#define | PNG_ASM_FLAG_MMX_READ_INTERLACE 0x08
#define | PNG_ASM_FLAG_MMX_READ_FILTER_SUB 0x10
#define | PNG_ASM_FLAG_MMX_READ_FILTER_UP 0x20
#define | PNG_ASM_FLAG_MMX_READ_FILTER_AVG 0x40
#define | PNG_ASM_FLAG_MMX_READ_FILTER_PAETH 0x80
#define | PNG_ASM_FLAGS_INITIALIZED 0x80000000
#define | PNG_MMX_READ_FLAGS
#define | PNG_MMX_WRITE_FLAGS ( 0 )
#define | PNG_MMX_FLAGS
#define | PNG_SELECT_READ 1
#define | PNG_SELECT_WRITE 2
#define | png_composite(composite, fg, alpha, bg)
#define | png_composite_16(composite, fg, alpha, bg)
## Typedefs
typedef png_color_struct | png_color
typedef png_color * | png_colorp
typedef png_color ** | png_colorpp
typedef png_color_16_struct | png_color_16
typedef png_color_16 * | png_color_16p
typedef png_color_16 ** | png_color_16pp
typedef png_color_8_struct | png_color_8
typedef png_color_8 * | png_color_8p
typedef png_color_8 ** | png_color_8pp
typedef png_sPLT_entry_struct | png_sPLT_entry
typedef png_sPLT_entry * | png_sPLT_entryp
typedef png_sPLT_entry ** | png_sPLT_entrypp
typedef png_sPLT_struct | png_sPLT_t
typedef png_sPLT_t * | png_sPLT_tp
typedef png_sPLT_t ** | png_sPLT_tpp
typedef png_text_struct | png_text
typedef png_text * | png_textp
typedef png_text ** | png_textpp
typedef png_time_struct | png_time
typedef png_time * | png_timep
typedef png_time ** | png_timepp
typedef png_unknown_chunk_t | png_unknown_chunk
typedef png_unknown_chunk * | png_unknown_chunkp
typedef png_unknown_chunk ** | png_unknown_chunkpp
typedef png_info_struct | png_info
typedef png_info * | png_infop
typedef png_info ** | png_infopp
typedef png_row_info_struct | png_row_info
typedef png_row_info * | png_row_infop
typedef png_row_info ** | png_row_infopp
typedef png_struct_def | png_struct
typedef png_struct * | png_structp
typedef void(* | png_error_ptr )(png_structp, png_const_charp)
typedef void(* | png_rw_ptr )(png_structp, png_bytep, png_size_t)
typedef void(* | png_flush_ptr )(png_structp)
typedef void(* | png_read_status_ptr )(png_structp, png_uint_32, int)
typedef void(* | png_write_status_ptr )(png_structp, png_uint_32, int)
typedef void(* | png_progressive_info_ptr )(png_structp, png_infop)
typedef void(* | png_progressive_end_ptr )(png_structp, png_infop)
typedef void(* | png_progressive_row_ptr )(png_structp, png_bytep, png_uint_32, int)
typedef void(* | png_user_transform_ptr )(png_structp, png_row_infop, png_bytep)
typedef int(* | png_user_chunk_ptr )(png_structp, png_unknown_chunkp)
typedef void(* | png_unknown_chunk_ptr )(png_structp)
typedef png_voidp(* | png_malloc_ptr )(png_structp, png_size_t)
typedef void(* | png_free_ptr )(png_structp, png_voidp)
typedef png_structp | version_1_2_7
typedef png_struct ** | png_structpp
## Functions
png_uint_32 | png_access_version_number (void)
void | png_set_sig_bytes (png_structp png_ptr, int num_bytes)
int | png_sig_cmp (png_bytep sig, png_size_t start, png_size_t num_to_check)
int | png_check_sig (png_bytep sig, int num)
png_structp | png_create_read_struct (png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn)
png_structp | png_create_write_struct (png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn)
png_uint_32 | png_get_compression_buffer_size (png_structp png_ptr)
void | png_set_compression_buffer_size (png_structp png_ptr, png_uint_32 size)
int | png_reset_zstream (png_structp png_ptr)
png_structp | png_create_read_struct_2 (png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn)
png_structp | png_create_write_struct_2 (png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn)
void | png_write_chunk (png_structp png_ptr, png_bytep chunk_name, png_bytep data, png_size_t length)
void | png_write_chunk_start (png_structp png_ptr, png_bytep chunk_name, png_uint_32 length)
void | png_write_chunk_data (png_structp png_ptr, png_bytep data, png_size_t length)
void | png_write_chunk_end (png_structp png_ptr)
png_infop | png_create_info_struct (png_structp png_ptr)
void | png_info_init (png_infop info_ptr)
void | png_info_init_3 (png_infopp info_ptr, png_size_t png_info_struct_size)
void | png_write_info_before_PLTE (png_structp png_ptr, png_infop info_ptr)
void | png_write_info (png_structp png_ptr, png_infop info_ptr)
void | png_read_info (png_structp png_ptr, png_infop info_ptr)
png_charp | png_convert_to_rfc1123 (png_structp png_ptr, png_timep ptime)
void | png_convert_from_struct_tm (png_timep ptime, struct tm *ttime)
void | png_convert_from_time_t (png_timep ptime, time_t ttime)
void | png_set_expand (png_structp png_ptr)
void | png_set_gray_1_2_4_to_8 (png_structp png_ptr)
void | png_set_palette_to_rgb (png_structp png_ptr)
void | png_set_tRNS_to_alpha (png_structp png_ptr)
void | png_set_bgr (png_structp png_ptr)
void | png_set_gray_to_rgb (png_structp png_ptr)
void | png_set_rgb_to_gray (png_structp png_ptr, int error_action, double red, double green)
void | png_set_rgb_to_gray_fixed (png_structp png_ptr, int error_action, png_fixed_point red, png_fixed_point green)
png_byte | png_get_rgb_to_gray_status (png_structp png_ptr)
void | png_build_grayscale_palette (int bit_depth, png_colorp palette)
void | png_set_strip_alpha (png_structp png_ptr)
void | png_set_swap_alpha (png_structp png_ptr)
void | png_set_invert_alpha (png_structp png_ptr)
void | png_set_filler (png_structp png_ptr, png_uint_32 filler, int flags)
void | png_set_add_alpha (png_structp png_ptr, png_uint_32 filler, int flags)
void | png_set_swap (png_structp png_ptr)
void | png_set_packing (png_structp png_ptr)
void | png_set_packswap (png_structp png_ptr)
void | png_set_shift (png_structp png_ptr, png_color_8p true_bits)
int | png_set_interlace_handling (png_structp png_ptr)
void | png_set_invert_mono (png_structp png_ptr)
void | png_set_background (png_structp png_ptr, png_color_16p background_color, int background_gamma_code, int need_expand, double background_gamma)
void | png_set_strip_16 (png_structp png_ptr)
void | png_set_dither (png_structp png_ptr, png_colorp palette, int num_palette, int maximum_colors, png_uint_16p histogram, int full_dither)
void | png_set_gamma (png_structp png_ptr, double screen_gamma, double default_file_gamma)
void | png_permit_empty_plte (png_structp png_ptr, int empty_plte_permitted)
void | png_set_flush (png_structp png_ptr, int nrows)
void | png_write_flush (png_structp png_ptr)
void | png_start_read_image (png_structp png_ptr)
void | png_read_update_info (png_structp png_ptr, png_infop info_ptr)
void | png_read_rows (png_structp png_ptr, png_bytepp row, png_bytepp display_row, png_uint_32 num_rows)
void | png_read_row (png_structp png_ptr, png_bytep row, png_bytep display_row)
void | png_read_image (png_structp png_ptr, png_bytepp image)
void | png_write_row (png_structp png_ptr, png_bytep row)
void | png_write_rows (png_structp png_ptr, png_bytepp row, png_uint_32 num_rows)
void | png_write_image (png_structp png_ptr, png_bytepp image)
void | png_write_end (png_structp png_ptr, png_infop info_ptr)
void | png_read_end (png_structp png_ptr, png_infop info_ptr)
void | png_destroy_info_struct (png_structp png_ptr, png_infopp info_ptr_ptr)
void | png_destroy_read_struct (png_structpp png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr)
void | png_read_destroy (png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr)
void | png_destroy_write_struct (png_structpp png_ptr_ptr, png_infopp info_ptr_ptr)
void | png_write_destroy (png_structp png_ptr)
void | png_set_crc_action (png_structp png_ptr, int crit_action, int ancil_action)
void | png_set_filter (png_structp png_ptr, int method, int filters)
void | png_set_filter_heuristics (png_structp png_ptr, int heuristic_method, int num_weights, png_doublep filter_weights, png_doublep filter_costs)
void | png_set_compression_level (png_structp png_ptr, int level)
void | png_set_compression_mem_level (png_structp png_ptr, int mem_level)
void | png_set_compression_strategy (png_structp png_ptr, int strategy)
void | png_set_compression_window_bits (png_structp png_ptr, int window_bits)
void | png_set_compression_method (png_structp png_ptr, int method)
void | png_init_io (png_structp png_ptr, png_FILE_p fp)
void | png_set_error_fn (png_structp png_ptr, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warning_fn)
png_voidp | png_get_error_ptr (png_structp png_ptr)
void | png_set_write_fn (png_structp png_ptr, png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn)
void | png_set_read_fn (png_structp png_ptr, png_voidp io_ptr, png_rw_ptr read_data_fn)
png_voidp | png_get_io_ptr (png_structp png_ptr)
void | png_set_read_status_fn (png_structp png_ptr, png_read_status_ptr read_row_fn)
void | png_set_write_status_fn (png_structp png_ptr, png_write_status_ptr write_row_fn)
void | png_set_mem_fn (png_structp png_ptr, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn)
png_voidp | png_get_mem_ptr (png_structp png_ptr)
void | png_set_read_user_transform_fn (png_structp png_ptr, png_user_transform_ptr read_user_transform_fn)
void | png_set_write_user_transform_fn (png_structp png_ptr, png_user_transform_ptr write_user_transform_fn)
void | png_set_user_transform_info (png_structp png_ptr, png_voidp user_transform_ptr, int user_transform_depth, int user_transform_channels)
png_voidp | png_get_user_transform_ptr (png_structp png_ptr)
void | png_set_read_user_chunk_fn (png_structp png_ptr, png_voidp user_chunk_ptr, png_user_chunk_ptr read_user_chunk_fn)
png_voidp | png_get_user_chunk_ptr (png_structp png_ptr)
void | png_set_progressive_read_fn (png_structp png_ptr, png_voidp progressive_ptr, png_progressive_info_ptr info_fn, png_progressive_row_ptr row_fn, png_progressive_end_ptr end_fn)
png_voidp | png_get_progressive_ptr (png_structp png_ptr)
void | png_process_data (png_structp png_ptr, png_infop info_ptr, png_bytep buffer, png_size_t buffer_size)
void | png_progressive_combine_row (png_structp png_ptr, png_bytep old_row, png_bytep new_row)
png_voidp | png_malloc (png_structp png_ptr, png_uint_32 size)
png_voidp | png_malloc_warn (png_structp png_ptr, png_uint_32 size)
void | png_free (png_structp png_ptr, png_voidp ptr)
void | png_free_data (png_structp png_ptr, png_infop info_ptr, png_uint_32 free_me, int num)
void | png_data_freer (png_structp png_ptr, png_infop info_ptr, int freer, png_uint_32 mask)
png_voidp | png_malloc_default (png_structp png_ptr, png_uint_32 size)
void | png_free_default (png_structp png_ptr, png_voidp ptr)
png_voidp | png_memcpy_check (png_structp png_ptr, png_voidp s1, png_voidp s2, png_uint_32 size)
png_voidp | png_memset_check (png_structp png_ptr, png_voidp s1, int value, png_uint_32 size)
void | png_error (png_structp png_ptr, png_const_charp error_message)
void | png_chunk_error (png_structp png_ptr, png_const_charp error_message)
void | png_warning (png_structp png_ptr, png_const_charp warning_message)
void | png_chunk_warning (png_structp png_ptr, png_const_charp warning_message)
png_uint_32 | png_get_valid (png_structp png_ptr, png_infop info_ptr, png_uint_32 flag)
png_uint_32 | png_get_rowbytes (png_structp png_ptr, png_infop info_ptr)
png_bytepp | png_get_rows (png_structp png_ptr, png_infop info_ptr)
void | png_set_rows (png_structp png_ptr, png_infop info_ptr, png_bytepp row_pointers)
png_byte | png_get_channels (png_structp png_ptr, png_infop info_ptr)
png_uint_32 | png_get_image_width (png_structppng_ptr, png_infop info_ptr)
png_uint_32 | png_get_image_height (png_structppng_ptr, png_infop info_ptr)
png_byte | png_get_bit_depth (png_structppng_ptr, png_infop info_ptr)
png_byte | png_get_color_type (png_structppng_ptr, png_infop info_ptr)
png_byte | png_get_filter_type (png_structppng_ptr, png_infop info_ptr)
png_byte | png_get_interlace_type (png_structppng_ptr, png_infop info_ptr)
png_byte | png_get_compression_type (png_structppng_ptr, png_infop info_ptr)
png_uint_32 | png_get_pixels_per_meter (png_structppng_ptr, png_infop info_ptr)
png_uint_32 | png_get_x_pixels_per_meter (png_structppng_ptr, png_infop info_ptr)
png_uint_32 | png_get_y_pixels_per_meter (png_structppng_ptr, png_infop info_ptr)
float | png_get_pixel_aspect_ratio (png_structppng_ptr, png_infop info_ptr)
png_int_32 | png_get_x_offset_pixels (png_structppng_ptr, png_infop info_ptr)
png_int_32 | png_get_y_offset_pixels (png_structppng_ptr, png_infop info_ptr)
png_int_32 | png_get_x_offset_microns (png_structppng_ptr, png_infop info_ptr)
png_int_32 | png_get_y_offset_microns (png_structppng_ptr, png_infop info_ptr)
png_bytep | png_get_signature (png_structp png_ptr, png_infop info_ptr)
png_uint_32 | png_get_bKGD (png_structp png_ptr, png_infop info_ptr, png_color_16p *background)
void | png_set_bKGD (png_structp png_ptr, png_infop info_ptr, png_color_16p background)
png_uint_32 | png_get_cHRM (png_structp png_ptr, png_infop info_ptr, double *white_x, double *white_y, double *red_x, double *red_y, double *green_x, double *green_y, double *blue_x, double *blue_y)
png_uint_32 | png_get_cHRM_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point *int_white_x, png_fixed_point *int_white_y, png_fixed_point *int_red_x, png_fixed_point *int_red_y, png_fixed_point *int_green_x, png_fixed_point *int_green_y, png_fixed_point *int_blue_x, png_fixed_point *int_blue_y)
void | png_set_cHRM (png_structp png_ptr, png_infop info_ptr, double white_x, double white_y, double red_x, double red_y, double green_x, double green_y, double blue_x, double blue_y)
void | png_set_cHRM_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point int_white_x, png_fixed_point int_white_y, png_fixed_point int_red_x, png_fixed_point int_red_y, png_fixed_point int_green_x, png_fixed_point int_green_y, png_fixed_point int_blue_x, png_fixed_point int_blue_y)
png_uint_32 | png_get_gAMA (png_structp png_ptr, png_infop info_ptr, double *file_gamma)
png_uint_32 | png_get_gAMA_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point *int_file_gamma)
void | png_set_gAMA (png_structp png_ptr, png_infop info_ptr, double file_gamma)
void | png_set_gAMA_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point int_file_gamma)
png_uint_32 | png_get_hIST (png_structp png_ptr, png_infop info_ptr, png_uint_16p *hist)
void | png_set_hIST (png_structp png_ptr, png_infop info_ptr, png_uint_16p hist)
png_uint_32 | png_get_IHDR (png_structp png_ptr, png_infop info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_method, int *compression_method, int *filter_method)
void | png_set_IHDR (png_structp png_ptr, png_infop info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_method, int compression_method, int filter_method)
png_uint_32 | png_get_oFFs (png_structp png_ptr, png_infop info_ptr, png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type)
void | png_set_oFFs (png_structp png_ptr, png_infop info_ptr, png_int_32 offset_x, png_int_32 offset_y, int unit_type)
png_uint_32 | png_get_pCAL (png_structp png_ptr, png_infop info_ptr, png_charp *purpose, png_int_32 *X0, png_int_32 *X1, int *type, int *nparams, png_charp *units, png_charpp *params)
void | png_set_pCAL (png_structp png_ptr, png_infop info_ptr, png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, png_charp units, png_charpp params)
png_uint_32 | png_get_pHYs (png_structp png_ptr, png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)
void | png_set_pHYs (png_structp png_ptr, png_infop info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type)
png_uint_32 | png_get_PLTE (png_structp png_ptr, png_infop info_ptr, png_colorp *palette, int *num_palette)
void | png_set_PLTE (png_structp png_ptr, png_infop info_ptr, png_colorp palette, int num_palette)
png_uint_32 | png_get_sBIT (png_structp png_ptr, png_infop info_ptr, png_color_8p *sig_bit)
void | png_set_sBIT (png_structp png_ptr, png_infop info_ptr, png_color_8p sig_bit)
png_uint_32 | png_get_sRGB (png_structp png_ptr, png_infop info_ptr, int *intent)
void | png_set_sRGB (png_structp png_ptr, png_infop info_ptr, int intent)
void | png_set_sRGB_gAMA_and_cHRM (png_structp png_ptr, png_infop info_ptr, int intent)
png_uint_32 | png_get_iCCP (png_structp png_ptr, png_infop info_ptr, png_charpp name, int *compression_type, png_charpp profile, png_uint_32 *proflen)
void | png_set_iCCP (png_structp png_ptr, png_infop info_ptr, png_charp name, int compression_type, png_charp profile, png_uint_32 proflen)
png_uint_32 | png_get_sPLT (png_structp png_ptr, png_infop info_ptr, png_sPLT_tpp entries)
void | png_set_sPLT (png_structp png_ptr, png_infop info_ptr, png_sPLT_tp entries, int nentries)
png_uint_32 | png_get_text (png_structp png_ptr, png_infop info_ptr, png_textp *text_ptr, int *num_text)
void | png_set_text (png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, int num_text)
png_uint_32 | png_get_tIME (png_structp png_ptr, png_infop info_ptr, png_timep *mod_time)
void | png_set_tIME (png_structp png_ptr, png_infop info_ptr, png_timep mod_time)
png_uint_32 | png_get_tRNS (png_structp png_ptr, png_infop info_ptr, png_bytep *trans, int *num_trans, png_color_16p *trans_values)
void | png_set_tRNS (png_structp png_ptr, png_infop info_ptr, png_bytep trans, int num_trans, png_color_16p trans_values)
png_uint_32 | png_get_sCAL (png_structp png_ptr, png_infop info_ptr, int *unit, double *width, double *height)
void | png_set_sCAL (png_structp png_ptr, png_infop info_ptr, int unit, double width, double height)
void | png_set_sCAL_s (png_structp png_ptr, png_infop info_ptr, int unit, png_charp swidth, png_charp sheight)
void | png_set_keep_unknown_chunks (png_structp png_ptr, int keep, png_bytep chunk_list, int num_chunks)
void | png_set_unknown_chunks (png_structp png_ptr, png_infop info_ptr, png_unknown_chunkp unknowns, int num_unknowns)
void | png_set_unknown_chunk_location (png_structp png_ptr, png_infop info_ptr, int chunk, int location)
png_uint_32 | png_get_unknown_chunks (png_structp png_ptr, png_infop info_ptr, png_unknown_chunkpp entries)
int | png_handle_as_unknown (png_structp png_ptr, png_bytep chunk_name)
void | png_set_invalid (png_structp png_ptr, png_infop info_ptr, int mask)
void | png_read_png (png_structp png_ptr, png_infop info_ptr, int transforms, png_voidp params)
void | png_write_png (png_structp png_ptr, png_infop info_ptr, int transforms, png_voidp params)
png_bytep | png_sig_bytes (void)
png_charp | png_get_copyright (png_structp png_ptr)
png_charp | png_get_header_ver (png_structp png_ptr)
png_charp | png_get_header_version (png_structp png_ptr)
png_charp | png_get_libpng_ver (png_structp png_ptr)
png_uint_32 | png_permit_mng_features (png_structp png_ptr, png_uint_32 mng_features_permitted)
png_uint_32 | png_get_mmx_flagmask (int flag_select, int *compilerID)
png_uint_32 | png_get_asm_flagmask (int flag_select)
png_uint_32 | png_get_asm_flags (png_structp png_ptr)
png_byte | png_get_mmx_bitdepth_threshold (png_structp png_ptr)
png_uint_32 | png_get_mmx_rowbytes_threshold (png_structp png_ptr)
void | png_set_asm_flags (png_structp png_ptr, png_uint_32 asm_flags)
void | png_set_mmx_thresholds (png_structp png_ptr, png_byte mmx_bitdepth_threshold, png_uint_32 mmx_rowbytes_threshold)
int | png_mmx_support (void)
void | png_set_strip_error_numbers (png_structp png_ptr, png_uint_32 strip_mode)
void | png_set_user_limits (png_structp png_ptr, png_uint_32 user_width_max, png_uint_32 user_height_max)
png_uint_32 | png_get_user_width_max (png_structp png_ptr)
png_uint_32 | png_get_user_height_max (png_structp png_ptr)
## Variables
const char | png_libpng_ver [18]
const int | png_pass_start [7]
const int | png_pass_inc [7]
const int | png_pass_ystart [7]
const int | png_pass_yinc [7]
const int | png_pass_mask [7]
const int | png_pass_dsp_mask [7]

## Define Documentation

#define int_p_NULL (int *)NULL

#define PNG_ALL_FILTERS

| Value:
    (PNG_FILTER_NONE | PNG_FILTER_SUB | PNG_FILTER_UP | \
                             PNG_FILTER_AVG | PNG_FILTER_PAETH)

#define PNG_ALL_MNG_FEATURES 0x05

#define PNG_ASM_FLAG_MMX_READ_COMBINE_ROW 0x04

#define PNG_ASM_FLAG_MMX_READ_FILTER_AVG 0x40

#define PNG_ASM_FLAG_MMX_READ_FILTER_PAETH 0x80

#define PNG_ASM_FLAG_MMX_READ_FILTER_SUB 0x10

#define PNG_ASM_FLAG_MMX_READ_FILTER_UP 0x20

#define PNG_ASM_FLAG_MMX_READ_INTERLACE 0x08

#define PNG_ASM_FLAG_MMX_SUPPORT_COMPILED 0x01

#define PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU 0x02

#define PNG_ASM_FLAGS_INITIALIZED 0x80000000

#define PNG_BACKGROUND_GAMMA_FILE 2

#define PNG_BACKGROUND_GAMMA_SCREEN 1

#define PNG_BACKGROUND_GAMMA_UNIQUE 3

#define PNG_BACKGROUND_GAMMA_UNKNOWN 0

#define png_bytep_NULL (png_bytep)NULL

#define png_bytepp_NULL (png_bytepp)NULL

#define PNG_COLOR_MASK_ALPHA 4

#define PNG_COLOR_MASK_COLOR 2

#define PNG_COLOR_MASK_PALETTE 1

#define PNG_COLOR_TYPE_GA PNG_COLOR_TYPE_GRAY_ALPHA

#define PNG_COLOR_TYPE_GRAY 0

#define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)

#define PNG_COLOR_TYPE_PALETTE (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)

#define PNG_COLOR_TYPE_RGB (PNG_COLOR_MASK_COLOR)

#define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)

#define PNG_COLOR_TYPE_RGBA PNG_COLOR_TYPE_RGB_ALPHA

#define png_composite | ( | composite,
|  | fg,
|  | alpha,
|  | bg |  | ) |

| Value:
    { png_uint_16 temp = (png_uint_16)((png_uint_16)(fg) * (png_uint_16)(alpha) \
                            +        (png_uint_16)(bg)*(png_uint_16)(255 -       \
                            (png_uint_16)(alpha)) + (png_uint_16)128);           \
           (composite) = (png_byte)((temp + (temp >> 8)) >> 8); }

#define png_composite_16 | ( | composite,
|  | fg,
|  | alpha,
|  | bg |  | ) |

| Value:
    { png_uint_32 temp = (png_uint_32)((png_uint_32)(fg) * (png_uint_32)(alpha) \
                            + (png_uint_32)(bg)*(png_uint_32)(65535L -           \
                            (png_uint_32)(alpha)) + (png_uint_32)32768L);        \
           (composite) = (png_uint_16)((temp + (temp >> 16)) >> 16); }

#define PNG_COMPRESSION_TYPE_BASE 0

#define PNG_COMPRESSION_TYPE_DEFAULT PNG_COMPRESSION_TYPE_BASE

#define PNG_CRC_DEFAULT 0

#define PNG_CRC_ERROR_QUIT 1

#define PNG_CRC_NO_CHANGE 5

#define PNG_CRC_QUIET_USE 4

#define PNG_CRC_WARN_DISCARD 2

#define PNG_CRC_WARN_USE 3

#define png_debug | ( | l,
|  | m |  | ) |

#define png_debug1 | ( | l,
|  | m,
|  | p1 |  | ) |

#define png_debug2 | ( | l,
|  | m,
|  | p1,
|  | p2 |  | ) |

#define PNG_DESTROY_WILL_FREE_DATA 1

#define png_doublep_NULL (png_doublep)NULL

#define PNG_EQUATION_ARBITRARY 2

#define PNG_EQUATION_BASE_E 1

#define PNG_EQUATION_HYPERBOLIC 3

#define PNG_EQUATION_LAST 4

#define PNG_EQUATION_LINEAR 0

#define png_error_ptr_NULL (png_error_ptr)NULL

#define PNG_FILLER_AFTER 1

#define PNG_FILLER_BEFORE 0

#define PNG_FILTER_AVG 0x40

#define PNG_FILTER_HEURISTIC_DEFAULT 0

#define PNG_FILTER_HEURISTIC_LAST 3

#define PNG_FILTER_HEURISTIC_UNWEIGHTED 1

#define PNG_FILTER_HEURISTIC_WEIGHTED 2

#define PNG_FILTER_NONE 0x08

#define PNG_FILTER_PAETH 0x80

#define PNG_FILTER_SUB 0x10

#define PNG_FILTER_TYPE_BASE 0

#define PNG_FILTER_TYPE_DEFAULT PNG_FILTER_TYPE_BASE

#define PNG_FILTER_UP 0x20

#define PNG_FILTER_VALUE_AVG 3

#define PNG_FILTER_VALUE_LAST 5

#define PNG_FILTER_VALUE_NONE 0

#define PNG_FILTER_VALUE_PAETH 4

#define PNG_FILTER_VALUE_SUB 1

#define PNG_FILTER_VALUE_UP 2

#define PNG_FLAG_MNG_EMPTY_PLTE 0x01

#define PNG_FLAG_MNG_FILTER_64 0x04

#define png_flush_ptr_NULL (png_flush_ptr)NULL

#define PNG_FREE_ALL 0x7fff

#define PNG_FREE_HIST 0x0008

#define PNG_FREE_ICCP 0x0010

#define PNG_FREE_LIST 0x0400

#define PNG_FREE_MUL 0x4220

#define PNG_FREE_PCAL 0x0080

#define PNG_FREE_PLTE 0x1000

#define png_free_ptr_NULL (png_free_ptr)NULL

#define PNG_FREE_ROWS 0x0040

#define PNG_FREE_SCAL 0x0100

#define PNG_FREE_SPLT 0x0020

#define PNG_FREE_TEXT 0x4000

#define PNG_FREE_TRNS 0x2000

#define PNG_FREE_UNKN 0x0200

#define PNG_HANDLE_CHUNK_ALWAYS 3

#define PNG_HANDLE_CHUNK_AS_DEFAULT 0

#define PNG_HANDLE_CHUNK_IF_SAFE 2

#define PNG_HANDLE_CHUNK_NEVER 1

#define PNG_HEADER_VERSION_STRING " libpng version 1.2.7 - September 12, 2004 (header)\n"

#define PNG_INFO_bKGD 0x0020

#define PNG_INFO_cHRM 0x0004

#define PNG_INFO_gAMA 0x0001

#define PNG_INFO_hIST 0x0040

#define PNG_INFO_iCCP 0x1000

#define PNG_INFO_IDAT 0x8000L

#define png_info_init | ( | info_ptr |  | ) |

| Value:
    png_info_init_3(&info_ptr,\
        png_sizeof(png_info));

#define PNG_INFO_oFFs 0x0100

#define PNG_INFO_pCAL 0x0400

#define PNG_INFO_pHYs 0x0080

#define PNG_INFO_PLTE 0x0008

#define PNG_INFO_sBIT 0x0002

#define PNG_INFO_sCAL 0x4000

#define PNG_INFO_sPLT 0x2000

#define PNG_INFO_sRGB 0x0800

#define PNG_INFO_tIME 0x0200

#define PNG_INFO_tRNS 0x0010

#define png_infopp_NULL (png_infopp)NULL

#define PNG_INTERLACE_ADAM7 1

#define PNG_INTERLACE_LAST 2

#define PNG_INTERLACE_NONE 0

#define PNG_INTRAPIXEL_DIFFERENCING 64

#define PNG_ITXT_COMPRESSION_NONE 1

#define PNG_ITXT_COMPRESSION_zTXt 2

#define PNG_KEYWORD_MAX_LENGTH 79

#define PNG_LIBPNG_BUILD_ALPHA 1

#define PNG_LIBPNG_BUILD_BETA 2

#define PNG_LIBPNG_BUILD_PATCH 8

#define PNG_LIBPNG_BUILD_RC 3

#define PNG_LIBPNG_BUILD_STABLE 4

#define PNG_LIBPNG_BUILD_TYPE 4

#define PNG_LIBPNG_BUILD_TYPEMASK 7

#define PNG_LIBPNG_VER 10207

#define PNG_LIBPNG_VER_BUILD 0

#define PNG_LIBPNG_VER_DLLNUM %DLLNUM%

#define PNG_LIBPNG_VER_MAJOR 1

#define PNG_LIBPNG_VER_MINOR 2

#define PNG_LIBPNG_VER_RELEASE 7

#define PNG_LIBPNG_VER_SONUM 0

#define PNG_LIBPNG_VER_STRING "1.2.7"

#define png_malloc_ptr_NULL (png_malloc_ptr)NULL

#define PNG_MAX_PALETTE_LENGTH 256

#define PNG_MAX_UINT PNG_UINT_31_MAX

#define PNG_MMX_FLAGS

| Value:
    ( PNG_ASM_FLAG_MMX_SUPPORT_COMPILED \
                          | PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU   \
                          | PNG_MMX_READ_FLAGS                \
                          | PNG_MMX_WRITE_FLAGS )

#define PNG_MMX_READ_FLAGS

| Value:
    ( PNG_ASM_FLAG_MMX_READ_COMBINE_ROW  \
                               | PNG_ASM_FLAG_MMX_READ_INTERLACE    \
                               | PNG_ASM_FLAG_MMX_READ_FILTER_SUB   \
                               | PNG_ASM_FLAG_MMX_READ_FILTER_UP    \
                               | PNG_ASM_FLAG_MMX_READ_FILTER_AVG   \
                               | PNG_ASM_FLAG_MMX_READ_FILTER_PAETH )

#define PNG_MMX_WRITE_FLAGS ( 0 )

#define PNG_NO_FILTERS 0x00

#define PNG_OFFSET_LAST 2

#define PNG_OFFSET_MICROMETER 1

#define PNG_OFFSET_PIXEL 0

#define png_read_status_ptr_NULL (png_read_status_ptr)NULL

#define PNG_RESOLUTION_LAST 2

#define PNG_RESOLUTION_METER 1

#define PNG_RESOLUTION_UNKNOWN 0

#define png_rw_ptr_NULL (png_rw_ptr)NULL

#define PNG_SCALE_LAST 3

#define PNG_SCALE_METER 1

#define PNG_SCALE_RADIAN 2

#define PNG_SCALE_UNKNOWN 0

#define PNG_SELECT_READ 1

#define PNG_SELECT_WRITE 2

#define PNG_SET_WILL_FREE_DATA 1

#define PNG_SIZE_MAX (~((png_size_t)0))

#define PNG_sRGB_INTENT_ABSOLUTE 3

#define PNG_sRGB_INTENT_LAST 4

#define PNG_sRGB_INTENT_PERCEPTUAL 0

#define PNG_sRGB_INTENT_RELATIVE 1

#define PNG_sRGB_INTENT_SATURATION 2

#define png_structp_NULL (png_structp)NULL

#define PNG_TEXT_COMPRESSION_LAST 3

#define PNG_TEXT_COMPRESSION_NONE -1

#define PNG_TEXT_COMPRESSION_NONE_WR -3

#define PNG_TEXT_COMPRESSION_zTXt 0

#define PNG_TEXT_COMPRESSION_zTXt_WR -2

#define PNG_TRANSFORM_BGR 0x0080

#define PNG_TRANSFORM_EXPAND 0x0010

#define PNG_TRANSFORM_IDENTITY 0x0000

#define PNG_TRANSFORM_INVERT_ALPHA 0x0400

#define PNG_TRANSFORM_INVERT_MONO 0x0020

#define PNG_TRANSFORM_PACKING 0x0004

#define PNG_TRANSFORM_PACKSWAP 0x0008

#define PNG_TRANSFORM_SHIFT 0x0040

#define PNG_TRANSFORM_STRIP_16 0x0001

#define PNG_TRANSFORM_STRIP_ALPHA 0x0002

#define PNG_TRANSFORM_STRIP_FILLER 0x0800

#define PNG_TRANSFORM_SWAP_ALPHA 0x0100

#define PNG_TRANSFORM_SWAP_ENDIAN 0x0200

#define png_uint_16p_NULL (png_uint_16p)NULL

#define PNG_UINT_31_MAX ((png_uint_32)0x7fffffffL)

#define PNG_UINT_32_MAX (~((png_uint_32)0))

#define PNG_USER_WILL_FREE_DATA 2

#define png_voidp_NULL (png_voidp)NULL

#define png_write_status_ptr_NULL (png_write_status_ptr)NULL

## Typedef Documentation

typedef struct png_color_struct png_color

typedef struct png_color_16_struct png_color_16

typedef png_color_16* png_color_16p

typedef png_color_16* * png_color_16pp

typedef struct png_color_8_struct png_color_8

typedef png_color_8* png_color_8p

typedef png_color_8* * png_color_8pp

typedef png_color* png_colorp

typedef png_color* * png_colorpp

typedef void( * png_error_ptr)(png_structp, png_const_charp)

typedef void( * png_flush_ptr)(png_structp)

typedef void(* png_free_ptr)(png_structp, png_voidp)

typedef struct png_info_struct png_info

typedef png_info* png_infop

typedef png_info* * png_infopp

typedef png_voidp(* png_malloc_ptr)(png_structp, png_size_t)

typedef void( * png_progressive_end_ptr)(png_structp, png_infop)

typedef void( * png_progressive_info_ptr)(png_structp, png_infop)

typedef void( * png_progressive_row_ptr)(png_structp, png_bytep, png_uint_32, int)

typedef void( * png_read_status_ptr)(png_structp, png_uint_32, int)

typedef struct png_row_info_struct png_row_info

typedef png_row_info* png_row_infop

typedef png_row_info* * png_row_infopp

typedef void( * png_rw_ptr)(png_structp, png_bytep, png_size_t)

typedef struct png_sPLT_entry_struct png_sPLT_entry

typedef png_sPLT_entry* png_sPLT_entryp

typedef png_sPLT_entry* * png_sPLT_entrypp

typedef struct png_sPLT_struct png_sPLT_t

typedef png_sPLT_t* png_sPLT_tp

typedef png_sPLT_t* * png_sPLT_tpp

typedef struct png_struct_def png_struct

typedef png_struct* png_structp

typedef png_struct* * png_structpp

typedef struct png_text_struct png_text

typedef png_text* png_textp

typedef png_text* * png_textpp

typedef struct png_time_struct png_time

typedef png_time* png_timep

typedef png_time* * png_timepp

typedef struct png_unknown_chunk_t png_unknown_chunk

typedef void( * png_unknown_chunk_ptr)(png_structp)

typedef png_unknown_chunk* png_unknown_chunkp

typedef png_unknown_chunk* * png_unknown_chunkpp

typedef int( * png_user_chunk_ptr)(png_structp, png_unknown_chunkp)

typedef void( * png_user_transform_ptr)(png_structp, png_row_infop, png_bytep)

typedef void( * png_write_status_ptr)(png_structp, png_uint_32, int)

typedef png_structp version_1_2_7

## Function Documentation

png_uint_32 png_access_version_number | ( | void |  | ) |

void png_build_grayscale_palette | ( | int | bit_depth,
|  | png_colorp | palette
| ) |

int png_check_sig | ( | png_bytep | sig,
|  | int | num
| ) |

void png_chunk_error | ( | png_structp | png_ptr,
|  | png_const_charp | error_message
| ) |

void png_chunk_warning | ( | png_structp | png_ptr,
|  | png_const_charp | warning_message
| ) |

void png_convert_from_struct_tm | ( | png_timep | ptime,
|  | struct tm * | ttime
| ) |

void png_convert_from_time_t | ( | png_timep | ptime,
|  | time_t | ttime
| ) |

png_charp png_convert_to_rfc1123 | ( | png_structp | png_ptr,
|  | png_timep | ptime
| ) |

png_infop png_create_info_struct | ( | png_structp | png_ptr | ) |

png_structp png_create_read_struct | ( | png_const_charp | user_png_ver,
|  | png_voidp | error_ptr,
|  | png_error_ptr | error_fn,
|  | png_error_ptr | warn_fn
| ) |

png_structp png_create_read_struct_2 | ( | png_const_charp | user_png_ver,
|  | png_voidp | error_ptr,
|  | png_error_ptr | error_fn,
|  | png_error_ptr | warn_fn,
|  | png_voidp | mem_ptr,
|  | png_malloc_ptr | malloc_fn,
|  | png_free_ptr | free_fn
| ) |

png_structp png_create_write_struct | ( | png_const_charp | user_png_ver,
|  | png_voidp | error_ptr,
|  | png_error_ptr | error_fn,
|  | png_error_ptr | warn_fn
| ) |

png_structp png_create_write_struct_2 | ( | png_const_charp | user_png_ver,
|  | png_voidp | error_ptr,
|  | png_error_ptr | error_fn,
|  | png_error_ptr | warn_fn,
|  | png_voidp | mem_ptr,
|  | png_malloc_ptr | malloc_fn,
|  | png_free_ptr | free_fn
| ) |

void png_data_freer | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int | freer,
|  | png_uint_32 | mask
| ) |

void png_destroy_info_struct | ( | png_structp | png_ptr,
|  | png_infopp | info_ptr_ptr
| ) |

void png_destroy_read_struct | ( | png_structpp | png_ptr_ptr,
|  | png_infopp | info_ptr_ptr,
|  | png_infopp | end_info_ptr_ptr
| ) |

void png_destroy_write_struct | ( | png_structpp | png_ptr_ptr,
|  | png_infopp | info_ptr_ptr
| ) |

void png_error | ( | png_structp | png_ptr,
|  | png_const_charp | error_message
| ) |

void png_free | ( | png_structp | png_ptr,
|  | png_voidp | ptr
| ) |

void png_free_data | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_uint_32 | free_me,
|  | int | num
| ) |

void png_free_default | ( | png_structp | png_ptr,
|  | png_voidp | ptr
| ) |

png_uint_32 png_get_asm_flagmask | ( | int | flag_select | ) |

png_uint_32 png_get_asm_flags | ( | png_structp | png_ptr | ) |

png_byte png_get_bit_depth | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_bKGD | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_color_16p * | background
| ) |

png_byte png_get_channels | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_cHRM | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | double * | white_x,
|  | double * | white_y,
|  | double * | red_x,
|  | double * | red_y,
|  | double * | green_x,
|  | double * | green_y,
|  | double * | blue_x,
|  | double * | blue_y
| ) |

png_uint_32 png_get_cHRM_fixed | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_fixed_point * | int_white_x,
|  | png_fixed_point * | int_white_y,
|  | png_fixed_point * | int_red_x,
|  | png_fixed_point * | int_red_y,
|  | png_fixed_point * | int_green_x,
|  | png_fixed_point * | int_green_y,
|  | png_fixed_point * | int_blue_x,
|  | png_fixed_point * | int_blue_y
| ) |

png_byte png_get_color_type | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_compression_buffer_size | ( | png_structp | png_ptr | ) |

png_byte png_get_compression_type | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_charp png_get_copyright | ( | png_structp | png_ptr | ) |

png_voidp png_get_error_ptr | ( | png_structp | png_ptr | ) |

png_byte png_get_filter_type | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_gAMA | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | double * | file_gamma
| ) |

png_uint_32 png_get_gAMA_fixed | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_fixed_point * | int_file_gamma
| ) |

png_charp png_get_header_ver | ( | png_structp | png_ptr | ) |

png_charp png_get_header_version | ( | png_structp | png_ptr | ) |

png_uint_32 png_get_hIST | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_uint_16p * | hist
| ) |

png_uint_32 png_get_iCCP | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_charpp | name,
|  | int * | compression_type,
|  | png_charpp | profile,
|  | png_uint_32 * | proflen
| ) |

png_uint_32 png_get_IHDR | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_uint_32 * | width,
|  | png_uint_32 * | height,
|  | int * | bit_depth,
|  | int * | color_type,
|  | int * | interlace_method,
|  | int * | compression_method,
|  | int * | filter_method
| ) |

png_uint_32 png_get_image_height | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_image_width | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_byte png_get_interlace_type | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_voidp png_get_io_ptr | ( | png_structp | png_ptr | ) |

png_charp png_get_libpng_ver | ( | png_structp | png_ptr | ) |

png_voidp png_get_mem_ptr | ( | png_structp | png_ptr | ) |

png_byte png_get_mmx_bitdepth_threshold | ( | png_structp | png_ptr | ) |

png_uint_32 png_get_mmx_flagmask | ( | int | flag_select,
|  | int * | compilerID
| ) |

png_uint_32 png_get_mmx_rowbytes_threshold | ( | png_structp | png_ptr | ) |

png_uint_32 png_get_oFFs | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_int_32 * | offset_x,
|  | png_int_32 * | offset_y,
|  | int * | unit_type
| ) |

png_uint_32 png_get_pCAL | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_charp * | purpose,
|  | png_int_32 * | X0,
|  | png_int_32 * | X1,
|  | int * | type,
|  | int * | nparams,
|  | png_charp * | units,
|  | png_charpp * | params
| ) |

png_uint_32 png_get_pHYs | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_uint_32 * | res_x,
|  | png_uint_32 * | res_y,
|  | int * | unit_type
| ) |

float png_get_pixel_aspect_ratio | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_pixels_per_meter | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_PLTE | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_colorp * | palette,
|  | int * | num_palette
| ) |

png_voidp png_get_progressive_ptr | ( | png_structp | png_ptr | ) |

png_byte png_get_rgb_to_gray_status | ( | png_structp | png_ptr | ) |

png_uint_32 png_get_rowbytes | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |

png_bytepp png_get_rows | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_sBIT | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_color_8p * | sig_bit
| ) |

png_uint_32 png_get_sCAL | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int * | unit,
|  | double * | width,
|  | double * | height
| ) |

png_bytep png_get_signature | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_sPLT | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_sPLT_tpp | entries
| ) |

png_uint_32 png_get_sRGB | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int * | intent
| ) |

png_uint_32 png_get_text | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_textp * | text_ptr,
|  | int * | num_text
| ) |

png_uint_32 png_get_tIME | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_timep * | mod_time
| ) |

png_uint_32 png_get_tRNS | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_bytep * | trans,
|  | int * | num_trans,
|  | png_color_16p * | trans_values
| ) |

png_uint_32 png_get_unknown_chunks | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_unknown_chunkpp | entries
| ) |

png_voidp png_get_user_chunk_ptr | ( | png_structp | png_ptr | ) |

png_uint_32 png_get_user_height_max | ( | png_structp | png_ptr | ) |

png_voidp png_get_user_transform_ptr | ( | png_structp | png_ptr | ) |

png_uint_32 png_get_user_width_max | ( | png_structp | png_ptr | ) |

png_uint_32 png_get_valid | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_uint_32 | flag
| ) |

png_int_32 png_get_x_offset_microns | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_int_32 png_get_x_offset_pixels | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_x_pixels_per_meter | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_int_32 png_get_y_offset_microns | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_int_32 png_get_y_offset_pixels | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

png_uint_32 png_get_y_pixels_per_meter | ( | png_structppng_ptr | ,
|  | png_infop | info_ptr
| ) |

int png_handle_as_unknown | ( | png_structp | png_ptr,
|  | png_bytep | chunk_name
| ) |

void png_info_init | ( | png_infop | info_ptr | ) |

void png_info_init_3 | ( | png_infopp | info_ptr,
|  | png_size_t | png_info_struct_size
| ) |

void png_init_io | ( | png_structp | png_ptr,
|  | png_FILE_p | fp
| ) |

png_voidp png_malloc | ( | png_structp | png_ptr,
|  | png_uint_32 | size
| ) |

png_voidp png_malloc_default | ( | png_structp | png_ptr,
|  | png_uint_32 | size
| ) |

png_voidp png_malloc_warn | ( | png_structp | png_ptr,
|  | png_uint_32 | size
| ) |

png_voidp png_memcpy_check | ( | png_structp | png_ptr,
|  | png_voidp | s1,
|  | png_voidp | s2,
|  | png_uint_32 | size
| ) |

png_voidp png_memset_check | ( | png_structp | png_ptr,
|  | png_voidp | s1,
|  | int | value,
|  | png_uint_32 | size
| ) |

int png_mmx_support | ( | void |  | ) |

void png_permit_empty_plte | ( | png_structp | png_ptr,
|  | int | empty_plte_permitted
| ) |

png_uint_32 png_permit_mng_features | ( | png_structp | png_ptr,
|  | png_uint_32 | mng_features_permitted
| ) |

void png_process_data | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_bytep | buffer,
|  | png_size_t | buffer_size
| ) |

void png_progressive_combine_row | ( | png_structp | png_ptr,
|  | png_bytep | old_row,
|  | png_bytep | new_row
| ) |

void png_read_destroy | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_infop | end_info_ptr
| ) |

void png_read_end | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |

void png_read_image | ( | png_structp | png_ptr,
|  | png_bytepp | image
| ) |

void png_read_info | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |

void png_read_png | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int | transforms,
|  | png_voidp | params
| ) |

void png_read_row | ( | png_structp | png_ptr,
|  | png_bytep | row,
|  | png_bytep | display_row
| ) |

void png_read_rows | ( | png_structp | png_ptr,
|  | png_bytepp | row,
|  | png_bytepp | display_row,
|  | png_uint_32 | num_rows
| ) |

void png_read_update_info | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |

int png_reset_zstream | ( | png_structp | png_ptr | ) |

void png_set_add_alpha | ( | png_structp | png_ptr,
|  | png_uint_32 | filler,
|  | int | flags
| ) |

void png_set_asm_flags | ( | png_structp | png_ptr,
|  | png_uint_32 | asm_flags
| ) |

void png_set_background | ( | png_structp | png_ptr,
|  | png_color_16p | background_color,
|  | int | background_gamma_code,
|  | int | need_expand,
|  | double | background_gamma
| ) |

void png_set_bgr | ( | png_structp | png_ptr | ) |

void png_set_bKGD | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_color_16p | background
| ) |

void png_set_cHRM | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | double | white_x,
|  | double | white_y,
|  | double | red_x,
|  | double | red_y,
|  | double | green_x,
|  | double | green_y,
|  | double | blue_x,
|  | double | blue_y
| ) |

void png_set_cHRM_fixed | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_fixed_point | int_white_x,
|  | png_fixed_point | int_white_y,
|  | png_fixed_point | int_red_x,
|  | png_fixed_point | int_red_y,
|  | png_fixed_point | int_green_x,
|  | png_fixed_point | int_green_y,
|  | png_fixed_point | int_blue_x,
|  | png_fixed_point | int_blue_y
| ) |

void png_set_compression_buffer_size | ( | png_structp | png_ptr,
|  | png_uint_32 | size
| ) |

void png_set_compression_level | ( | png_structp | png_ptr,
|  | int | level
| ) |

void png_set_compression_mem_level | ( | png_structp | png_ptr,
|  | int | mem_level
| ) |

void png_set_compression_method | ( | png_structp | png_ptr,
|  | int | method
| ) |

void png_set_compression_strategy | ( | png_structp | png_ptr,
|  | int | strategy
| ) |

void png_set_compression_window_bits | ( | png_structp | png_ptr,
|  | int | window_bits
| ) |

void png_set_crc_action | ( | png_structp | png_ptr,
|  | int | crit_action,
|  | int | ancil_action
| ) |

void png_set_dither | ( | png_structp | png_ptr,
|  | png_colorp | palette,
|  | int | num_palette,
|  | int | maximum_colors,
|  | png_uint_16p | histogram,
|  | int | full_dither
| ) |

void png_set_error_fn | ( | png_structp | png_ptr,
|  | png_voidp | error_ptr,
|  | png_error_ptr | error_fn,
|  | png_error_ptr | warning_fn
| ) |

void png_set_expand | ( | png_structp | png_ptr | ) |

void png_set_filler | ( | png_structp | png_ptr,
|  | png_uint_32 | filler,
|  | int | flags
| ) |

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

void png_set_filter_heuristics | ( | png_structp | png_ptr,
|  | int | heuristic_method,
|  | int | num_weights,
|  | png_doublep | filter_weights,
|  | png_doublep | filter_costs
| ) |

void png_set_flush | ( | png_structp | png_ptr,
|  | int | nrows
| ) |

void png_set_gAMA | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | double | file_gamma
| ) |

void png_set_gAMA_fixed | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_fixed_point | int_file_gamma
| ) |

void png_set_gamma | ( | png_structp | png_ptr,
|  | double | screen_gamma,
|  | double | default_file_gamma
| ) |

void png_set_gray_1_2_4_to_8 | ( | png_structp | png_ptr | ) |

void png_set_gray_to_rgb | ( | png_structp | png_ptr | ) |

void png_set_hIST | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_uint_16p | hist
| ) |

void png_set_iCCP | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_charp | name,
|  | int | compression_type,
|  | png_charp | profile,
|  | png_uint_32 | proflen
| ) |

void png_set_IHDR | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_uint_32 | width,
|  | png_uint_32 | height,
|  | int | bit_depth,
|  | int | color_type,
|  | int | interlace_method,
|  | int | compression_method,
|  | int | filter_method
| ) |

int png_set_interlace_handling | ( | png_structp | png_ptr | ) |

void png_set_invalid | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int | mask
| ) |

void png_set_invert_alpha | ( | png_structp | png_ptr | ) |

void png_set_invert_mono | ( | png_structp | png_ptr | ) |

void png_set_keep_unknown_chunks | ( | png_structp | png_ptr,
|  | int | keep,
|  | png_bytep | chunk_list,
|  | int | num_chunks
| ) |

void png_set_mem_fn | ( | png_structp | png_ptr,
|  | png_voidp | mem_ptr,
|  | png_malloc_ptr | malloc_fn,
|  | png_free_ptr | free_fn
| ) |

void png_set_mmx_thresholds | ( | png_structp | png_ptr,
|  | png_byte | mmx_bitdepth_threshold,
|  | png_uint_32 | mmx_rowbytes_threshold
| ) |

void png_set_oFFs | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_int_32 | offset_x,
|  | png_int_32 | offset_y,
|  | int | unit_type
| ) |

void png_set_packing | ( | png_structp | png_ptr | ) |

void png_set_packswap | ( | png_structp | png_ptr | ) |

void png_set_palette_to_rgb | ( | png_structp | png_ptr | ) |

void png_set_pCAL | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_charp | purpose,
|  | png_int_32 | X0,
|  | png_int_32 | X1,
|  | int | type,
|  | int | nparams,
|  | png_charp | units,
|  | png_charpp | params
| ) |

void png_set_pHYs | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_uint_32 | res_x,
|  | png_uint_32 | res_y,
|  | int | unit_type
| ) |

void png_set_PLTE | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_colorp | palette,
|  | int | num_palette
| ) |

void png_set_progressive_read_fn | ( | png_structp | png_ptr,
|  | png_voidp | progressive_ptr,
|  | png_progressive_info_ptr | info_fn,
|  | png_progressive_row_ptr | row_fn,
|  | png_progressive_end_ptr | end_fn
| ) |

void png_set_read_fn | ( | png_structp | png_ptr,
|  | png_voidp | io_ptr,
|  | png_rw_ptr | read_data_fn
| ) |

void png_set_read_status_fn | ( | png_structp | png_ptr,
|  | png_read_status_ptr | read_row_fn
| ) |

void png_set_read_user_chunk_fn | ( | png_structp | png_ptr,
|  | png_voidp | user_chunk_ptr,
|  | png_user_chunk_ptr | read_user_chunk_fn
| ) |

void png_set_read_user_transform_fn | ( | png_structp | png_ptr,
|  | png_user_transform_ptr | read_user_transform_fn
| ) |

void png_set_rgb_to_gray | ( | png_structp | png_ptr,
|  | int | error_action,
|  | double | red,
|  | double | green
| ) |

void png_set_rgb_to_gray_fixed | ( | png_structp | png_ptr,
|  | int | error_action,
|  | png_fixed_point | red,
|  | png_fixed_point | green
| ) |

void png_set_rows | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_bytepp | row_pointers
| ) |

void png_set_sBIT | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_color_8p | sig_bit
| ) |

void png_set_sCAL | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int | unit,
|  | double | width,
|  | double | height
| ) |

void png_set_sCAL_s | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int | unit,
|  | png_charp | swidth,
|  | png_charp | sheight
| ) |

void png_set_shift | ( | png_structp | png_ptr,
|  | png_color_8p | true_bits
| ) |

void png_set_sig_bytes | ( | png_structp | png_ptr,
|  | int | num_bytes
| ) |

void png_set_sPLT | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_sPLT_tp | entries,
|  | int | nentries
| ) |

void png_set_sRGB | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int | intent
| ) |

void png_set_sRGB_gAMA_and_cHRM | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int | intent
| ) |

void png_set_strip_16 | ( | png_structp | png_ptr | ) |

void png_set_strip_alpha | ( | png_structp | png_ptr | ) |

void png_set_strip_error_numbers | ( | png_structp | png_ptr,
|  | png_uint_32 | strip_mode
| ) |

void png_set_swap | ( | png_structp | png_ptr | ) |

void png_set_swap_alpha | ( | png_structp | png_ptr | ) |

void png_set_text | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_textp | text_ptr,
|  | int | num_text
| ) |

void png_set_tIME | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_timep | mod_time
| ) |

void png_set_tRNS | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_bytep | trans,
|  | int | num_trans,
|  | png_color_16p | trans_values
| ) |

void png_set_tRNS_to_alpha | ( | png_structp | png_ptr | ) |

void png_set_unknown_chunk_location | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int | chunk,
|  | int | location
| ) |

void png_set_unknown_chunks | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | png_unknown_chunkp | unknowns,
|  | int | num_unknowns
| ) |

void png_set_user_limits | ( | png_structp | png_ptr,
|  | png_uint_32 | user_width_max,
|  | png_uint_32 | user_height_max
| ) |

void png_set_user_transform_info | ( | png_structp | png_ptr,
|  | png_voidp | user_transform_ptr,
|  | int | user_transform_depth,
|  | int | user_transform_channels
| ) |

void png_set_write_fn | ( | png_structp | png_ptr,
|  | png_voidp | io_ptr,
|  | png_rw_ptr | write_data_fn,
|  | png_flush_ptr | output_flush_fn
| ) |

void png_set_write_status_fn | ( | png_structp | png_ptr,
|  | png_write_status_ptr | write_row_fn
| ) |

void png_set_write_user_transform_fn | ( | png_structp | png_ptr,
|  | png_user_transform_ptr | write_user_transform_fn
| ) |

png_bytep png_sig_bytes | ( | void |  | ) |

int png_sig_cmp | ( | png_bytep | sig,
|  | png_size_t | start,
|  | png_size_t | num_to_check
| ) |

void png_start_read_image | ( | png_structp | png_ptr | ) |

void png_warning | ( | png_structp | png_ptr,
|  | png_const_charp | warning_message
| ) |

void png_write_chunk | ( | png_structp | png_ptr,
|  | png_bytep | chunk_name,
|  | png_bytep | data,
|  | png_size_t | length
| ) |

void png_write_chunk_data | ( | png_structp | png_ptr,
|  | png_bytep | data,
|  | png_size_t | length
| ) |

void png_write_chunk_end | ( | png_structp | png_ptr | ) |

void png_write_chunk_start | ( | png_structp | png_ptr,
|  | png_bytep | chunk_name,
|  | png_uint_32 | length
| ) |

void png_write_destroy | ( | png_structp | png_ptr | ) |

void png_write_end | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |

void png_write_flush | ( | png_structp | png_ptr | ) |

void png_write_image | ( | png_structp | png_ptr,
|  | png_bytepp | image
| ) |

void png_write_info | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |

void png_write_info_before_PLTE | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |

void png_write_png | ( | png_structp | png_ptr,
|  | png_infop | info_ptr,
|  | int | transforms,
|  | png_voidp | params
| ) |

void png_write_row | ( | png_structp | png_ptr,
|  | png_bytep | row
| ) |

void png_write_rows | ( | png_structp | png_ptr,
|  | png_bytepp | row,
|  | png_uint_32 | num_rows
| ) |

## Variable Documentation

const char png_libpng_ver[18]

const int png_pass_dsp_mask[7]

const int png_pass_inc[7]

const int png_pass_mask[7]

const int png_pass_start[7]

const int png_pass_yinc[7]

const int png_pass_ystart[7]