1 .TH LIBPNGPF 3 "January 14, 1999"
3 libpng \- Portable Network Graphics (PNG) Reference Library 1.0.3 - January 14, 1999
8 void png_build_gamma_table (png_structp png_ptr);
10 void png_build_grayscale_palette (int bit_depth, png_colorp
13 void png_calculate_crc (png_structp png_ptr, png_bytep ptr,
15 void png_check_chunk_name (png_structp png_ptr, png_bytep
18 png_size_t png_check_keyword (png_structp png_ptr, png_charp
19 key, png_charpp new_key);
21 void png_combine_row (png_structp png_ptr, png_bytep row, int
24 void png_correct_palette (png_structp png_ptr, png_colorp
25 palette, int num_palette);
27 int png_crc_error (png_structp png_ptr);
29 int png_crc_finish (png_structp png_ptr, png_uint_32 skip);
31 void png_crc_read (png_structp png_ptr, png_bytep buf,
34 png_voidp png_create_struct (int type, png_malloc_ptr malloc_fn);
36 png_voidp png_create_struct_2 (int type);
38 void png_destroy_struct (png_voidp struct_ptr);
40 void png_destroy_struct_2 (png_voidp struct_ptr, png_free_ptr
43 void png_do_background (png_row_infop row_info, png_bytep row,
44 png_color_16p trans_values, png_color_16p background,
45 png_color_16p background_1, png_bytep gamma_table, png_bytep
46 gamma_from_1, png_bytep gamma_to_1, png_uint_16pp gamma_16,
47 png_uint_16pp gamma_16_from_1, png_uint_16pp gamma_16_to_1, int
50 void png_do_bgr (png_row_infop row_info, png_bytep row);
52 void png_do_chop (png_row_infop row_info, png_bytep row);
54 void png_do_dither (png_row_infop row_info, png_bytep row,
55 png_bytep palette_lookup, png_bytep dither_lookup);
57 void png_do_expand (png_row_infop row_info, png_bytep row,
58 png_color_16p trans_value);
60 void png_do_expand_palette (png_row_infop row_info, png_bytep
61 row, png_colorp palette, png_bytep trans, int num_trans);
63 void png_do_gamma (png_row_infop row_info, png_bytep row,
64 png_bytep gamma_table, png_uint_16pp gamma_16_table, int
67 void png_do_gray_to_rgb (png_row_infop row_info, png_bytep
70 void png_do_invert (png_row_infop row_info, png_bytep row);
72 void png_do_pack (png_row_infop row_info, png_bytep row,
73 png_uint_32 bit_depth);
75 void png_do_packswap (png_row_infop row_info, png_bytep row);
77 void png_do_read_filler (png_row_infop row_info, png_bytep row,
78 png_uint_32 filler, png_uint_32 flags);
80 void png_do_read_interlace (png_row_infop row_info, png_bytep
81 row, int pass, png_uint_32 transformations);
83 void png_do_read_invert_alpha (png_row_infop row_info,
86 void png_do_read_swap_alpha (png_row_infop row_info, png_bytep
89 void png_do_read_transformations (png_structp png_ptr);
91 int png_do_rgb_to_gray (png_row_infop row_info, png_bytep
94 void png_do_shift (png_row_infop row_info, png_bytep row,
95 png_color_8p bit_depth);
97 void png_do_strip_filler (png_row_infop row_info, png_bytep
98 row, png_uint_32 flags);
100 void png_do_swap (png_row_infop row_info, png_bytep row);
102 void png_do_unpack (png_row_infop row_info, png_bytep row);
104 void png_do_unshift (png_row_infop row_info, png_bytep row,
105 png_color_8p sig_bits);
107 void png_do_write_interlace (png_row_infop row_info, png_bytep
110 void png_do_write_invert_alpha (png_row_infop row_info,
113 void png_do_write_swap_alpha (png_row_infop row_info, png_bytep
116 void png_do_write_transformations (png_structp png_ptr);
118 void *png_far_to_near (png_structp png_ptr,png_voidp ptr,
121 void png_flush (png_structp png_ptr);
123 png_int_32 png_get_int_32 (png_bytep buf);
125 png_uint_16 png_get_uint_16 (png_bytep buf);
127 png_uint_32 png_get_uint_32 (png_bytep buf);
129 void png_handle_bKGD (png_structp png_ptr, png_infop info_ptr,
132 void png_handle_cHRM (png_structp png_ptr, png_infop info_ptr,
135 void png_handle_gAMA (png_structp png_ptr, png_infop info_ptr,
138 void png_handle_hIST (png_structp png_ptr, png_infop info_ptr,
141 void png_handle_IEND (png_structp png_ptr, png_infop info_ptr,
144 void png_handle_IHDR (png_structp png_ptr, png_infop info_ptr,
147 void png_handle_oFFs (png_structp png_ptr, png_infop info_ptr,
150 void png_handle_pCAL (png_structp png_ptr, png_infop info_ptr,
153 void png_handle_pHYs (png_structp png_ptr, png_infop info_ptr,
156 void png_handle_PLTE (png_structp png_ptr, png_infop info_ptr,
159 void png_handle_sBIT (png_structp png_ptr, png_infop info_ptr,
162 void png_handle_sRGB (png_structp png_ptr, png_infop info_ptr,
165 void png_handle_tEXt (png_structp png_ptr, png_infop info_ptr,
168 void png_handle_tIME (png_structp png_ptr, png_infop info_ptr,
171 void png_handle_tRNS (png_structp png_ptr, png_infop info_ptr,
174 void png_handle_unknown (png_structp png_ptr, png_infop
175 info_ptr, png_uint_32 length);
177 void png_handle_zTXt (png_structp png_ptr, png_infop info_ptr,
180 void png_info_destroy (png_structp png_ptr, png_infop
183 void png_init_read_transformations (png_structp png_ptr);
185 void png_process_IDAT_data (png_structp png_ptr, png_bytep
186 buffer, png_size_t buffer_length);
188 void png_process_some_data (png_structp png_ptr, png_infop
191 void png_push_check_crc (png_structp png_ptr);
193 void png_push_crc_finish (png_structp png_ptr);
195 void png_push_crc_skip (png_structp png_ptr, png_uint_32
198 void png_push_fill_buffer (png_structp png_ptr, png_bytep
199 buffer, png_size_t length);
201 void png_push_handle_tEXt (png_structp png_ptr, png_infop
202 info_ptr, png_uint_32 length);
204 void png_push_handle_unknown (png_structp png_ptr, png_infop
205 info_ptr, png_uint_32 length);
207 void png_push_handle_zTXt (png_structp png_ptr, png_infop
208 info_ptr, png_uint_32 length);
210 void png_push_have_end (png_structp png_ptr, png_infop
213 void png_push_have_info (png_structp png_ptr, png_infop
216 void png_push_have_row (png_structp png_ptr, png_bytep row);
218 void png_push_process_row (png_structp png_ptr);
220 void png_push_read_chunk (png_structp png_ptr, png_infop
223 void png_push_read_end (png_structp png_ptr, png_infop
226 void png_push_read_IDAT (png_structp png_ptr);
228 void png_push_read_sig (png_structp png_ptr, png_infop
231 void png_push_read_tEXt (png_structp png_ptr, png_infop
234 void png_push_read_zTXt (png_structp png_ptr, png_infop
237 void png_push_restore_buffer (png_structp png_ptr, png_bytep
238 buffer, png_size_t buffer_length);
240 void png_push_save_buffer (png_structp png_ptr);
242 void png_read_data (png_structp png_ptr, png_bytep data,
245 void png_read_filter_row (png_structp png_ptr, png_row_infop
246 row_info, png_bytep row, png_bytep prev_row, int filter);
248 void png_read_finish_row (png_structp png_ptr);
250 void png_read_init (png_structp png_ptr);
252 void png_read_push_finish_row (png_structp png_ptr);
254 void png_read_start_row (png_structp png_ptr);
256 void png_read_transform_info (png_structp png_ptr, png_infop
259 void png_reset_crc (png_structp png_ptr);
261 void png_save_int_32 (png_bytep buf, png_int_32 i);
263 void png_save_uint_16 (png_bytep buf, unsigned int i);
265 void png_save_uint_32 (png_bytep buf, png_uint_32 i);
267 void png_write_bKGD (png_structp png_ptr, png_color_16p values,
270 void png_write_cHRM (png_structp png_ptr, double white_x,
271 double white_y, double red_x, double red_y, double green_x,
272 double green_y, double blue_x, double blue_y);
274 void png_write_data (png_structp png_ptr, png_bytep data,
276 void png_write_filtered_row (png_structp png_ptr, png_bytep
279 void png_write_find_filter (png_structp png_ptr, png_row_infop
282 void png_write_finish_row (png_structp png_ptr);
284 void png_write_gAMA (png_structp png_ptr, double file_gamma);
286 void png_write_hIST (png_structp png_ptr, png_uint_16p hist,
289 void png_write_init (png_structp png_ptr);
291 void png_write_IDAT (png_structp png_ptr, png_bytep data,
294 void png_write_IEND (png_structp png_ptr);
296 void png_write_IHDR (png_structp png_ptr, png_uint_32 width,
297 png_uint_32 height, int bit_depth, int color_type, int
298 compression_type, int filter_type, int interlace_type);
300 void png_write_oFFs (png_structp png_ptr, png_uint_32 x_offset,
301 png_uint_32 y_offset, int unit_type);
303 void png_write_pCAL (png_structp png_ptr, png_charp purpose,
304 png_int_32 X0, png_int_32 X1, int type, int nparams, png_charp
305 units, png_charpp params);
307 void png_write_pHYs (png_structp png_ptr, png_uint_32
308 x_pixels_per_unit, png_uint_32 y_pixels_per_unit, int
311 void png_write_PLTE (png_structp png_ptr, png_colorp palette,
312 png_uint_32 num_pal);
314 void png_write_sBIT (png_structp png_ptr, png_color_8p sbit,
317 void png_write_sig (png_structp png_ptr);
319 void png_write_sRGB (png_structp png_ptr, int intent);
321 void png_write_start_row (png_structp png_ptr);
323 void png_write_tEXt (png_structp png_ptr, png_charp key,
324 png_charp text, png_size_t text_len);
326 void png_write_tIME (png_structp png_ptr, png_timep mod_time);
328 void png_write_tRNS (png_structp png_ptr, png_bytep trans,
329 png_color_16p values, int number, int color_type);
331 void png_write_zTXt (png_structp png_ptr, png_charp key,
332 png_charp text, png_size_t text_len, int compression);
334 voidpf png_zalloc (voidpf png_ptr, uInt items, uInt size);
336 void png_zfree (voidpf png_ptr, voidpf ptr);
339 The functions listed above are used privately by libpng
340 and are not recommended for use by applications. They
341 are listed alphabetically here as an aid to libpng maintainers.
342 See png.h for more information on these functions.
347 Glenn Randers-Pehrson