blob: f3eac6759323a9ab4f07f40314116a9278634467 [file] [log] [blame]
Glenn Randers-Pehrson87544ac1999-01-13 22:06:39 -06001.TH LIBPNGPF 3 "January 14, 1999"
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -06002.SH NAME
Glenn Randers-Pehrson87544ac1999-01-13 22:06:39 -06003libpng \- Portable Network Graphics (PNG) Reference Library 1.0.3 - January 14, 1999
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -06004(private functions)
5.SH SYNOPSIS
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -05006\fB#include <png.h>\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -06007
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -05008\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -06009
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050010\fBvoid png_build_gamma_table (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -060011
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050012\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -060013
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050014\fBvoid png_build_grayscale_palette (int \fP\fIbit_depth\fP\fB, png_colorp \fIpalette\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -060015
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050016\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -060017
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050018\fBvoid png_calculate_crc (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIptr\fP\fB, png_size_t \fIlength\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -060019
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050020\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -060021
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050022\fBvoid png_check_chunk_name (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fIchunk_name\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -060023
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050024\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -060025
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050026\fBpng_size_t png_check_keyword (png_structp \fP\fIpng_ptr\fP\fB, png_charp \fP\fIkey\fP\fB, png_charpp \fInew_key\fP\fB);\fP
Glenn Randers-Pehrsonf7d1a171998-06-06 15:31:35 -050027
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050028\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -060029
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050030\fBvoid png_combine_row (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIrow\fP\fB, int \fImask\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -060031
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050032\fI\fB
Glenn Randers-Pehrsonf7d1a171998-06-06 15:31:35 -050033
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -050034\fBvoid png_correct_palette (png_structp \fP\fIpng_ptr\fP\fB, png_colorp \fP\fIpalette\fP\fB, int \fInum_palette\fP\fB);\fP
35
36\fI\fB
37
38\fBint png_crc_error (png_structp \fIpng_ptr\fP\fB);\fP
39
40\fI\fB
41
42\fBint png_crc_finish (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fIskip\fP\fB);\fP
43
44\fI\fB
45
46\fBvoid png_crc_read (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIbuf\fP\fB, png_size_t \fIlength\fP\fB);\fP
47
48\fI\fB
49
50\fBpng_voidp png_create_struct (int \fP\fItype\fP\fB, png_malloc_ptr \fImalloc_fn\fP\fB);\fP
51
52\fI\fB
53
54\fBpng_voidp png_create_struct_2 (int \fItype\fP\fB);\fP
55
56\fI\fB
57
58\fBvoid png_destroy_struct (png_voidp \fIstruct_ptr\fP\fB);\fP
59
60\fI\fB
61
62\fBvoid png_destroy_struct_2 (png_voidp \fP\fIstruct_ptr\fP\fB, png_free_ptr \fIfree_fn\fP\fB);\fP
63
64\fI\fB
65
66\fBvoid png_do_background (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_color_16p \fP\fItrans_values\fP\fB, png_color_16p \fP\fIbackground\fP\fB, png_color_16p \fP\fIbackground_1\fP\fB, png_bytep \fP\fIgamma_table\fP\fB, png_bytep \fP\fIgamma_from_1\fP\fB, png_bytep \fP\fIgamma_to_1\fP\fB, png_uint_16pp \fP\fIgamma_16\fP\fB, png_uint_16pp \fP\fIgamma_16_from_1\fP\fB, png_uint_16pp \fP\fIgamma_16_to_1\fP\fB, int \fIgamma_shift\fP\fB);\fP
67
68\fI\fB
69
70\fBvoid png_do_bgr (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
71
72\fI\fB
73
74\fBvoid png_do_chop (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
75
76\fI\fB
77
78\fBvoid png_do_dither (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_bytep \fP\fIpalette_lookup\fP\fB, png_bytep \fIdither_lookup\fP\fB);\fP
79
80\fI\fB
81
82\fBvoid png_do_expand (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_color_16p \fItrans_value\fP\fB);\fP
83
84\fI\fB
85
86\fBvoid png_do_expand_palette (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_colorp \fP\fIpalette\fP\fB, png_bytep \fP\fItrans\fP\fB, int \fInum_trans\fP\fB);\fP
87
88\fI\fB
89
90\fBvoid png_do_gamma (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_bytep \fP\fIgamma_table\fP\fB, png_uint_16pp \fP\fIgamma_16_table\fP\fB, int \fIgamma_shift\fP\fB);\fP
91
92\fI\fB
93
94\fBvoid png_do_gray_to_rgb (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
95
96\fI\fB
97
98\fBvoid png_do_invert (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
99
100\fI\fB
101
102\fBvoid png_do_pack (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_uint_32 \fIbit_depth\fP\fB);\fP
103
104\fI\fB
105
106\fBvoid png_do_packswap (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
107
108\fI\fB
109
110\fBvoid png_do_read_filler (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_uint_32 \fP\fIfiller\fP\fB, png_uint_32 \fIflags\fP\fB);\fP
111
112\fI\fB
113
114\fBvoid png_do_read_interlace (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, int \fP\fIpass\fP\fB, png_uint_32 \fItransformations\fP\fB);\fP
115
116\fI\fB
117
118\fBvoid png_do_read_invert_alpha (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
119
120\fI\fB
121
122\fBvoid png_do_read_swap_alpha (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
123
124\fI\fB
125
126\fBvoid png_do_read_transformations (png_structp \fIpng_ptr\fP\fB);\fP
127
128\fI\fB
129
130\fBint png_do_rgb_to_gray (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
131
132\fI\fB
133
134\fBvoid png_do_shift (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_color_8p \fIbit_depth\fP\fB);\fP
135
136\fI\fB
137
138\fBvoid png_do_strip_filler (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_uint_32 \fIflags\fP\fB);\fP
139
140\fI\fB
141
142\fBvoid png_do_swap (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
143
144\fI\fB
145
146\fBvoid png_do_unpack (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
147
148\fI\fB
149
150\fBvoid png_do_unshift (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_color_8p \fIsig_bits\fP\fB);\fP
151
152\fI\fB
153
154\fBvoid png_do_write_interlace (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, int \fIpass\fP\fB);\fP
155
156\fI\fB
157
158\fBvoid png_do_write_invert_alpha (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
159
160\fI\fB
161
162\fBvoid png_do_write_swap_alpha (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP
163
164\fI\fB
165
166\fBvoid png_do_write_transformations (png_structp \fIpng_ptr\fP\fB);\fP
167
168\fI\fB
169
170\fBvoid *png_far_to_near (png_structp png_ptr,png_voidp \fP\fIptr\fP\fB, int \fIcheck\fP\fB);\fP
171
172\fI\fB
173
174\fBvoid png_flush (png_structp \fIpng_ptr\fP\fB);\fP
175
176\fI\fB
177
178\fBpng_int_32 png_get_int_32 (png_bytep \fIbuf\fP\fB);\fP
179
180\fI\fB
181
182\fBpng_uint_16 png_get_uint_16 (png_bytep \fIbuf\fP\fB);\fP
183
184\fI\fB
185
186\fBpng_uint_32 png_get_uint_32 (png_bytep \fIbuf\fP\fB);\fP
187
188\fI\fB
189
190\fBvoid png_handle_bKGD (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
191
192\fI\fB
193
194\fBvoid png_handle_cHRM (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
195
196\fI\fB
197
198\fBvoid png_handle_gAMA (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
199
200\fI\fB
201
202\fBvoid png_handle_hIST (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
203
204\fI\fB
205
206\fBvoid png_handle_IEND (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
207
208\fI\fB
209
210\fBvoid png_handle_IHDR (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
211
212\fI\fB
213
214\fBvoid png_handle_oFFs (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
215
216\fI\fB
217
218\fBvoid png_handle_pCAL (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
219
220\fI\fB
221
222\fBvoid png_handle_pHYs (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
223
224\fI\fB
225
226\fBvoid png_handle_PLTE (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
227
228\fI\fB
229
230\fBvoid png_handle_sBIT (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
231
232\fI\fB
233
234\fBvoid png_handle_sRGB (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
235
236\fI\fB
237
238\fBvoid png_handle_tEXt (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
239
240\fI\fB
241
242\fBvoid png_handle_tIME (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
243
244\fI\fB
245
246\fBvoid png_handle_tRNS (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
247
248\fI\fB
249
250\fBvoid png_handle_unknown (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
251
252\fI\fB
253
254\fBvoid png_handle_zTXt (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
255
256\fI\fB
257
258\fBvoid png_info_destroy (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP
259
260\fI\fB
261
262\fBvoid png_init_read_transformations (png_structp \fIpng_ptr\fP\fB);\fP
263
264\fI\fB
265
266\fBvoid png_process_IDAT_data (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIbuffer\fP\fB, png_size_t \fIbuffer_length\fP\fB);\fP
267
268\fI\fB
269
270\fBvoid png_process_some_data (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP
271
272\fI\fB
273
274\fBvoid png_push_check_crc (png_structp \fIpng_ptr\fP\fB);\fP
275
276\fI\fB
277
278\fBvoid png_push_crc_finish (png_structp \fIpng_ptr\fP\fB);\fP
279
280\fI\fB
281
282\fBvoid png_push_crc_skip (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600283
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500284\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600285
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500286\fBvoid png_push_fill_buffer (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIbuffer\fP\fB, png_size_t \fIlength\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600287
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500288\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600289
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500290\fBvoid png_push_handle_tEXt (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600291
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500292\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600293
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500294\fBvoid png_push_handle_unknown (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600295
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500296\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600297
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500298\fBvoid png_push_handle_zTXt (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600299
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500300\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600301
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500302\fBvoid png_push_have_end (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600303
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500304\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600305
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500306\fBvoid png_push_have_info (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600307
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500308\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600309
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500310\fBvoid png_push_have_row (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fIrow\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600311
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500312\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600313
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500314\fBvoid png_push_process_row (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600315
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500316\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600317
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500318\fBvoid png_push_read_chunk (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600319
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500320\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600321
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500322\fBvoid png_push_read_end (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600323
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500324\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600325
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500326\fBvoid png_push_read_IDAT (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600327
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500328\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600329
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500330\fBvoid png_push_read_sig (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600331
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500332\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600333
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500334\fBvoid png_push_read_tEXt (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600335
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500336\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600337
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500338\fBvoid png_push_read_zTXt (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600339
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500340\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600341
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500342\fBvoid png_push_restore_buffer (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIbuffer\fP\fB, png_size_t \fIbuffer_length\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600343
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500344\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600345
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500346\fBvoid png_push_save_buffer (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600347
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500348\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600349
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500350\fBvoid png_read_data (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIdata\fP\fB, png_size_t \fIlength\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600351
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500352\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600353
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500354\fBvoid png_read_filter_row (png_structp \fP\fIpng_ptr\fP\fB, png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_bytep \fP\fIprev_row\fP\fB, int \fIfilter\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600355
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500356\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600357
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500358\fBvoid png_read_finish_row (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600359
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500360\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600361
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500362\fBvoid png_read_init (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600363
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500364\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600365
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500366\fBvoid png_read_push_finish_row (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600367
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500368\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600369
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500370\fBvoid png_read_start_row (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600371
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500372\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600373
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500374\fBvoid png_read_transform_info (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600375
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500376\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600377
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500378\fBvoid png_reset_crc (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600379
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500380\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600381
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500382\fBvoid png_save_int_32 (png_bytep \fP\fIbuf\fP\fB, png_int_32 \fIi\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600383
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500384\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600385
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500386\fBvoid png_save_uint_16 (png_bytep \fP\fIbuf\fP\fB, unsigned int \fIi\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600387
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500388\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600389
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500390\fBvoid png_save_uint_32 (png_bytep \fP\fIbuf\fP\fB, png_uint_32 \fIi\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600391
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500392\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600393
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500394\fBvoid png_write_bKGD (png_structp \fP\fIpng_ptr\fP\fB, png_color_16p \fP\fIvalues\fP\fB, int \fIcolor_type\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600395
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500396\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600397
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500398\fBvoid png_write_cHRM (png_structp \fP\fIpng_ptr\fP\fB, double \fP\fIwhite_x\fP\fB, double \fP\fIwhite_y\fP\fB, double \fP\fIred_x\fP\fB, double \fP\fIred_y\fP\fB, double \fP\fIgreen_x\fP\fB, double \fP\fIgreen_y\fP\fB, double \fP\fIblue_x\fP\fB, double \fIblue_y\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600399
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500400\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600401
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500402\fBvoid png_write_data (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIdata\fP\fB, png_size_t \fIlength\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600403
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500404\fBvoid png_write_filtered_row (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fIfiltered_row\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600405
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500406\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600407
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500408\fBvoid png_write_find_filter (png_structp \fP\fIpng_ptr\fP\fB, png_row_infop \fIrow_info\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600409
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500410\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600411
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500412\fBvoid png_write_finish_row (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600413
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500414\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600415
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500416\fBvoid png_write_gAMA (png_structp \fP\fIpng_ptr\fP\fB, double \fIfile_gamma\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600417
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500418\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600419
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500420\fBvoid png_write_hIST (png_structp \fP\fIpng_ptr\fP\fB, png_uint_16p \fP\fIhist\fP\fB, int \fInum_hist\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600421
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500422\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600423
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500424\fBvoid png_write_init (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600425
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500426\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600427
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500428\fBvoid png_write_IDAT (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIdata\fP\fB, png_size_t \fIlength\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600429
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500430\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600431
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500432\fBvoid png_write_IEND (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600433
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500434\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600435
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500436\fBvoid png_write_IHDR (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fP\fIwidth\fP\fB, png_uint_32 \fP\fIheight\fP\fB, int \fP\fIbit_depth\fP\fB, int \fP\fIcolor_type\fP\fB, int \fP\fIcompression_type\fP\fB, int \fP\fIfilter_type\fP\fB, int \fIinterlace_type\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600437
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500438\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600439
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500440\fBvoid png_write_oFFs (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fP\fIx_offset\fP\fB, png_uint_32 \fP\fIy_offset\fP\fB, int \fIunit_type\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600441
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500442\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600443
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500444\fBvoid png_write_pCAL (png_structp \fP\fIpng_ptr\fP\fB, png_charp \fP\fIpurpose\fP\fB, png_int_32 \fP\fIX0\fP\fB, png_int_32 \fP\fIX1\fP\fB, int \fP\fItype\fP\fB, int \fP\fInparams\fP\fB, png_charp \fP\fIunits\fP\fB, png_charpp \fIparams\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600445
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500446\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600447
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500448\fBvoid png_write_pHYs (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fP\fIx_pixels_per_unit\fP\fB, png_uint_32 \fP\fIy_pixels_per_unit\fP\fB, int \fIunit_type\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600449
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500450\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600451
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500452\fBvoid png_write_PLTE (png_structp \fP\fIpng_ptr\fP\fB, png_colorp \fP\fIpalette\fP\fB, png_uint_32 \fInum_pal\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600453
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500454\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600455
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500456\fBvoid png_write_sBIT (png_structp \fP\fIpng_ptr\fP\fB, png_color_8p \fP\fIsbit\fP\fB, int \fIcolor_type\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600457
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500458\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600459
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500460\fBvoid png_write_sig (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600461
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500462\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600463
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500464\fBvoid png_write_sRGB (png_structp \fP\fIpng_ptr\fP\fB, int \fIintent\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600465
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500466\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600467
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500468\fBvoid png_write_start_row (png_structp \fIpng_ptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600469
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500470\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600471
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500472\fBvoid png_write_tEXt (png_structp \fP\fIpng_ptr\fP\fB, png_charp \fP\fIkey\fP\fB, png_charp \fP\fItext\fP\fB, png_size_t \fItext_len\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600473
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500474\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600475
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500476\fBvoid png_write_tIME (png_structp \fP\fIpng_ptr\fP\fB, png_timep \fImod_time\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600477
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500478\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600479
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500480\fBvoid png_write_tRNS (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fItrans\fP\fB, png_color_16p \fP\fIvalues\fP\fB, int \fP\fInumber\fP\fB, int \fIcolor_type\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600481
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500482\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600483
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500484\fBvoid png_write_zTXt (png_structp \fP\fIpng_ptr\fP\fB, png_charp \fP\fIkey\fP\fB, png_charp \fP\fItext\fP\fB, png_size_t \fP\fItext_len\fP\fB, int \fIcompression\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600485
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500486\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600487
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500488\fBvoidpf png_zalloc (voidpf \fP\fIpng_ptr\fP\fB, uInt \fP\fIitems\fP\fB, uInt \fIsize\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600489
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500490\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600491
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500492\fBvoid png_zfree (voidpf \fP\fIpng_ptr\fP\fB, voidpf \fIptr\fP\fB);\fP
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600493
Glenn Randers-Pehrson4393a9a1999-09-17 12:27:26 -0500494\fI\fB
Glenn Randers-Pehrsoncbe52d81998-02-28 07:00:24 -0600495
496.SH DESCRIPTION
497The functions listed above are used privately by libpng
498and are not recommended for use by applications. They
499are listed alphabetically here as an aid to libpng maintainers.
500See png.h for more information on these functions.
501
502.SH SEE ALSO
503libpng(3), png(5)
504.SH AUTHOR
505Glenn Randers-Pehrson