libpngpf.3 revision 13623
10139N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc.
10139N/ACopyright (c) 1998 Addison Wesley Longman, Inc.
10139N/A All Rights Reserved.">
10139N/A<!ENTITY cmd "libpngpf">
10139N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
10139N/A%commonents;
10139N/A<!ENTITY % gnomecommonents SYSTEM "gnomecommon.ent">
10139N/A%gnomecommonents;
10139N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
10139N/A%booktitles;
10139N/A]>
10139N/A<?Pub UDT _bookmark _target>
10139N/A<?Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip
10139N/A laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen lt gt minus
10139N/A equals bsol sol amp>
10139N/A<?Pub Inc>
10139N/A<refentry id="libpngpf-3">
10139N/A<!-- %Z%%M% %I% %E% SMI; -->
11965N/A<refmeta><refentrytitle>libpngpf</refentrytitle><manvolnum>3</manvolnum>
10139N/A<refmiscinfo class="date">26 Mar 2004</refmiscinfo>
10139N/A<refmiscinfo class="sectdesc">&man3;</refmiscinfo>
10139N/A<refmiscinfo class="software">&release;</refmiscinfo>
10139N/A<refmiscinfo class="arch">generic</refmiscinfo>
10139N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
10139N/A</refmeta>
10139N/A<indexterm><primary>libpngpf</primary></indexterm><indexterm><primary>Portable
10139N/ANetwork Graphics (PNG) Reference Library 1.0.12 (private functions)</primary>
10139N/A</indexterm>
10139N/A<refnamediv id="libpngpf-3-name"><refname>libpng</refname><refpurpose>Portable
10139N/ANetwork Graphics (PNG) Reference Library 1.0.12 (private functions)</refpurpose>
10139N/A</refnamediv>
10139N/A<refsect1 id="libpngpf-3-synp"><title>&synp-tt;</title>
10139N/A<programlisting>#include &lt;png.h>
10139N/A
10139N/Acc [ flag ...] -I/usr/sfw/include file [ library ... ] -
10139N/AL/usr/sfw/lib -R/usr/sfw/lib -lpng
10139N/A
10139N/Avoid png_build_gamma_table (png_structp png_ptr);
10139N/A
10139N/Avoid png_build_grayscale_palette (int bit_depth, png_colorp
10139N/Apalette);
10139N/A
10139N/Avoid png_calculate_crc (png_structp png_ptr, png_bytep ptr,
10139N/Apng_size_t length);
10139N/A
10139N/Avoid png_check_chunk_name (png_structp png_ptr, png_bytep
10139N/Achunk_name);
10139N/A
10139N/Apng_size_t png_check_keyword (png_structp png_ptr, png_charp
10139N/Akey, png_charpp new_key);
10139N/A
10139N/Avoid png_combine_row (png_structp png_ptr, png_bytep row,
10139N/Aint mask);
10139N/A
10139N/Avoid png_correct_palette (png_structp png_ptr, png_colorp
10139N/Apalette, int num_palette);
10139N/A
10139N/Aint png_crc_error (png_structp png_ptr);
10139N/A
10139N/Aint png_crc_finish (png_structp png_ptr, png_uint_32 skip);
10139N/A
10139N/Avoid png_crc_read (png_structp png_ptr, png_bytep buf,
10139N/Apng_size_t length);
10139N/A
10139N/Apng_voidp png_create_struct (int type, png_malloc_ptr
11904N/Amalloc_fn);
10139N/A
10139N/Apng_voidp png_create_struct_2 (int type);
10139N/A
10139N/Apng_charp png_decompress_chunk (png_structp png_ptr, int
10139N/Acomp_type, png_charp chunkdata, png_size_t chunklength,
10139N/Apng_size_t prefix_length, png_size_t *data_length);
10139N/A
10139N/Avoid png_destroy_struct (png_voidp struct_ptr);
10139N/A
10139N/Avoid png_destroy_struct_2 (png_voidp struct_ptr,
10139N/Apng_free_ptr free_fn);
10139N/A
10139N/Avoid png_do_background (png_row_infop row_info, png_bytep
10139N/Arow, png_color_16p trans_values, png_color_16p background,
10139N/Apng_color_16p background_1, png_bytep gamma_table, png_bytep
10139N/Agamma_from_1, png_bytep gamma_to_1, png_uint_16pp gamma_16,
10139N/Apng_uint_16pp gamma_16_from_1, png_uint_16pp gamma_16_to_1,
10139N/Aint gamma_shift);
10139N/A
10139N/Avoid png_do_bgr (png_row_infop row_info, png_bytep row);
10139N/A
10139N/Avoid png_do_chop (png_row_infop row_info, png_bytep row);
10139N/A
10139N/Avoid png_do_dither (png_row_infop row_info, png_bytep row,
10139N/Apng_bytep palette_lookup, png_bytep dither_lookup);
10139N/A
10139N/Avoid png_do_expand (png_row_infop row_info, png_bytep row,
10139N/A
10139N/Apng_color_16p trans_value);
10139N/A
10139N/Avoid png_do_expand_palette (png_row_infop row_info,
10139N/Apng_bytep row, png_colorp palette, png_bytep trans, int
10139N/Anum_trans);
10139N/A
10139N/Avoid png_do_gamma (png_row_infop row_info, png_bytep row,
10139N/Apng_bytep gamma_table, png_uint_16pp gamma_16_table, int
10139N/Agamma_shift);
10139N/A
10139N/Avoid png_do_gray_to_rgb (png_row_infop row_info, png_bytep
10139N/Arow);
10139N/A
10139N/Avoid png_do_invert (png_row_infop row_info, png_bytep row);
10139N/A
10139N/Avoid png_do_pack (png_row_infop row_info, png_bytep row,
10139N/Apng_uint_32 bit_depth);
10139N/A
10139N/Avoid png_do_packswap (png_row_infop row_info, png_bytep
10139N/Arow);
10139N/A
10139N/Avoid png_do_read_filler (png_row_infop row_info, png_bytep
10139N/Arow, png_uint_32 filler, png_uint_32 flags);
10139N/A
10139N/Avoid png_do_read_interlace (png_row_infop row_info,
10139N/Apng_bytep row, int pass, png_uint_32 transformations);
10139N/A
10139N/Avoid png_do_read_invert_alpha (png_row_infop row_info,
10139N/Apng_bytep row);
10139N/A
10139N/Avoid png_do_read_swap_alpha (png_row_infop row_info,
10139N/Apng_bytep row);
10139N/A
10139N/Avoid png_do_read_transformations (png_structp png_ptr);
10139N/A
10139N/Aint png_do_rgb_to_gray (png_row_infop row_info, png_bytep
10139N/Arow);
10139N/A
10139N/Avoid png_do_shift (png_row_infop row_info, png_bytep row,
10139N/Apng_color_8p bit_depth);
10139N/A
10139N/Avoid png_do_strip_filler (png_row_infop row_info, png_bytep
10139N/Arow, png_uint_32 flags);
10139N/A
10139N/Avoid png_do_swap (png_row_infop row_info, png_bytep row);
10139N/A
10139N/Avoid png_do_unpack (png_row_infop row_info, png_bytep row);
10139N/A
10139N/Avoid png_do_unshift (png_row_infop row_info, png_bytep row,
10139N/Apng_color_8p sig_bits);
10139N/A
10139N/Avoid png_do_write_interlace (png_row_infop row_info,
10139N/Apng_bytep row, int pass);
10139N/A
10139N/Avoid png_do_write_invert_alpha (png_row_infop row_info,
10139N/Apng_bytep row);
10139N/A
10139N/Avoid png_do_write_swap_alpha (png_row_infop row_info,
10139N/Apng_bytep row);
10139N/A
10139N/Avoid png_do_write_transformations (png_structp png_ptr);
10139N/A
10139N/Avoid *png_far_to_near (png_structp png_ptr,png_voidp ptr,
10139N/Aint check);
10139N/A
10139N/Avoid png_flush (png_structp png_ptr);
10139N/A
10139N/Apng_int_32 png_get_int_32 (png_bytep buf);
10139N/A
10139N/Apng_uint_16 png_get_uint_16 (png_bytep buf);
10139N/A
10139N/Apng_uint_32 png_get_uint_32 (png_bytep buf);
10139N/A
10139N/Aint png_handle_as_unknown (png_structp png_ptr, png_bytep
10139N/Achunk_name);
10139N/A
10139N/Avoid png_handle_bKGD (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_cHRM (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_gAMA (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_hIST (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_IEND (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_IHDR (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_iCCP (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_iTXt (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_oFFs (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_pCAL (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_pHYs (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_PLTE (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_sBIT (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_sCAL (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_sPLT (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_sRGB (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_tEXt (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_tIME (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_tRNS (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_unknown (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_handle_zTXt (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_info_destroy (png_structp png_ptr, png_infop
10139N/Ainfo_ptr);
10139N/A
10139N/Avoid png_init_read_transformations (png_structp png_ptr);
10139N/A
10139N/Avoid png_process_IDAT_data (png_structp png_ptr, png_bytep
10139N/Abuffer, png_size_t buffer_length);
10139N/A
10139N/Avoid png_process_some_data (png_structp png_ptr, png_infop
10139N/Ainfo_ptr);
10139N/A
10139N/Avoid png_push_check_crc (png_structp png_ptr);
10139N/A
10139N/Avoid png_push_crc_finish (png_structp png_ptr);
10139N/A
10139N/Avoid png_push_crc_skip (png_structp png_ptr, png_uint_32
10139N/Alength);
10139N/A
10139N/Avoid png_push_fill_buffer (png_structp png_ptr, png_bytep
10139N/Abuffer, png_size_t length);
10139N/A
10139N/Avoid png_push_handle_tEXt (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_push_handle_unknown (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_push_handle_zTXt (png_structp png_ptr, png_infop
10139N/Ainfo_ptr, png_uint_32 length);
10139N/A
10139N/Avoid png_push_have_end (png_structp png_ptr, png_infop
10139N/Ainfo_ptr);
10139N/A
10139N/Avoid png_push_have_info (png_structp png_ptr, png_infop
10139N/Ainfo_ptr);
10139N/A
10139N/Avoid png_push_have_row (png_structp png_ptr, png_bytep row);
10139N/A
10139N/Avoid png_push_process_row (png_structp png_ptr);
10139N/A
10139N/Avoid png_push_read_chunk (png_structp png_ptr, png_infop
10139N/Ainfo_ptr);
10139N/A
10139N/Avoid png_push_read_end (png_structp png_ptr, png_infop
10139N/Ainfo_ptr);
10139N/A
10139N/Avoid png_push_read_IDAT (png_structp png_ptr);
10139N/A
10139N/Avoid png_push_read_sig (png_structp png_ptr, png_infop
10139N/Ainfo_ptr);
10139N/A
10139N/Avoid png_push_read_tEXt (png_structp png_ptr, png_infop
10139N/Ainfo_ptr);
10139N/A
10139N/Avoid png_push_read_zTXt (png_structp png_ptr, png_infop
10139N/Ainfo_ptr);
10139N/A
10139N/Avoid png_push_restore_buffer (png_structp png_ptr, png_bytep
10139N/Abuffer, png_size_t buffer_length);
10139N/A
10139N/Avoid png_push_save_buffer (png_structp png_ptr);
10139N/A
10139N/Avoid png_read_data (png_structp png_ptr, png_bytep data,
10139N/Apng_size_t length);
10139N/A
10139N/Avoid png_read_filter_row (png_structp png_ptr, png_row_infop
10139N/Arow_info, png_bytep row, png_bytep prev_row, int filter);
10139N/A
10139N/Avoid png_read_finish_row (png_structp png_ptr);
10139N/A
10139N/Avoid png_read_push_finish_row (png_structp png_ptr);
10139N/A
10139N/Avoid png_read_start_row (png_structp png_ptr);
10139N/A
10139N/Avoid png_read_transform_info (png_structp png_ptr, png_infop
10139N/Ainfo_ptr);
10139N/A
10139N/Avoid png_reset_crc (png_structp png_ptr);
10139N/A
10139N/Avoid png_save_int_32 (png_bytep buf, png_int_32 i);
10139N/A
10139N/Avoid png_save_uint_16 (png_bytep buf, unsigned int i);
10139N/A
10139N/Avoid png_save_uint_32 (png_bytep buf, png_uint_32 i);
10139N/A
10139N/Avoid png_write_bKGD (png_structp png_ptr, png_color_16p
10139N/Avalues, int color_type);
10139N/A
10139N/Avoid png_write_cHRM (png_structp png_ptr, double white_x,
10139N/Adouble white_y, double red_x, double red_y, double green_x,
10139N/Adouble green_y, double blue_x, double blue_y);
10139N/A
10139N/Avoid png_write_cHRM_fixed (png_structp png_ptr, png_uint_32
10139N/Awhite_x, png_uint_32 white_y, png_uint_32 red_x, png_uint_32
10139N/Ared_y, png_uint_32 green_x, png_uint_32 green_y, png_uint_32
10139N/Ablue_x, png_uint_32 blue_y);
10139N/A
10139N/Avoid png_write_data (png_structp png_ptr, png_bytep data,
10139N/Apng_size_t length);
10139N/A
10139N/Avoid png_write_filtered_row (png_structp png_ptr, png_bytep
10139N/Afiltered_row);
10139N/A
10139N/Avoid png_write_find_filter (png_structp png_ptr,
10139N/Apng_row_infop row_info);
10139N/A
10139N/Avoid png_write_finish_row (png_structp png_ptr);
10139N/A
10139N/Avoid png_write_gAMA (png_structp png_ptr, double
10139N/Afile_gamma);
10139N/A
10139N/Avoid png_write_gAMA_fixed (png_structp png_ptr, png_uint_32
10139N/Aint_file_gamma);
10139N/A
10139N/Avoid png_write_hIST (png_structp png_ptr, png_uint_16p hist,
10139N/Aint num_hist);
10139N/A
10139N/Avoid png_write_iCCP (png_structp png_ptr, png_charp name,
10139N/Aint compression_type, png_charp profile, int proflen);
10139N/A
10139N/Avoid png_write_IDAT (png_structp png_ptr, png_bytep data,
10139N/Apng_size_t length);
10139N/A
10139N/Avoid png_write_IEND (png_structp png_ptr);
10139N/A
10139N/Avoid png_write_IHDR (png_structp png_ptr, png_uint_32 width,
10139N/Apng_uint_32 height, int bit_depth, int color_type, int
10139N/Acompression_type, int filter_type, int interlace_type);
10139N/A
10139N/Avoid png_write_iTXt (png_structp png_ptr, int compression,
10139N/Apng_charp key, png_charp lang, png_charp translated_key,
10139N/Apng_charp text));
10139N/A
10139N/Avoid png_write_oFFs (png_structp png_ptr, png_uint_32
10139N/Ax_offset, png_uint_32 y_offset, int unit_type);
10139N/A
10139N/Avoid png_write_pCAL (png_structp png_ptr, png_charp purpose,
10139N/Apng_int_32 X0, png_int_32 X1, int type, int nparams,
10139N/Apng_charp units, png_charpp params);
10139N/A
10139N/Avoid png_write_pHYs (png_structp png_ptr, png_uint_32
10139N/Ax_pixels_per_unit, png_uint_32 y_pixels_per_unit, int
10139N/Aunit_type);
10139N/A
10139N/Avoid png_write_PLTE (png_structp png_ptr, png_colorp
10139N/Apalette, png_uint_32 num_pal);
10139N/A
10139N/Avoid png_write_sBIT (png_structp png_ptr, png_color_8p sbit,
10139N/Aint color_type);
10139N/A
10139N/Avoid png_write_sCAL (png_structp png_ptr, png_charp unit,
10139N/Adouble width, double height);
10139N/A
10139N/Avoid png_write_sCAL_s (png_structp png_ptr, png_charp unit,
10139N/Apng_charp width, png_charp height);
10139N/A
10139N/Avoid png_write_sig (png_structp png_ptr);
10139N/A
10139N/Avoid png_write_sRGB (png_structp png_ptr, int intent);
10139N/A
10139N/Avoid png_write_sPLT (png_structp png_ptr, png_spalette_p
10139N/Apalette);
10139N/A
10139N/Avoid png_write_start_row (png_structp png_ptr);
10139N/A
10139N/Avoid png_write_tEXt (png_structp png_ptr, png_charp key,
10139N/Apng_charp text, png_size_t text_len);
10139N/A
10139N/Avoid png_write_tIME (png_structp png_ptr, png_timep
10139N/Amod_time);
10139N/A
10139N/Avoid png_write_tRNS (png_structp png_ptr, png_bytep trans,
10139N/Apng_color_16p values, int number, int color_type);
10139N/A
10139N/Avoid png_write_zTXt (png_structp png_ptr, png_charp key,
10139N/Apng_charp text, png_size_t text_len, int compression);
10139N/A
10139N/Avoidpf png_zalloc (voidpf png_ptr, uInt items, uInt size);
10139N/A
10139N/Avoid png_zfree (voidpf png_ptr, voidpf ptr);
10139N/A
10139N/A</programlisting>
10139N/A</refsect1>
10139N/A<refsect1 id="libpngpf-3-desc"><title>&desc-tt;</title>
10139N/A<para>The functions listed above are used privately by <filename>libpng</filename>
10139N/Aand are not recommended for use by applications. The functions are listed
10139N/Aalphabetically here as an aid to <filename>libpng</filename> maintainers.
10139N/ASee <filename>png.h</filename> for more information about these functions.
10139N/A</para>
10139N/A</refsect1>
10139N/A<refsect1 id="libpngpf-3-attr"><title>&attr-tt;</title>
10139N/A<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
10139N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
10139N/Afor descriptions of the following attributes:</para>
10139N/A<informaltable frame="all">
10139N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
10139N/A<colspec colname="COLSPEC1" colwidth="1*">
10139N/A<thead>
10139N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
10139N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
10139N/A</thead>
10139N/A<tbody>
10139N/A<row><entry><para>Availability</para></entry><entry><para>SUNWpng</para></entry>
10139N/A</row>
10139N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
13623N/Acolname="COLSPEC1"><para>Uncommitted</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A</refsect1>
10139N/A<refsect1 id="libpngpf-3-also"><title>&also-tt;</title>
10139N/A<!--Reference to another man page-->
10139N/A<!--Reference to a Help manual-->
10139N/A<!--Reference to a book.-->
11904N/A<para>
11904N/A<citerefentry><refentrytitle>libpng</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
11904N/A<citerefentry><refentrytitle>png</refentrytitle><manvolnum>4</manvolnum></citerefentry>,
11904N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
11904N/A</para>
10139N/A</refsect1>
10139N/A<refsect1 id="libpngpf-3-note"><title>&note-tt;</title>
10139N/A<para>This man page was originally written by Glenn Randers-Pehrson. Updated
10139N/Aby Breda McColgan, Sun Microsystems Inc., 2004.</para>
10139N/A</refsect1>
10139N/A</refentry>