# PaCkAgE DaTaStReAm libpng 1 1788 # end of header 070701000a9790000081a40000000000000000000000014cc10e4800000136000000b600010002ffffffffffffffff0000000f00000000libpng/pkginfoPKG=libpng NAME=libpng 1.4.3 i86pc Solaris 11 VERSION=1.4.3 PSTAMP=22nd October 2010 VENDOR=Guy Eric Schalnat, Andreas Dilger, Glenn Randers-Pehrson EMAIL=http://www.libpng.org/pub/png/libpng.html DESC=PNG reference library ARCH=i386 CATEGORY=utility CLASSES=none BASEDIR=/ ISTATES=S s 1 2 3 RSTATES=S s 1 2 3 070701000a978f000081a40000000000000000000000014cc10e4800000703000000b600010002ffffffffffffffff0000000e00000000libpng/pkgmap: 1 1788 1 d none /usr ? ? ? 1 d none /usr/local ? ? ? 1 d none /usr/local/bin 0755 root root 1 s none /usr/local/bin/libpng-config=libpng14-config 1 f none /usr/local/bin/libpng14-config 0755 root root 2305 40022 1287720143 1 d none /usr/local/include 0755 root root 1 d none /usr/local/include/libpng14 0755 root root 1 f none /usr/local/include/libpng14/png.h 0644 root root 118986 11383 1287720143 1 f none /usr/local/include/libpng14/pngconf.h 0644 root root 46138 26497 1287720143 1 s none /usr/local/include/png.h=libpng14/png.h 1 s none /usr/local/include/pngconf.h=libpng14/pngconf.h 1 d none /usr/local/lib 0755 root root 1 s none /usr/local/lib/libpng.a=libpng14.a 1 s none /usr/local/lib/libpng.la=libpng14.la 1 s none /usr/local/lib/libpng.so=libpng14.so 1 f none /usr/local/lib/libpng14.a 0644 root root 248692 44713 1287720143 1 f none /usr/local/lib/libpng14.la 0755 root root 977 19175 1287720143 1 s none /usr/local/lib/libpng14.so=libpng14.so.14.3.0 1 s none /usr/local/lib/libpng14.so.14=libpng14.so.14.3.0 1 f none /usr/local/lib/libpng14.so.14.3.0 0755 root root 240560 56632 1287720143 1 d none /usr/local/lib/pkgconfig 0755 root root 1 s none /usr/local/lib/pkgconfig/libpng.pc=libpng14.pc 1 f none /usr/local/lib/pkgconfig/libpng14.pc 0644 root root 245 21929 1287720143 1 d none /usr/local/share 0755 root root 1 d none /usr/local/share/man 0755 root root 1 d none /usr/local/share/man/man3 0755 root root 1 f none /usr/local/share/man/man3/libpng.3 0644 root root 178827 7991 1287720143 1 f none /usr/local/share/man/man3/libpngpf.3 0644 root root 18924 60136 1287720143 1 d none /usr/local/share/man/man5 0755 root root 1 f none /usr/local/share/man/man5/png.5 0644 root root 2378 5257 1287720143 1 i checkinstall 790 2505 1287720540 1 i pkginfo 310 24506 1287720520 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!070701000a9790000081a40000000000000000000000014cc10e4800000136000000b600010002ffffffffffffffff0000000800000000pkginfoPKG=libpng NAME=libpng 1.4.3 i86pc Solaris 11 VERSION=1.4.3 PSTAMP=22nd October 2010 VENDOR=Guy Eric Schalnat, Andreas Dilger, Glenn Randers-Pehrson EMAIL=http://www.libpng.org/pub/png/libpng.html DESC=PNG reference library ARCH=i386 CATEGORY=utility CLASSES=none BASEDIR=/ ISTATES=S s 1 2 3 RSTATES=S s 1 2 3 070701000a978f000081a40000000000000000000000014cc10e4800000703000000b600010002ffffffffffffffff0000000700000000pkgmap: 1 1788 1 d none /usr ? ? ? 1 d none /usr/local ? ? ? 1 d none /usr/local/bin 0755 root root 1 s none /usr/local/bin/libpng-config=libpng14-config 1 f none /usr/local/bin/libpng14-config 0755 root root 2305 40022 1287720143 1 d none /usr/local/include 0755 root root 1 d none /usr/local/include/libpng14 0755 root root 1 f none /usr/local/include/libpng14/png.h 0644 root root 118986 11383 1287720143 1 f none /usr/local/include/libpng14/pngconf.h 0644 root root 46138 26497 1287720143 1 s none /usr/local/include/png.h=libpng14/png.h 1 s none /usr/local/include/pngconf.h=libpng14/pngconf.h 1 d none /usr/local/lib 0755 root root 1 s none /usr/local/lib/libpng.a=libpng14.a 1 s none /usr/local/lib/libpng.la=libpng14.la 1 s none /usr/local/lib/libpng.so=libpng14.so 1 f none /usr/local/lib/libpng14.a 0644 root root 248692 44713 1287720143 1 f none /usr/local/lib/libpng14.la 0755 root root 977 19175 1287720143 1 s none /usr/local/lib/libpng14.so=libpng14.so.14.3.0 1 s none /usr/local/lib/libpng14.so.14=libpng14.so.14.3.0 1 f none /usr/local/lib/libpng14.so.14.3.0 0755 root root 240560 56632 1287720143 1 d none /usr/local/lib/pkgconfig 0755 root root 1 s none /usr/local/lib/pkgconfig/libpng.pc=libpng14.pc 1 f none /usr/local/lib/pkgconfig/libpng14.pc 0644 root root 245 21929 1287720143 1 d none /usr/local/share 0755 root root 1 d none /usr/local/share/man 0755 root root 1 d none /usr/local/share/man/man3 0755 root root 1 f none /usr/local/share/man/man3/libpng.3 0644 root root 178827 7991 1287720143 1 f none /usr/local/share/man/man3/libpngpf.3 0644 root root 18924 60136 1287720143 1 d none /usr/local/share/man/man5 0755 root root 1 f none /usr/local/share/man/man5/png.5 0644 root root 2378 5257 1287720143 1 i checkinstall 790 2505 1287720540 1 i pkginfo 310 24506 1287720520 070701000a97a7000041ed0000000000000000000000024cc10e4800000000000000b600010002ffffffffffffffff0000000800000000install070701000a97a8000081ed0000000000000000000000014cc10e5c00000316000000b600010002ffffffffffffffff0000001500000000install/checkinstall#!/bin/sh # expected_bits="64" expected_release="5.11" expected_platform="i386" # release=`uname -r` platform=`uname -p` bits=`isainfo -b` # if [ ${platform} != ${expected_platform} ]; then echo "\n\n\n\tThis package must be installed on a ${expected_platform} architecture\n" echo "\tAborting installation.\n\n\n" exit 1 fi if [ ${release} != ${expected_release} ]; then echo "\n\n\n\tThis package must be installed on a ${expected_release} machine\n" echo "\tAborting installation.\n\n\n" exit 1 fi #if [ ${bits} != ${expected_bits} ]; then # echo "\n\n\n\tThis package must be installed on a ${expected_bits} bit machine\n" # echo "\tYour machine is running a ${bits} bit O.S. currently\n" # echo "\tAborting installation.\n\n\n" # exit 1 #fi exit 0 070701000a9791000041ed0000000000000000000000034cc10e4800000000000000b600010002ffffffffffffffff0000000500000000root070701000a9792000041ed0000000000000000000000034cc10e4800000000000000b600010002ffffffffffffffff0000000900000000root/usr070701000a9793000041ed0000000000000000000000064cc10e4800000000000000b600010002ffffffffffffffff0000000f00000000root/usr/local070701000a979a000041ed0000000000000000000000034cc10e4800000000000000b600010002ffffffffffffffff0000001300000000root/usr/local/lib070701000a979d000081ed0000000000000000000000014cc10ccf0003abb0000000b600010002ffffffffffffffff0000002600000000root/usr/local/lib/libpng14.so.14.3.0ELF44 ( o  !"#$%&'(*+,.0123679:<=?@ACEFHJLMPQRSUVXYZ^`abcdghijklmnostuwxyz}~  )-/458;>BDGIKNOTW[\]_efpqrv{|=0Y J Z j0/ z 0i P : `E   ` ` / N *0 : Jp Z0 j: z@ Я 2 C k   ` l 7 ` )0 <V X0B fЇ |  S  7 p/ p `G  N p_  $  7H I`~ ^0 w@uR P   p\ ^  } pJ 4 й . C X O oPC\  z 4 4y   0*( i 0 @P Sm _P{ k  w @' z `  qq  |<  б -5 @ S ei v l p pH _6  ~6 o( =  @] U 5x; O@n aG p> 07' 4 F  PP  `9 N pL1 O @/  `IZ  5 $ `B 3 `3 B ` Q @;@ ` @ o K ~ 0  2v ) _? M 0q  r  5 ( ' : |  M `Q a c s J Y !-3<EP \grp#{ '$  pb Pn +6 e ` M mP Шy g  q " `5 ; x H 5 ` % x   З1 @_ `-  `   7  " 0) >  K + ` l8 s 3 - g  ~\ /  w    - % @: 4 % K ` X [ s ` 7 4 o p7 G 0/ Ё: | \ *C 8t HOq X gmp9 "  m : 7 6 0a T !? /l8 Ac NY- q  ] P4 j" > @\  4 P l 09 B5 Yp: j z  W O p3 p   ` PW   $] 07BpS O 5 fdV "i W Pt] + 9 (  ` 3@l8 FS SZw m` {09 < w5   n `[ 9   [ y /t D4 ap - r s   5 S:  % ,Py <PW IMU`!g e v 1 ` tE _  @G p]o  !Ц .5b  CB [p h+ yPO  @" Y  J ] [ '< 4`4 PP[ kp3  ! O l8 3 ~ 0 (  E 003 Ds- ]@b lPy } O }N `5 zV 9 i ` ` `| Pp -S :1 P JQa| a4 {p W Т [ @ PsJ pJ #f !j, 8+ L" d; w0e pj- 4  N G .libs/libpng14.so.14.3.0crti.svalues-Xa.cpng.cpngset.cpngget.cpngrutil.cpng_inflatepngtrans.cpngwutil.cpng_text_compresspng_write_compressed_data_outpngread.cpngrio.cpngwio.cpngwrite.cpngrtran.cpngwtran.cpngmem.cpngerror.cpng_default_errorpng_default_warningpng_format_bufferpngpread.ccrtn.spng_crc_readpng_handle_pCALpng_handle_pHYspng_handle_sBITpng_handle_sCALpng_handle_tRNSpng_handle_sPLTpng_handle_sRGBpng_handle_tIMEpng_handle_tEXtpng_handle_zTXtpng_handle_PLTEpng_handle_cHRMpng_handle_bKGDpng_handle_gAMApng_handle_iCCPpng_handle_hISTpng_handle_iTXtpng_handle_oFFspng_handle_IHDRpng_handle_IENDpng_crc_error_fini_initpng_read_finish_rowpng_do_unshiftpng_do_write_transformationspng_read_datapng_default_read_datapng_crc_finishpng_calculate_crcpng_do_read_fillerpng_do_read_transformationspng_do_unpackpng_process_some_datapng_set_text_2png_do_expandpng_do_gray_to_rgbpng_do_invertpng_combine_rowpng_do_shiftpng_do_gammapng_do_strip_fillerpng_do_expand_palettepng_build_gamma_tablepng_read_start_rowpng_default_flushpng_destroy_struct_2png_read_push_finish_rowpng_do_write_swap_alphapng_do_bgrpng_write_destroypng_push_process_rowpng_do_quantizepng_zallocpng_create_struct_2png_push_have_infopng_process_IDAT_datapng_push_handle_iTXtpng_push_handle_tEXtpng_push_handle_zTXtpng_do_read_swap_alphapng_check_keywordpng_push_read_chunkpng_do_write_intrapixelpng_do_read_invert_alphapng_write_gAMA_fixedpng_read_transform_infopng_read_filter_rowpng_do_backgroundpng_do_read_intrapixelpng_do_packswappng_handle_unknownpng_do_packpng_do_swappng_do_choppng_push_crc_finishpng_push_handle_unknownpng_decompress_chunkpng_check_chunk_namepng_write_filtered_rowpng_read_destroypng_create_structpng_push_read_IDATpng_push_read_tEXtpng_push_read_zTXtpng_push_read_iTXtpng_push_read_sigpng_info_destroypng_do_read_interlacepng_default_write_datapng_read_chunk_headerpng_flushpng_zfreepng_destroy_structpng_check_cHRM_fixedpng_write_cHRM_fixedpng_write_find_filterpng_write_finish_rowpng_do_write_invert_alphapng_64bit_productpng_write_zTXtpng_write_tRNSpng_write_sPLTpng_write_sRGBpng_write_tEXtpng_write_tIMEpng_write_sBITpng_write_sCALpng_write_pCALpng_write_pHYspng_write_PLTEpng_write_iTXtpng_write_iCCPpng_write_hISTpng_write_gAMApng_write_datapng_write_cHRMpng_write_bKGDpng_write_oFFspng_write_IDATpng_write_IENDpng_write_IHDRpng_reset_crcpng_push_restore_bufferpng_check_IHDRpng_init_read_transformationspng_push_fill_bufferpng_push_save_bufferpng_push_crc_skippng_do_rgb_to_graypng_write_start_rowpng_push_have_rowpng_push_have_endpng_do_write_interlacepng_chunk_errorpng_get_cHRMpng_start_read_imagepng_reset_zstreampng_get_textpng_set_compression_methodpng_set_rgb_to_gray_fixedpng_get_chunk_malloc_maxpng_set_gAMApng_get_user_height_maxpng_set_write_status_fnmemcmpgmtimepng_set_user_limitspng_destroy_read_structpng_write_rowpng_set_write_fnpng_set_rgb_to_graypng_get_io_chunk_namefreadpng_create_write_struct_2strlenpng_build_grayscale_palettepng_get_tRNSpng_set_invert_alphapng_get_header_verpng_get_signaturepng_get_user_transform_ptrpng_get_pixels_per_meterpng_set_read_fnpng_callocpng_set_tRNS_to_alphadeflateResetpng_write_rowspng_read_endpng_get_error_ptrpng_set_expandpng_set_read_status_fnpng_set_rowspng_get_x_pixels_per_meterpng_write_pngpng_set_swappng_set_error_fnpng_malloc_defaultpng_get_validpng_set_interlace_handlingpng_set_gray_to_rgbpng_set_mem_fnpng_set_IHDRpng_set_unknown_chunk_locationpng_read_rowspng_write_flushfwritepng_freepng_read_imagecrc32png_get_interlace_typepng_set_unknown_chunkspng_handle_as_unknownpng_set_palette_to_rgbpng_get_rowsfabspng_get_rgb_to_gray_statuspng_destroy_info_structmemcpypng_get_iCCPpng_set_flushpng_get_copyrightpng_get_PLTEinflateEndpng_get_progressive_ptrpng_set_filter_heuristicspng_set_sBITpng_set_compression_mem_levelpng_init_iopng_get_IHDRpng_errorpng_set_write_user_transform_fnpng_set_sRGB_gAMA_and_cHRMpng_set_progressive_read_fnpng_get_bit_depthpng_get_user_width_maxpng_set_packswappng_get_uint_31abort_DYNAMICpng_write_imagepng_set_add_alphapng_save_uint_32png_set_PLTEpng_mallocpng_set_tRNSpng_get_pixel_aspect_ratiopng_set_textpng_get_sRGBpng_write_sigpng_sig_cmpfflushdeflateEndpng_get_sBITpng_get_user_chunk_ptr_PROCEDURE_LINKAGE_TABLE_png_write_chunk_datapng_get_gAMA_fixedpng_set_bKGDpng_set_swap_alphainflateInit_png_get_color_typepng_set_invert_monofprintfpng_set_crc_actionpng_set_keep_unknown_chunkspng_get_libpng_verpng_get_hIST_etextpng_set_cHRM_fixedpng_set_shiftpng_get_filter_typepng_set_filterpng_read_infopng_access_version_numbermemsetpng_get_y_offset_micronspng_get_channelspng_read_rowpng_get_y_offset_pixelspng_set_gAMA_fixedpng_read_update_infopng_set_compression_strategypng_save_uint_16png_set_compression_buffer_sizedeflatedeflateInit2_png_set_sPLTpng_set_compression_window_bitspng_get_chunk_cache_maxpng_set_expand_gray_1_2_4_to_8png_set_backgroundpng_read_pngpng_malloc_warnpng_get_tIMEpow__xtoulpng_write_chunkpng_get_io_statepng_set_read_user_chunk_fnpng_set_fillerpng_set_cHRMpng_write_end_GLOBAL_OFFSET_TABLE_png_get_pCALpng_convert_from_time_tpng_set_sig_bytesinflateResetpng_warningpng_get_sCAL__xtolpng_free_datapng_permit_mng_featurespng_set_tIMEpng_set_strip_16png_get_sPLTlongjmppng_get_cHRM_fixedsnprintfpng_set_chunk_malloc_maxpng_set_quantizestrtodpng_create_write_structpng_convert_from_struct_tmpng_get_x_offset_micronspng_set_sRGBpng_set_user_transform_infopng_get_y_pixels_per_meterpng_get_image_height__iobpng_progressive_combine_rowpng_write_chunk_startpng_get_unknown_chunkspng_get_header_versionpng_get_rowbytespng_set_pCALpng_get_mem_ptrpng_set_bgrpng_set_packingpng_get_image_widthpng_create_read_struct_2png_data_freerpng_process_datapng_save_int_32png_set_oFFspng_get_compression_buffer_sizepng_set_hISTpng_get_compression_typepng_set_sCALpng_get_pHYspng_write_infopng_create_info_structpng_set_iCCPpng_get_bKGDpng_set_invalidsetjmppng_info_init_3png_set_compression_levelpng_set_gamma_edatapng_get_gAMApng_write_info_before_PLTEpng_get_x_offset_pixelspng_get_oFFspng_create_read_structpng_destroy_write_structpng_write_chunk_endpng_convert_to_rfc1123png_set_strip_alphapng_set_chunk_cache_maxpng_set_longjmp_fnpng_chunk_warningpng_get_io_ptrpng_set_read_user_transform_fnpng_set_pHYspng_free_defaultlibpng14.so.14libm.so.2SUNW_1.1libc.so.1SUNWprivate_1.1SYSVABI_1.3libz.so/usr/local/lib:/lib:/usr/lib '= '= qN 7$l  =8_} kqaBZ|Yfa 8"fd[hPl%D)C6&n~JZ_TgSOw!mHu Fx;@i1Xe+5]P   JQ)[F/]^7 (LI,4Qc%4W {|qz{uDjsimwbhxt@kgryonpldcRy`# S/v\^0vj9N<Mz5r$*.E}Ks-E"#M?C!'G+-&7.HK*3eBT9`1o0\?b$YAN~U;62=V>W<XO:V: (,08<@DHLPTX\`dhlptx|  $(,048<DTX\`dhlptx  $,048<@DHLPX\`dhlpx|  $,048<DHLTX\`dhlptx|  (048<@DHLPT\`dlptx|  $(,048<DHLPTX\`dhlptx|  $(,048<@DHLPTXdhlptx|  $,48<@HLTXhlp  $(,<DHLPTX\`dhlptx| O 68 |$4B v@VHLPC|1\pK(QTt^k(@P<:i[$,!Xh@4W0+mc\`.HzU-%ofwl*/7#(50dDbP\ `dtxJ|eY?0]48,@hh h$h(h ,h(0h04h8p<h@`HhHPXhP@hX0h` hhhphxh hh4h8hdhlhphpth`hPh@h0 h Lhxhhhhhhh 8h(Lh0dh8pth@`hHPhP@ hX04h` 8hh<hp@hxHhPh|hhhhdhhph`hPh@h0h hhhhhhhh h(h0h8ph@`hHPhP@hX0h` hh hphxhhh h$h(h,h4hpLh`ThPhh@th0h hhhhhhhh h(h0h8p h@`hHP4hP@ThX0Xh` \hhdhpU ]ZUcڋEu?E ~ PEPE } EE EUE]ÐU]ZUڋBEBEBEBEBEBEBEBEEv EEs EKE v E7E Ev E ؃EMM U EPDPQ EE]ÐU]ZUڋEEE@XEEu Eq+uU ;vPEPoEAE EEEPXEPXEPEPGEEUPXEEE]ÐU]ZUSڋE PEP]ÐU]ZUjjj ЋE]ÐU ]ZUӔEE tE@X%=uEE@X%tEEt%UEPE PP6 ЋE]ÐU]ZU#ڋEu EBUE(P,Pj! EEth EPEEE]ÐU ]ZUEEuUE t E @EEt:EPEPVUE(P0PEP E @]ÐU ]ZUڋE@EEuCE = s&jEPjjEEUPh jEP ]ÐU]ZUڋEtE uXEuE UE 8EuE Uҋ#ʋE 8PEP]U]uZUڋEtE uE%@U #EtzE @8tmM U+A8DtKM U+A8DPEP2M U+A8DhEE U;P0}/jjEPh@E PEP E@EE U;P0|ыE @8PEPE @8E @0E% U #t,E @LPEP~E @LE PE PE%U #tE PE PE%U #E PEP E PEPE ǀE ǀE EE U;}GE UPEPE UE@EE U;|E PEPVE ǀE PE PEU #tXE PEP E PEPE ǀE ǀE PE PE U # EE tlU EPEPzU EDPEPZU EU EDE ttEE U;}/jjEPj E PEP*E@EE U;|ыE PEPE ǀE ǀE PE PE\t#E\PEPoEǀ\E%U #EtYE tCE MFPEP E MFE twEE U;}2jjEPhE PEPE@EE U;|΋E PEP|E ǀE ǀEU #t,E @|PEP;E @|E P⿋E PE%U #t8E @PEPE @E PE PU fBE@U #E tvEE U;P}AE UPEPE UE@EE U;P|E PEPEE ǀE PE PEuE Uҋ#ʋE U E%߽Ћ#ЋE ]uÐU]ZUjjjhE PEPE t0EPEPwEǀEǀ h E Pl]U]Eu E E@@EE]ÐU]Eu EU P@]ÐUL]ZUڋEuEEujEPЋEEE@EE @ ‰EȋE @H ‰EЋDE؋E @EE @‰EE @<‰EE @=jPE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tE t E EEE]ÐU]Et3E t+E @ tEtE UZBE EE]ÐU]EE E @EtE ـEXEtE ـEXEtE ـEXEtE ـEXE tE ـE XE$tE ـE$XE(tE ـE(XE,tE ـE,XEEE]ÐU]EE E @EtE UBEtE UBEtE UBEtE U BE tE U BE$tE U$BE(tE U(BE,tE U,BEEE]ÐU]Et7E t/E @t!EtE @(EXE EE]ÐU]Et7E t/E @t!EtE UBEEE]ÐU]Et7E t/E @%tEtE P,EPEEE]ÐU]EtwE toE @%t_EtWEtOEtGE UBE UBE UBE EPEEE]ÐU]Et/E t'EtE UBE E EE]ÐU]Et3E t+E @@tEtE U@|BE@EE]ÐU,]ZUPڋEt(E t EtEtEtEuEE U@BE U@BE PEPE PEPE$t E PE$PE(t E PE(PE t E PE PE E؋E EE @EE @EE HE PE @jjPRQEPEPE@PE؋@PEP(EE]ÐU]Et_E tWE @%tGEt?Et7Et/E U@dBE U@hBE PlEPEEE]ÐU]EE E @%EEEEE E$tE(twE UBE UBE UBE EPE E PE U$BE U(BE EE]ÐU]EtcE t[E @%@tKE EPU MAAU MAAE@ EE]ÐU ]EEtvE tnE @%t^EtE U@pBE EEtE U@tBE EEtE PxEPE EEEE]ÐU]EtCE t;E @t-Et%E U@BE PEPE EE]ÐU]Et3E t+E @tEtE UDBEEE]ÐU]EtGE t?E @0~4Et E U@8BEt E U@0BE @0EEt E@EE]ÐU]Et7E t/E @%tEtE UEEEMEEU;EEE]ÐUP]ZUDEEU P`EUPdEUBlEUBpEj`PΦEEU+BpEEtEuUE~MEtE@TtPEPE tGE @t9E @%u)PEPEPEP^Et(PEP谚EPEP-jEPEP% jEPwtEEEMEEuPEP.E tXE @%tHE=ȯ| E=~4PEPEPRA P[ [E]E웋@]E]EUHE$E PEPrEPE PEPn ]ÐU]ZU7ڸEEEEEEEE@TuPEP\E@Tt*PEPEPEPE@TtPEP誘E t7E @t)PEP聘EPEPm/Eu E EEE;EuEv+PEP#EPEPEPEPEP jEPtEt6UEhUEiUEjUElAUEkU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?? @𿚙?j@??o@!BHPư>p@@O_@?@0123456789ABCDEFIHDRIDATIENDPLTEbKGDcHRMgAMAhISTiCCPiTXtoFFspCALpHYssBITsCALsRGBsPLTtEXttIMEtRNSzTXtIDAT3UToo many bytes for PNG signaturePotential overflow in png_zalloc()Unknown freer parameter in png_data_freer%d %s %d %02d:%02d:%02d +0000 libpng version 1.4.3 - June 26, 2010 Copyright (c) 1998-2010 Glenn Randers-Pehrson Copyright (c) 1996-1997 Andreas Dilger Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. 1.4.3 libpng version 1.4.3 - June 26, 2010 Ignoring attempt to set negative chromaticity valueIgnoring attempt to set chromaticity value exceeding 21474.83Invalid cHRM white pointInvalid cHRM red pointInvalid cHRM green pointInvalid cHRM blue pointIgnoring attempt to set cHRM RGB triangle with zero areaImage width is zero in IHDRImage height is zero in IHDRImage width exceeds user limit in IHDRImage height exceeds user limit in IHDRInvalid image width in IHDRInvalid image height in IHDRWidth is too large for libpng to process pixelsInvalid bit depth in IHDRInvalid color type in IHDRInvalid color type/bit depth combination in IHDRUnknown interlace method in IHDRUnknown compression method in IHDRMNG features are not allowed in a PNG datastreamUnknown filter method in IHDRInvalid filter method in IHDRInvalid IHDR dataLimiting gamma to 21474.83Setting gamma=0Setting negative gamma to zeroInvalid palette size, hIST allocation skippedInsufficient memory for hIST chunk dataInsufficient memory for pCAL purposeInsufficient memory for pCAL unitsInsufficient memory for pCAL paramsInsufficient memory for pCAL parameterInvalid palette lengthInsufficient memory to process iCCP chunkInsufficient memory to process iCCP profileInsufficient memory to store texttRNS chunk has out-of-range samples for bit_depthNo memory for sPLT palettesOut of memory while processing sPLT chunkOut of memory while processing unknown chunkPNG unsigned integer out of rangeCRC errorBuffer error in compressed datastream in %s chunkData error in compressed datastream in %s chunkIncomplete compressed datastream in %s chunkinvalid chunklengthExceeded size limit while expanding chunkpng_inflate logic errorNot enough memory to decompress chunkUnknown zTXt compression type %dOut of place IHDRInvalid IHDR chunkMissing IHDR before PLTEInvalid PLTE after IDATDuplicate PLTE chunkIgnoring PLTE chunk in grayscale PNGInvalid palette chunkTruncating incorrect tRNS chunk lengthTruncating incorrect info tRNS chunk lengthNo image in fileIncorrect IEND chunk lengthMissing IHDR before gAMAInvalid gAMA after IDATOut of place gAMA chunkDuplicate gAMA chunkIncorrect gAMA chunk lengthIgnoring gAMA chunk with gamma=0Ignoring incorrect gAMA value when sRGB is also presentgamma = (%d/100000)Missing IHDR before sBITInvalid sBIT after IDATOut of place sBIT chunkDuplicate sBIT chunkIncorrect sBIT chunk lengthMissing IHDR before cHRMInvalid cHRM after IDATMissing PLTE before cHRMDuplicate cHRM chunkIncorrect cHRM chunk lengthIgnoring incorrect cHRM value when sRGB is also presentwx=%f, wy=%f, rx=%f, ry=%f gx=%f, gy=%f, bx=%f, by=%f Missing IHDR before sRGBInvalid sRGB after IDATOut of place sRGB chunkDuplicate sRGB chunkIncorrect sRGB chunk lengthUnknown sRGB intentincorrect gamma=(%d/100000) Missing IHDR before iCCPInvalid iCCP after IDATOut of place iCCP chunkDuplicate iCCP chunkMalformed iCCP chunkIgnoring nonzero compression type in iCCP chunkProfile size field missing from iCCP chunkIgnoring truncated iCCP profiledeclared profile size = %luactual profile length = %luNo space in chunk cache for sPLTMissing IHDR before sPLTInvalid sPLT after IDATmalformed sPLT chunksPLT chunk has bad lengthsPLT chunk too longsPLT chunk requires too much memoryMissing IHDR before tRNSInvalid tRNS after IDATDuplicate tRNS chunkIncorrect tRNS chunk lengthMissing PLTE before tRNSZero length tRNS chunktRNS chunk not allowed with alpha channelMissing IHDR before bKGDInvalid bKGD after IDATMissing PLTE before bKGDDuplicate bKGD chunkIncorrect bKGD chunk lengthIncorrect bKGD chunk index valueMissing IHDR before hISTInvalid hIST after IDATMissing PLTE before hISTDuplicate hIST chunkIncorrect hIST chunk lengthMissing IHDR before pHYsInvalid pHYs after IDATDuplicate pHYs chunkIncorrect pHYs chunk lengthMissing IHDR before oFFsInvalid oFFs after IDATDuplicate oFFs chunkIncorrect oFFs chunk lengthMissing IHDR before pCALInvalid pCAL after IDATDuplicate pCAL chunkNo memory for pCAL purposeInvalid pCAL dataInvalid pCAL parameters for equation typeUnrecognized equation type for pCAL chunkNo memory for pCAL paramsMissing IHDR before sCALInvalid sCAL after IDATDuplicate sCAL chunkOut of memory while processing sCAL chunkmalformed width string in sCAL chunkTruncated sCAL chunkmalformed height string in sCAL chunkInvalid sCAL dataOut of place tIME chunkDuplicate tIME chunkIncorrect tIME chunk lengthNo space in chunk cache for tEXtMissing IHDR before tEXtNo memory to process text chunkNot enough memory to process text chunkInsufficient memory to process text chunkNo space in chunk cache for zTXtMissing IHDR before zTXtOut of memory processing zTXt chunkTruncated zTXt chunkUnknown compression type in zTXt chunkNot enough memory to process zTXt chunkInsufficient memory to store zTXt chunkNo space in chunk cache for iTXtMissing IHDR before iTXtNo memory to process iTXt chunkTruncated iTXt chunkMalformed iTXt chunkNot enough memory to process iTXt chunkInsufficient memory to store iTXt chunkNo space in chunk cache for unknown chunkunknown critical chunkerror in user chunkinvalid chunk typeIgnoring bad adaptive filter typeNot enough image dataExtra compressed dataDecompression ErrorExtra compression dataRow has too many bytes to allocate in memoryUnknown compression type %dzlib errorInvalid bit depth for grayscale imageInvalid bit depth for RGB imageInvalid bit depth for paletted imageInvalid bit depth for grayscale+alpha imageInvalid bit depth for RGBA imageInvalid image color type specifiedInvalid compression type specifiedInvalid filter type specifiedInvalid interlace type specified1.2.5zlib failed to initialize compressor -- version errorzlib failed to initialize compressor -- stream errorzlib failed to initialize compressor -- mem errorzlib failed to initialize compressorInvalid number of colors in paletteIgnoring request to write a PLTE chunk in grayscale PNGInvalid zlib compression method or flags in IDATInvalid sRGB rendering intent specifiedUnknown compression type in iCCP chunkEmbedded profile length in iCCP chunk is negativeEmbedded profile length too large in iCCP chunkTruncating profile to actual length in iCCP chunkInvalid sBIT depth specifiedInvalid number of transparent colors specifiedIgnoring attempt to write tRNS chunk out-of-range for bit_depthIgnoring attempt to write 16-bit tRNS chunk when bit_depth is 8Can't write tRNS with an alpha channelInvalid background palette indexIgnoring attempt to write 16-bit bKGD chunk when bit_depth is 8Ignoring attempt to write bKGD chunk out-of-range for bit_depthInvalid number of histogram entries specifiedzero length keywordOut of memory while procesing keywordinvalid keyword character 0x%02Xtrailing spaces removed from keywordleading spaces removed from keywordextra interior spaces removed from keywordZero length keywordkeyword length must be 1 - 79 charactersEmpty language field in iTXt chunkUnrecognized unit type for oFFs chunkUnrecognized equation type for pCAL chunk%12.12eUnrecognized unit type for pHYs chunkInvalid time specified for tIME chunkApplication was compiled with png.h from libpng-%.20sApplication is running with png.c from libpng-%.20sIncompatible libpng version in application and libraryzlib memory errorzlib version errorUnknown zlib error1.2.5Not a PNG filePNG file corrupted by ASCII conversionMissing IHDR before IDATMissing PLTE before IDATIgnoring extra png_read_update_info() call; row buffer not reallocatedInvalid attempt to read row dataNot enough image dataExtra compressed dataDecompression errorToo many IDATs foundImage is too high to process with png_read_png()Call to NULL read functionRead ErrorIt's an error to set both read_data_fn and write_data_fn in the same structure. Resetting write_data_fn to NULLCall to NULL write functionWrite ErrorAttempted to set both read_data_fn and write_data_fn inthe same structure. Resetting read_data_fn to NULLMNG features are not allowed in a PNG datastreamWriting zero-length unknown chunkValid palette required for paletted imagesNo IDATs written into fileApplication was compiled with png.h from libpng-%.20sApplication is running with png.c from libpng-%.20sIncompatible libpng version in application and librarypng_write_info was never called before png_write_rowzlib errorUnknown row filter for method 0Can't add Up filter after startingCan't add Average filter after startingCan't add Paeth filter after startingUnknown custom filter methodUnknown filter heuristic methodOnly compression windows <= 32k supported by PNGOnly compression windows >= 256 supported by PNGCompression window is being reset to 512Only compression method 8 is supported by PNGCan't discard critical data on CRC errorApplication must supply a known background gammaignoring out of range rgb_to_gray coefficientsNULL row buffer for row %ld, pass %dpng_do_rgb_to_gray found nongray pixelpng_do_quantize returned rowbytes=0Out of Memorylibpng error: %s libpng warning: %sNot a PNG filePNG file corrupted by ASCII conversionInvalid IHDR lengthMissing IHDR before IDATMissing PLTE before IDATToo many IDATs foundPotential overflow of save_bufferInsufficient memory for save_bufferNot enough compressed datasave_size overflowed in pngpreadNo IDAT data (internal error)Truncated compressed data in IDATDecompression error in IDATExtra compressed data in IDATExtra compression dataOut of place tEXtInsufficient memory to store text chunkOut of place zTXtOut of place iTXtInsufficient memory to store iTXt chunkunknown critical chunkerror in user chunk|zVVVVVVVVV WW,l,Lt$@t0*W,4:W<DD`pJWZW4XjWzWLWWT\dlt|WWHdWWWW$T(< XPlX0D`|<*XPl:X 8T(DXJXx$PpZX4HjXlzX4PhX,DX`|XX0Ld|X <TlXX,DX`8Tx,Hh Y,Y@T <Xtx|*Y:YJYZYjYzY Y,Tt4TY^_xY$LpY %*,`/Y49>CTH M`<h|RW\aYfk p(uP|$@\xYY ZZ*Z:ZJZZZx 4H\jZzZZdt @XpZZ<AFKPUZ_dinsx}ZZZZZ [[*[:[J[Z[j[z[[[[[[[[<p[ \\8*\\:\J\Z\j\z\\L\$Dd\\\\(T\\ ]P],4<*]:]J],Z]p<PThx(Lh  (D$8`t`  %%8 B ``P``>`<oo<oo|<ooxRCho`o``>8 |<<<> C R dV p] | 0Y   0/  0i P :  `E   $  4 ` D ` T / d N t 0  p 0 : @ Я    2  C  k  4 ` B l X 7 g ` y 0 V 0B Ї  S  7 p/  p ' `G 4  H N ^ p_  t |  H `~ 0 @uR P   p\ )^ 4 } HpJ [4 qй    O PC\  z 4 4y 3 K _l0*( ~i  P m P{    @' z `  2qq I Z|< l б 5   i  l p pH (_6 2 ~6 Eo( Z=  o@] U x; @n G > 07' 4 F  PP  `9 /N >pL1 MO \@/ k`IZ z5 `B `3 ` @;@ @ K 0  2v  ) _? M 60q E cr x5 ' |  `Q c J Y !-8APV|$[`$e,k q0w}(4,@l<, L(t( 0$@4t$$4   08-A$-,64?<HDMDV`[p `0e(j(p$v4$|X(LT\dlt|,,$4Hd,-8-A,-M8-A $  *40$06T0<B,HN(T$j(p<ZP`lfl(rx(~,0D`|qk$8<-Pl 8T8( D&X ,x28>D0J$,PP Vp\b$hntz4H$l,4Ph$,D`| "(0.L4d:|@F,L,RX ^<dTjl,p(v|(6,D`$ (,$8T$x((($,H h(( ,,$@*1T$8? F<MXTt[xbipw|~-8-A8-Ap#{   '$ &,(,T 2t(f,8$>$D$4 JT$xP8V8\4$(bL$hp8nt4z-6 %(*(,4`04/4 9>C0\@T@(hH$@ @M`0($($<,h |,RW\"$a((.f4,:k@ (pF((LuRP&X|^djpv|$@\x8-Ax88`8 4H\dt(*06 <#)/5H;A\ G$@XMp8<SAFKYP_UZe_kdqi>nwsxD}}J18-A[ D<18-Ap[ 848-A48$\,888L8 , e$}(($  D -6?M d4 4 ,.8-A ( (,T4-6?M0P(- (3 $,49 $<8-AI 8-AT [,8-A] h  z pb Pn pe<PT8-Ap  h x(    [                $($& , Lh$2  8 $ > D  J (P DV $\ 8(b `h tn (t z `8-A e ` M 3mP EШy Rg m q `5 x 5 % З1 @_ `- % 6` J `f7 0)  + l8 3 - g  .~\ 9/ O\ w k x - @: % ` [ ` 7 4 o p7 %G @0/ TЁ: c| p\ C t q  p9 " sm : -7 :?6 Z0a r"y ? l8 c -   ] P4 j" '> 4@\ > 4 ^P yl 9 5 p:    W O !p3 29p F  a` nPW {  ] pS  5 dV "i W Pt] + -:9 M( ai |` @l8 S w ` 09 < w5   n +2`[ K9 \ i [ y t 4 p -   s  : 5 R: q % Py PW `!g   1 ` tE _ 6 C@G [p]o mz Ц b  B p + PO  @" (Y  9@J X] s[ < `4 ;P[ p3   !  O 4 l8 K 3 \ ~ i 0 y ( E 03 s- @b Py O }N `5 !zV ,!9 E!i R!` _!` n!`| !Pp !S !1 .P !!a| !4 !p !!W "Т "[ 5"@ B"PsJ Y"pJ r"#f "j, "+ "" "; "0e "pj- "4 # N )#G .libs/libpng14.so.14.3.0crti.svalues-Xa.cDdata.dataBbss.bssDrodata.rodatapng.c.L21.L31.L51.L127.L247.L242.L254.L261.L274.L331.L342.L345.L348.L351.L354.L358.L367.L370.L375.L380.L383.L386.L389.L396.L403.L414.L417.L420.L424.L434.L437.L440Dpicdata.picdatapngset.c.L_cseg0.L_cseg1.L_cseg2.L55.L_cseg3.L59.L75.L93.L96.L148.L151.L154.L161.L199.L_cseg4.L_cseg5.L_cseg6.L_cseg7.L_cseg8.L_cseg9.L_cseg10.L_cseg11.L_cseg12.L245.L248.L257.L350.L374.L391pngget.cpngrutil.c.L19.L56png_inflate.L102.L104.L106.L116.L123.L131.L133.L135.L171.L175.L178.L181.L188.L201.L204.L215.L218.L227.L231.L234.L239.L255.L256.L265.L269.L272.L276.L284.L298.L302.L305.L310.L313.L338.L339.L340.L349.L353.L356.L360.L363.L368.L376.L407.L411.L418.L428.L431.L436.L441.L442.L443.L456.L459.L463.L473.L479.L482.L485.L502.L506.L510.L515.L526.L533.L535.L546.L550.L554.L558.L567.L577.L590.L594.L597.L601.L606.L622.L626.L630.L633.L644.L648.L652.L655.L666.L670.L674.L677.L687.L701.L704.L712.L736.L740.L744.L747.L752.L760.L763.L769.L778.L783.L788.L803.L806.L811.L823.L826.L839.L842.L847.L857.L860.L863.L866.L879.L882.L887.L897.L912.L918.L921.L934.L937.L945.L957.L994.L1078.L1219.L1227.L1228.L1229.L1230.L1250.L1262.L1273.L1279.L1286.L1293.L1294.L1295.L1296.L1377pngtrans.conebppswaptabletwobppswaptablefourbppswaptablepngwutil.c.L35png_text_compress.L83.L92png_write_compressed_data_out.L145.L157.L163.L172.L183.L185.L189.L203.L232.L235.L238.L246.L259.L271.L293.L300.L307.L314.L321.L324.L336.L343.L346.L394.L412.L421.L430.L450.L452.L467.L474.L478.L488.L504.L507.L517.L522.L530.L553.L556.L563.L579.L593.L598.L625.L632.L635.L658.L659.L669.L676.L685.L692.L693.L694.L695.L721.L722.L723.L724.L770.L771pngread.c.L49.L50.L63.L65.L67.L69.L89.L91.L97.L98.L99.L100.L101.L103.L105.L107.L108.L109.L110.L111.L112.L113.L114.L115.L117.L139.L144.L219.L236.L237.L295.L327.L419.L422.L423.L425.L426.L427.L429.L432.L433.L435.L438.L453pngrio.c.L20.L45.L46pngwio.c.L64pngwrite.c.L26.L54.L71.L142.L225.L226.L278.L357.L439.L444.L455.L540.L544.L547pngrtran.c.L25.L595.L619png_gamma_shiftpngwtran.cpngmem.cpngerror.cpng_default_errorpng_default_warningpng_format_bufferpng_digitpngpread.c.L58.L60.L70.L72.L73.L74.L76.L77.L78.L79.L80.L81.L82.L84.L85.L86.L87.L88.L90.L125.L130.L153.L328.L337.L369.L387.L406.L566.L568.L569.L605.L631.L642.L702.L742.L754.L764crtn.spng_crc_readpng_handle_pCALpng_handle_pHYspng_handle_sBITpng_handle_sCALpng_handle_tRNSpng_handle_sPLTpng_handle_sRGBpng_handle_tIMEpng_handle_tEXtpng_handle_zTXtpng_handle_PLTEpng_handle_cHRMpng_handle_bKGDpng_handle_gAMApng_handle_iCCPpng_handle_hISTpng_handle_iTXtpng_handle_oFFspng_handle_IHDRpng_handle_IENDpng_crc_error_END__fini_initpng_read_finish_rowpng_do_unshiftpng_do_write_transformationspng_read_datapng_default_read_datapng_crc_finishpng_calculate_crcpng_do_read_fillerpng_do_read_transformationspng_do_unpackpng_process_some_datapng_set_text_2png_do_expandpng_do_gray_to_rgbpng_do_invertpng_combine_rowpng_do_shiftpng_do_gammapng_do_strip_fillerpng_do_expand_palettepng_build_gamma_table_START_png_read_start_rowpng_default_flushpng_destroy_struct_2png_read_push_finish_rowpng_do_write_swap_alphapng_do_bgrpng_write_destroypng_push_process_rowpng_do_quantizepng_zallocpng_create_struct_2png_push_have_infopng_process_IDAT_datapng_push_handle_iTXtpng_push_handle_tEXtpng_push_handle_zTXtpng_do_read_swap_alphapng_check_keywordpng_push_read_chunkpng_do_write_intrapixelpng_do_read_invert_alphapng_write_gAMA_fixedpng_read_transform_infopng_read_filter_row_lib_versionpng_do_backgroundpng_do_read_intrapixelpng_do_packswappng_handle_unknownpng_do_packpng_do_swappng_do_choppng_push_crc_finishpng_push_handle_unknownpng_decompress_chunkpng_check_chunk_namepng_write_filtered_rowpng_read_destroypng_create_structpng_push_read_IDATpng_push_read_tEXtpng_push_read_zTXtpng_push_read_iTXtpng_push_read_sigpng_info_destroypng_do_read_interlacepng_default_write_datapng_read_chunk_headerpng_flushpng_zfreepng_destroy_structpng_check_cHRM_fixedpng_write_cHRM_fixedpng_write_find_filterpng_write_finish_rowpng_do_write_invert_alphapng_64bit_productpng_write_zTXtpng_write_tRNSpng_write_sPLTpng_write_sRGBpng_write_tEXtpng_write_tIMEpng_write_sBITpng_write_sCALpng_write_pCALpng_write_pHYspng_write_PLTEpng_write_iTXtpng_write_iCCPpng_write_hISTpng_write_gAMApng_write_datapng_write_cHRMpng_write_bKGDpng_write_oFFspng_write_IDATpng_write_IENDpng_write_IHDRpng_reset_crcpng_push_restore_bufferpng_check_IHDRpng_init_read_transformationspng_push_fill_bufferpng_push_save_bufferpng_push_crc_skippng_do_rgb_to_graypng_write_start_rowpng_push_have_rowpng_push_have_endpng_do_write_interlacepng_chunk_errorpng_get_cHRMpng_start_read_imagepng_reset_zstreampng_get_textpng_set_compression_methodpng_set_rgb_to_gray_fixedpng_get_chunk_malloc_maxpng_set_gAMApng_get_user_height_maxpng_set_write_status_fnmemcmpgmtimepng_set_user_limitspng_destroy_read_structpng_write_rowpng_set_write_fnpng_set_rgb_to_graypng_get_io_chunk_namefreadpng_create_write_struct_2strlenpng_build_grayscale_palettepng_get_tRNSpng_set_invert_alphapng_get_header_verpng_get_signaturepng_get_user_transform_ptrpng_get_pixels_per_meterpng_set_read_fnpng_callocpng_set_tRNS_to_alphadeflateResetpng_write_rowspng_read_endpng_get_error_ptrpng_set_expandpng_set_read_status_fnpng_set_rowspng_get_x_pixels_per_meterpng_write_pngpng_set_swappng_set_error_fnpng_malloc_defaultpng_get_validpng_set_interlace_handlingpng_set_gray_to_rgbpng_set_mem_fnpng_set_IHDRpng_set_unknown_chunk_locationpng_read_rowspng_write_flushfwritepng_freepng_read_imagecrc32png_get_interlace_typepng_set_unknown_chunkspng_handle_as_unknownpng_set_palette_to_rgbpng_get_rowsfabspng_get_rgb_to_gray_statuspng_destroy_info_structmemcpypng_get_iCCPpng_set_flushpng_get_copyrightpng_get_PLTEinflateEndpng_get_progressive_ptrpng_set_filter_heuristicspng_set_sBITpng_set_compression_mem_levelpng_init_iopng_get_IHDRpng_errorpng_set_write_user_transform_fnpng_set_sRGB_gAMA_and_cHRMpng_set_progressive_read_fnpng_get_bit_depthpng_get_user_width_maxpng_set_packswappng_get_uint_31abort_DYNAMICpng_write_imagepng_set_add_alphapng_save_uint_32png_set_PLTEpng_mallocpng_set_tRNSpng_get_pixel_aspect_ratiopng_set_textpng_get_sRGBpng_write_sigpng_sig_cmpfflushdeflateEndpng_get_sBITpng_get_user_chunk_ptr_PROCEDURE_LINKAGE_TABLE_png_write_chunk_datapng_get_gAMA_fixedpng_set_bKGDpng_set_swap_alphainflateInit_png_get_color_typepng_set_invert_monofprintfpng_set_crc_actionpng_set_keep_unknown_chunkspng_get_libpng_verpng_get_hIST_etextpng_set_cHRM_fixedpng_set_shiftpng_get_filter_typepng_set_filterpng_read_infopng_access_version_numbermemsetpng_get_y_offset_micronspng_get_channelspng_read_rowpng_get_y_offset_pixelspng_set_gAMA_fixedpng_read_update_infopng_set_compression_strategypng_save_uint_16png_set_compression_buffer_sizedeflatedeflateInit2_png_set_sPLTpng_set_compression_window_bitspng_get_chunk_cache_maxpng_set_expand_gray_1_2_4_to_8png_set_backgroundpng_read_pngpng_malloc_warnpng_get_tIMEpow__xtoulpng_write_chunkpng_get_io_statepng_set_read_user_chunk_fnpng_set_fillerpng_set_cHRMpng_write_end_GLOBAL_OFFSET_TABLE_png_get_pCALpng_convert_from_time_tpng_set_sig_bytesinflateResetpng_warningpng_get_sCAL__xtolpng_free_datapng_permit_mng_featurespng_set_tIMEpng_set_strip_16png_get_sPLTlongjmppng_get_cHRM_fixedsnprintfpng_set_chunk_malloc_maxpng_set_quantizestrtodpng_create_write_structpng_convert_from_struct_tmpng_get_x_offset_micronspng_set_sRGBpng_set_user_transform_infopng_get_y_pixels_per_meterpng_get_image_height__iobpng_progressive_combine_rowpng_write_chunk_startpng_get_unknown_chunkspng_get_header_versionpng_get_rowbytespng_set_pCALpng_get_mem_ptrpng_set_bgrpng_set_packingpng_get_image_widthpng_create_read_struct_2png_data_freerpng_process_datapng_save_int_32png_set_oFFspng_get_compression_buffer_sizepng_set_hISTpng_get_compression_typepng_set_sCALpng_get_pHYspng_write_infopng_create_info_structpng_set_iCCPpng_get_bKGDpng_set_invalidsetjmppng_info_init_3png_set_compression_levelpng_set_gamma_edatapng_get_gAMApng_write_info_before_PLTEpng_get_x_offset_pixelspng_get_oFFspng_create_read_structpng_destroy_write_structpng_write_chunk_endpng_convert_to_rfc1123png_set_strip_alphapng_set_chunk_cache_maxpng_set_longjmp_fnpng_chunk_warningpng_get_io_ptrpng_set_read_user_transform_fnpng_set_pHYspng_free_default%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1689png.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-png.o png.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7pngset.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngset.o pngset.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.79,pngget.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngget.o pngget.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7uBpngrutil.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngrutil.o pngrutil.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7Xpngtrans.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngtrans.o pngtrans.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7npngwutil.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngwutil.o pngwutil.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7-pngread.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngread.o pngread.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7kpngrio.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngrio.o pngrio.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7pngwio.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngwio.o pngwio.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7pngwrite.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngwrite.o pngwrite.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7 pngrtran.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngrtran.o pngrtran.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7^pngwtran.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngwtran.o pngwtran.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7pngmem.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngmem.o pngmem.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7pngerror.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngerror.o pngerror.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.74pngpread.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -KPIC -DPIC -o .libs/libpng14_la-pngpread.o pngpread.cXa;P;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7T5/ /var/tmp/libpng-1.4.3png.c82 /var/tmp/libpng-1.4.3pngset.c82 /var/tmp/libpng-1.4.3pngget.c:4 /var/tmp/libpng-1.4.3pngrutil.c:4 /var/tmp/libpng-1.4.3pngtrans.c:4 /var/tmp/libpng-1.4.3pngwutil.c93 /var/tmp/libpng-1.4.3pngread.c82 /var/tmp/libpng-1.4.3pngrio.c82 /var/tmp/libpng-1.4.3pngwio.c:4 /var/tmp/libpng-1.4.3pngwrite.c:4 /var/tmp/libpng-1.4.3pngrtran.c:4 /var/tmp/libpng-1.4.3pngwtran.c82 /var/tmp/libpng-1.4.3pngmem.c:4 /var/tmp/libpng-1.4.3pngerror.c:4 /var/tmp/libpng-1.4.3pngpread.c DD% DD% DD% DD% DD% DD% DD% DD% DD% DD% DD% DD% DD% DD% DD%.SUNW_cap.hash.SUNW_ldynsym.dynsym.dynstr.SUNW_version.SUNW_versym.SUNW_dynsymsort.SUNW_reloc.rel.plt.text.init.fini.rodata.rodata1.got.dynamic.data.bssf.picdata.bss.symtab.strtab.comment.debug_loc.debug_info.debug_line.debug_abbrev.shstrtabo $o  @'"8 8 B/o|<|<`/o<<=o<<Jo>><[ CCg BRRx kdVdVpp]p]=dv| ||`)@ ; L;:#^)àUJ 070701000a979b000081a40000000000000000000000014cc10ccf0003cb74000000b600010002ffffffffffffffff0000001e00000000root/usr/local/lib/libpng14.a! / 1287720143 0 0 0 7292 ` CTTTTTTTTTTTTTTTTTTTTTTTTTHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD444444444444444444444444444444444;;;;;;;;;;;;;;;;;;WdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdWdььььььььььььь$,$,$,00000<<<<<<<<<<<<<<<<<<<<<<<<,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,555555PPPPPPPPPPPP`T`T`T`T`T`T`Tp$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$p$png_set_sig_bytespng_sig_cmppng_zallocpng_zfreepng_reset_crcpng_calculate_crcpng_create_info_structpng_info_init_3png_destroy_info_structpng_info_destroypng_data_freerpng_free_datapng_get_io_ptrpng_init_iopng_convert_to_rfc1123png_get_copyrightpng_get_libpng_verpng_get_header_verpng_get_header_versionpng_handle_as_unknownpng_reset_zstreampng_access_version_numberpng_64bit_productpng_check_cHRM_fixedpng_check_IHDRpng_set_bKGDpng_set_cHRMpng_set_cHRM_fixedpng_set_gAMApng_set_gAMA_fixedpng_set_hISTpng_set_IHDRpng_set_oFFspng_set_pCALpng_set_sCALpng_set_pHYspng_set_PLTEpng_set_sBITpng_set_sRGBpng_set_sRGB_gAMA_and_cHRMpng_set_iCCPpng_set_textpng_set_text_2png_set_tIMEpng_set_tRNSpng_set_sPLTpng_set_unknown_chunkspng_set_unknown_chunk_locationpng_permit_mng_featurespng_set_keep_unknown_chunkspng_set_read_user_chunk_fnpng_set_rowspng_set_compression_buffer_sizepng_set_invalidpng_set_user_limitspng_set_chunk_cache_maxpng_set_chunk_malloc_maxpng_get_validpng_get_rowbytespng_get_rowspng_get_image_widthpng_get_image_heightpng_get_bit_depthpng_get_color_typepng_get_filter_typepng_get_interlace_typepng_get_compression_typepng_get_x_pixels_per_meterpng_get_y_pixels_per_meterpng_get_pixels_per_meterpng_get_pixel_aspect_ratiopng_get_x_offset_micronspng_get_y_offset_micronspng_get_x_offset_pixelspng_get_y_offset_pixelspng_get_channelspng_get_signaturepng_get_bKGDpng_get_cHRMpng_get_cHRM_fixedpng_get_gAMApng_get_gAMA_fixedpng_get_sRGBpng_get_iCCPpng_get_sPLTpng_get_hISTpng_get_IHDRpng_get_oFFspng_get_pCALpng_get_sCALpng_get_pHYspng_get_PLTEpng_get_sBITpng_get_textpng_get_tIMEpng_get_tRNSpng_get_unknown_chunkspng_get_rgb_to_gray_statuspng_get_user_chunk_ptrpng_get_compression_buffer_sizepng_get_user_width_maxpng_get_user_height_maxpng_get_chunk_cache_maxpng_get_chunk_malloc_maxpng_get_io_statepng_get_io_chunk_namepng_get_uint_31png_read_chunk_headerpng_check_chunk_namepng_crc_readpng_crc_finishpng_crc_errorpng_decompress_chunkpng_handle_IHDRpng_handle_PLTEpng_handle_IENDpng_handle_gAMApng_handle_sBITpng_handle_cHRMpng_handle_sRGBpng_handle_iCCPpng_handle_sPLTpng_handle_tRNSpng_handle_bKGDpng_handle_hISTpng_handle_pHYspng_handle_oFFspng_handle_pCALpng_handle_sCALpng_handle_tIMEpng_handle_tEXtpng_handle_zTXtpng_handle_iTXtpng_handle_unknownpng_combine_rowpng_do_read_interlacepng_read_filter_rowpng_read_finish_rowpng_read_start_rowpng_set_bgrpng_set_swappng_set_packingpng_set_packswappng_set_shiftpng_set_interlace_handlingpng_set_fillerpng_set_add_alphapng_set_swap_alphapng_set_invert_alphapng_set_invert_monopng_do_invertpng_do_swappng_do_packswappng_do_strip_fillerpng_do_bgrpng_set_user_transform_infopng_get_user_transform_ptrpng_save_uint_32png_save_int_32png_save_uint_16png_write_sigpng_write_chunkpng_write_chunk_startpng_write_chunk_datapng_write_chunk_endpng_write_IHDRpng_write_PLTEpng_write_IDATpng_write_IENDpng_write_gAMApng_write_gAMA_fixedpng_write_sRGBpng_write_iCCPpng_check_keywordpng_write_sPLTpng_write_sBITpng_write_cHRMpng_write_cHRM_fixedpng_write_tRNSpng_write_bKGDpng_write_hISTpng_write_tEXtpng_write_zTXtpng_write_iTXtpng_write_oFFspng_write_pCALpng_write_sCALpng_write_pHYspng_write_tIMEpng_write_start_rowpng_write_finish_rowpng_do_write_interlacepng_write_find_filterpng_write_filtered_rowpng_create_read_structpng_create_read_struct_2png_read_infopng_read_update_infopng_start_read_imagepng_read_rowpng_read_rowspng_read_imagepng_read_endpng_destroy_read_structpng_read_destroypng_set_read_status_fnpng_read_pngpng_read_datapng_default_read_datapng_set_read_fnpng_write_datapng_default_write_datapng_flushpng_default_flushpng_set_write_fnpng_write_info_before_PLTEpng_write_infopng_write_endpng_convert_from_struct_tmpng_convert_from_time_tpng_create_write_structpng_create_write_struct_2png_set_filter_heuristicspng_write_rowspng_write_rowpng_write_imagepng_set_flushpng_write_flushpng_destroy_write_structpng_write_destroypng_set_filterpng_set_compression_levelpng_set_compression_mem_levelpng_set_compression_strategypng_set_compression_window_bitspng_set_compression_methodpng_set_write_status_fnpng_set_write_user_transform_fnpng_write_pngpng_set_crc_actionpng_set_backgroundpng_set_strip_16png_set_strip_alphapng_set_quantizepng_set_gammapng_set_expandpng_set_palette_to_rgbpng_set_expand_gray_1_2_4_to_8png_set_tRNS_to_alphapng_set_gray_to_rgbpng_set_rgb_to_graypng_set_rgb_to_gray_fixedpng_set_read_user_transform_fnpng_init_read_transformationspng_build_gamma_tablepng_read_transform_infopng_do_read_transformationspng_do_expand_palettepng_do_expandpng_do_rgb_to_graypng_do_gray_to_rgbpng_do_backgroundpng_do_gammapng_do_choppng_do_quantizepng_do_unshiftpng_do_unpackpng_do_read_fillerpng_do_read_invert_alphapng_do_read_swap_alphapng_build_grayscale_palettepng_do_read_intrapixelpng_do_write_transformationspng_do_packpng_do_shiftpng_do_write_swap_alphapng_do_write_invert_alphapng_do_write_intrapixelpng_create_structpng_create_struct_2png_destroy_structpng_destroy_struct_2png_callocpng_mallocpng_malloc_defaultpng_freepng_free_defaultpng_malloc_warnpng_set_mem_fnpng_get_mem_ptrpng_errorpng_warningpng_chunk_errorpng_chunk_warningpng_set_longjmp_fnpng_set_error_fnpng_get_error_ptrpng_process_datapng_push_restore_bufferpng_process_some_datapng_push_read_sigpng_push_read_chunkpng_push_read_IDATpng_push_read_tEXtpng_push_read_zTXtpng_push_read_iTXtpng_push_crc_finishpng_push_fill_bufferpng_push_save_bufferpng_push_have_endpng_push_have_infopng_push_handle_tEXtpng_push_handle_zTXtpng_push_handle_iTXtpng_push_handle_unknownpng_push_crc_skippng_process_IDAT_datapng_push_process_rowpng_push_have_rowpng_read_push_finish_rowpng_progressive_combine_rowpng_set_progressive_read_fnpng_get_progressive_ptr// 1287720143 0 0 0 344 ` libpng14_la-png.o/ libpng14_la-pngset.o/ libpng14_la-pngget.o/ libpng14_la-pngrutil.o/ libpng14_la-pngtrans.o/ libpng14_la-pngwutil.o/ libpng14_la-pngread.o/ libpng14_la-pngrio.o/ libpng14_la-pngwio.o/ libpng14_la-pngwrite.o/ libpng14_la-pngrtran.o/ libpng14_la-pngwtran.o/ libpng14_la-pngmem.o/ libpng14_la-pngerror.o/ libpng14_la-pngpread.o/ /0 1287720141 0 0 100644 10780 ` ELF'4(.strtab.text.bss.data.rodata.rodata1.comment.debug_loc.debug_info.debug_line.debug_abbrev.symtabpng.cBbss.bssDdata.dataDrodata.rodatapng_set_sig_bytespng_errorpng_sig_cmpmemcmppng_zallocpng_warningpng_mallocpng_zfreepng_freepng_reset_crccrc32png_calculate_crcpng_create_info_structpng_create_struct_2png_info_init_3png_destroy_info_structpng_info_destroypng_destroy_struct_2png_destroy_structpng_create_structmemsetpng_data_freerpng_free_datapng_get_io_ptrpng_init_iopng_convert_to_rfc1123snprintfpng_get_copyrightpng_get_libpng_verpng_get_header_verpng_get_header_versionpng_handle_as_unknownpng_reset_zstreaminflateResetpng_access_version_numberpng_64bit_productpng_check_cHRM_fixedpng_check_IHDR.rel.text.rel.debug_infoUEu>E ~hEPE } EE EUEU EEEEEEEEEv EEs EKE v E7E Ev E ؃EMM U EPDPQ EEÐUEEE@XEEu El+uU ;vh$EPE?E EEEPXEPXEPEPEEUPXEEEÐUE PEPÐUjjj ЋEÐUEE tE@X%=uEE@X%tEEt%UEPE PP ЋEÐUEu EAUE(P,Pj EEth EPEEEÐUEEuTE t E @EEt:EPEPUE(P0PEP E @ÐUE@EEuFE = s&jEPjjEEUPh jEP ÐUEtE uXEuE UE 6EuE Uҋ#ʋE hHEPÐU]EtE uE%@U #EtzE @8tmM U؍+؋A8DtKM U؍+؋A8DPEPM U؍+؋A8DhEE U;P0}/jjEPh@E PEPE@EE U;P0|ыE @8PEPE @8E @0E% U #t,E @LPEPE @LE PE PE%U #tE PE PE%U #E PEPE PEPE ǀE ǀE EE U;}GE UPEPE UE@EE U;|E PEPE ǀE PE PEU #tXE PEPE PEPE ǀE ǀE PE PE U # EE tlU EPEPU EDPEPU EU EDE ttEE U;}/jjEPj E PEPE@EE U;|ыE PEPE ǀE ǀE PE PE\t#E\PEPEǀ\E%U #EtYE tCE M؋CPEPE MCE twEE U;}2jjEPhE PEPE@EE U;|΋E PEPE ǀE ǀEU #t,E @|PEPE @|E P⿋E PE%U #t8E @PEPE @E PE PU fBE@U #E tvEE U;P}AE UPEPE UE@EE U;P|E PEPE ǀE PE PEuE Uҋ#ʋE U E%߽Ћ#ЋE ]ÐUjjjhE PEPE t0EPEPEǀEǀ h E PÐUEu E E@@EEÐUEu EU P@ÐU4]̋EuEEujEPЋEEEЋE @ ‰E؋E @H ‰EE @EE @‰EE @<‹؋E @=jPSEPEPEPEPhtjEЋP(EEE]UEEEEÐUEELEEÐUEELEEÐUEETEEÐU EtE tE  EvUE ЍBEE EEt;jEPE P u E@EEHEEEEuEEÐUEu EEj`PEEÐUE(EÐU E%EE%EE %EE %EEEEEEUU‰EE%U‰EUE% ЉUE%EEEU‰EEUPEUPÐUEEuEE |8E~0E|(E| E|E |E$|E(}h|EPEE =FE=  ^  B0   6 ?_ h  22 &V _v     #< Eu ~   5 >k t    4 Pggg8"+f4'?'K 9W e P L$h  ' /19 1287720141 0 0 100644 14172 ` ELF44(.strtab.text.bss.data.rodata.rodata1.comment.debug_loc.debug_info.debug_line.debug_abbrev.SUNW_cap.symtabpngset.cBbss.bssDdata.dataDrodata.rodatapng_set_bKGDmemcpypng_set_cHRM__xtolpng_set_cHRM_fixedpng_check_cHRM_fixedpng_set_gAMApng_warningpng_set_gAMA_fixedpng_set_hISTpng_free_datapng_malloc_warnpng_set_IHDRpng_check_IHDRpng_set_oFFspng_set_pCALstrlenmemsetpng_set_sCALpng_set_pHYspng_set_PLTEpng_errorpng_callocpng_set_sBITpng_set_sRGBpng_set_sRGB_gAMA_and_cHRMpng_set_iCCPpng_freepng_set_textpng_set_text_2png_set_tIMEpng_set_tRNSpng_mallocpng_set_sPLTpng_set_unknown_chunkspng_set_unknown_chunk_locationpng_permit_mng_featurespng_set_keep_unknown_chunkspng_set_read_user_chunk_fnpng_set_rowspng_set_compression_buffer_sizepng_set_invalidpng_set_user_limitspng_set_chunk_cache_maxpng_set_chunk_malloc_max.rel.text.rel.debug_infoUEtE u'U j EPBZP E P E PÐU EtE uE]EE ٘E]EE ٘E ]EE ٘E(]EE ٘E0]EE ٘E8]EE ٘E@]EE ٘EH]EE ٘E ]EЋE E ]EЋE E ]EЋE E( ]EЋE E0 ]EЋE E8 ]EЋE E@ ]EЋE EH ]EЋE E PE PÐUEtE upjE,PE(PE$PE PEPEPEPEPEP(8E UE UE UE U E U E U$E U(E U,E5]EE ٘E5]EE ٘E5]EE ٘E5]EE ٘E 5]EE ٘E$5]EE ٘E(5]EE ٘E,5]EE ٘E PE PÐUEtE uEz%v#hEPEE EEEEE]EE X(E ]EЋE E PE PEzuhEPÐUEtE uE=~hEPE*E}h,EPEEEE5]EE X(E UE PE PEuhEPÐU]EtE uE @tE @=~hLEPjjjjE PEPhEPЋEEuh|EP}EE @U;}5]MUEEYMfJE@EE @U;|ˋEU B|E P@E PE E ]ÐU$]܋EtE uiE UPE UPU EBU EBU E$BU E(BU E BE EE EE @EE XE HE PE @jjPRQSEPE@PE@PEP(E @u U B'E @t U B U BE @tE @U @BE PE @ЋE PE=~vE @ FE @|E @UЉUE @UЍBEE UP ]ÐUEtE u0E UPdE UPhU EBlE PE PÐU]uEtE uNjEP@EEPEPЋE E uhEPU EPEPP E UE UU EU E jE$P@EEPEPЋE E uhEP\U EPE$PP E @PEPЋE E uhEPU E @PjP EE;E UE(jP@EEPEPȋE U E UuhEPdE uMU(EPPP E@EE;E fE PE PE ʀE ]uÐUEtE uKU EU EEU EE E P@E PÐUEtE u0E UPpE UPtU EBxE PʀE PÐUEtE uE| E=~:E @uh<EPh<EPjjjhE PEPhEPЋEUE@PEPP EU BEfEUEfU EfBE E E PE PÐUEtE u'U jEPBDP E PE PÐUEtE uU EB,E PE PÐULEtE uEPE PEP  ]E]E$E PEPEEPE PEP E&zEЄEEE0uE`E:Ep(]E]0]E]8]E]@]E]H]E]P]E]X]E]`]E]؛EPEPEPEPEPEPEPEPE PEP(EEEEEEEE؛$$$$$$$$E PEPHU EtE tEtEu jEP@EEPEPEEuhTEPEPEPEP EPEPEEu)EPEPhEPEPEPEP jjjjE PEPE UE UE UU EE E E PE PÐUjjEPEPE PEPEEthEPU ]EtE tEuEE P0UE ;P43E @8E @4EE @0EU B4E @8EE P4ȍ+QEPЋE P8E @8uEPEPE] Uȍ+QEPC8P EPEPsEU B4E @0E P4ȍ+QEPЋE P8E @8u ERE @E EE;E M E P0؍+؋A8ÉEUȍ+ȋEDuUȍ+ȋEjDPEUȍ+ȋEEEUȍ+ȋEDt-Uȍ+ȋEjDPE EUȍ+ȋEDt*Uȍ+ȋEjDPEEUȍ+ȋEDt#Uȍ+ȋED@u?EUȍ+ȋE~E@ E@GUȍ+ȋEjDPEUȍ+ȋEUBEEUMȍAPEPЋEPE@uE]Uȍ+ȋUEPDPCP EPUBUȍ+ȋEE@EU@B]Uȍ+ȋUEPDPCP EPUBE@EU@B]Uȍ+ȋUEPDPCP EPUBE@EU@B'E@E@E@EU@BEt.]Uȍ+ȋUEPDPCP EPUBE@~E@ EUPEUP E@E @0U @B0E@EE;EEE]ÐUEtE tE@T%t*U jEPB

@@ *`*7EUbq G~pw b` G  > 5P  M P@-<PQIhVa PnppP;*tPm (0*D \@ & %1EKWkq} *C\u AGSs   E N  @  9  M n  w      !(  < i  r    %  , = &e  y (     +:IXg3 GZ c}+ k-~ %$G+|+~  L  @O0: Uh q+ #> Gg + +z 0+#o+0 4 Y )$)$,$h"$y+ '4)?)K\+<W+eo+o+u /8  4  /41 1287720141 0 0 100644 8884 ` ELF\ 4(.strtab.text.bss.data.rodata.comment.debug_loc.debug_info.debug_line.debug_abbrev.SUNW_cap.symtabpngget.cBbss.bssDdata.dataDrodata.rodatapng_get_validpng_get_rowbytespng_get_rowspng_get_image_widthpng_get_image_heightpng_get_bit_depthpng_get_color_typepng_get_filter_typepng_get_interlace_typepng_get_compression_typepng_get_x_pixels_per_meterpng_get_y_pixels_per_meterpng_get_pixels_per_meterpng_get_pixel_aspect_ratiopng_get_x_offset_micronspng_get_y_offset_micronspng_get_x_offset_pixelspng_get_y_offset_pixelspng_get_channelspng_get_signaturepng_get_bKGDpng_get_cHRMpng_get_cHRM_fixedpng_get_gAMApng_get_gAMA_fixedpng_get_sRGBpng_get_iCCPpng_get_sPLTpng_get_hISTpng_get_IHDRpng_check_IHDRpng_get_oFFspng_get_pCALpng_get_sCALpng_get_pHYspng_get_PLTEpng_get_sBITpng_get_textpng_get_tIMEpng_get_tRNSpng_get_unknown_chunkspng_get_rgb_to_gray_statuspng_get_user_chunk_ptrpng_get_compression_buffer_sizepng_get_user_width_maxpng_get_user_height_maxpng_get_chunk_cache_maxpng_get_chunk_malloc_maxpng_get_io_statepng_get_io_chunk_name.rel.text.rel.debug_infoUEtE tE @#EEEEUEtE tE @ E EEUEtE tE EEEUEtE tE @E EEUEtE tE @E EEUEtE tE @E EEÐUEtE tE @E EEÐUEtE tE @E EEÐUEtE tE @E EEÐUEtE tE @E EEÐUEt:E t2E @%t"E @xt EE @pEEEÐUEt:E t2E @%t"E @xt EE @tEEEÐUEtJE tBE @%t2E @xuE U @p;Btt EE @pEEEÐUEE tzE @%tjE @pu]E]\E @tEEy-]EE @pEEy-]E]]E]EÐUEt:E t2E @%t"E @lt EE @dEEEÐUEt:E t2E @%t"E @lt EE @hEEEÐUEt:E t2E @%t"E @lt EE @dEEEÐUEt:E t2E @%t"E @lt EE @hEEEÐUEtE tE @E EEÐUEtE tE E EEUEt6E t.E @ t EtE UZBE EEUEE E @EtE ـEXEtE ـEXEtE ـEXEtE ـEXE tE ـE XE$tE ـE$XE(tE ـE(XE,tE ـE,XE EEUEE E @EtE UBEtE UBEtE UBEtE U BE tE U BE$tE U$BE(tE U(BE,tE U,BE EEUEt6E t.E @t EtE @(EXEEEUEt6E t.E @t EtE UBEEEUEt6E t.E @%tEtE P,EPEEEUEtvE tnE @%t^EtVEtNEtFE UBE UBE UBE EPEEEUEt.E t&EtE UBE EEEÐUEt6E t.E @@t EtE U@|BE@ EEU$]܋Et(E t EtEtEtEuEE U@BE U@BE PEPE PEPE$t E PE$PE(t E PE(PE t E PE PE EE EE @EE XE HE PE @jjPRQSEPE@PE@PEP(EE]UEt^E tVE @%tFEt>Et6Et.E U@dBE U@hBE PlEPEEEÐUEE E @%EEEEE E$t~E(tvE UBE UBE UBE EPE E PE U$BE U(BE EEUEtbE tZE @%@tJE EPU MAAU MAAE@EEÐUEEtvE tnE @%t^EtE U@pBE EEtE U@tBE EEtE PxEPE EEEEÐUEtBE t:E @t,Et$E U@BE PEPE EEÐUEt6E t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er out of rangeCRC errorBuffer error in compressed datastream in %s chunkData error in compressed datastream in %s chunkIncomplete compressed datastream in %s chunkinvalid chunklengthExceeded size limit while expanding chunkpng_inflate logic errorNot enough memory to decompress chunkUnknown zTXt compression type %dOut of place IHDRInvalid IHDR chunkMissing IHDR before PLTEInvalid PLTE after IDATDuplicate PLTE chunkIgnoring PLTE chunk in grayscale PNGInvalid palette chunkTruncating incorrect tRNS chunk lengthTruncating incorrect info tRNS chunk lengthNo image in fileIncorrect IEND chunk lengthMissing IHDR before gAMAInvalid gAMA after IDATOut of place gAMA chunkDuplicate gAMA chunkIncorrect gAMA chunk lengthIgnoring gAMA chunk with gamma=0Ignoring incorrect gAMA value when sRGB is also presentgamma = (%d/100000)Missing IHDR before sBITInvalid sBIT after IDATOut of place sBIT chunkDuplicate sBIT chunkIncorrect sBIT chunk lengthMissing IHDR before cHRMInvalid cHRM after IDATMissing PLTE before cHRMDuplicate cHRM chunkIncorrect cHRM chunk lengthIgnoring incorrect cHRM value when sRGB is also presentwx=%f, wy=%f, rx=%f, ry=%f gx=%f, gy=%f, bx=%f, by=%f Missing IHDR before sRGBInvalid sRGB after IDATOut of place sRGB chunkDuplicate sRGB chunkIncorrect sRGB chunk lengthUnknown sRGB intentincorrect gamma=(%d/100000) Missing IHDR before iCCPInvalid iCCP after IDATOut of place iCCP chunkDuplicate iCCP chunkMalformed iCCP chunkIgnoring nonzero compression type in iCCP chunkProfile size field missing from iCCP chunkIgnoring truncated iCCP profiledeclared profile size = %luactual profile length = %luNo space in chunk cache for sPLTMissing IHDR before sPLTInvalid sPLT after IDATmalformed sPLT chunksPLT chunk has bad lengthsPLT chunk too longsPLT chunk requires too much memoryMissing IHDR before tRNSInvalid tRNS after IDATDuplicate tRNS chunkIncorrect tRNS chunk lengthMissing PLTE before tRNSZero length tRNS chunktRNS chunk not allowed with alpha channelMissing IHDR before bKGDInvalid bKGD after IDATMissing PLTE before bKGDDuplicate bKGD chunkIncorrect bKGD chunk lengthIncorrect bKGD chunk index valueMissing IHDR before hISTInvalid hIST after IDATMissing PLTE before hISTDuplicate hIST chunkIncorrect hIST chunk lengthMissing IHDR before pHYsInvalid pHYs after IDATDuplicate pHYs chunkIncorrect pHYs chunk lengthMissing IHDR before oFFsInvalid oFFs after IDATDuplicate oFFs chunkIncorrect oFFs chunk lengthMissing IHDR before pCALInvalid pCAL after IDATDuplicate pCAL chunkNo memory for pCAL purposeInvalid pCAL dataInvalid pCAL parameters for equation typeUnrecognized equation type for pCAL chunkNo memory for pCAL paramsMissing IHDR before sCALInvalid sCAL after IDATDuplicate sCAL chunkOut of memory while processing sCAL chunkmalformed width string in sCAL chunkTruncated sCAL chunkmalformed height string in sCAL chunkInvalid sCAL dataOut of place tIME chunkDuplicate tIME chunkIncorrect tIME chunk lengthNo space in chunk cache for tEXtMissing IHDR before tEXtNo memory to process text chunkNot enough memory to process text chunkInsufficient memory to process text chunkNo space in chunk cache for zTXtMissing IHDR before zTXtOut of memory processing zTXt chunkTruncated zTXt chunkUnknown compression type in zTXt chunkNot enough memory to process zTXt chunkInsufficient memory to store zTXt chunkNo space in chunk cache for iTXtMissing IHDR before iTXtNo memory to process iTXt chunkTruncated iTXt chunkMalformed iTXt chunkNot enough memory to process iTXt chunkInsufficient memory to store iTXt chunkNo space in chunk cache for unknown chunkunknown critical chunkerror in user chunkinvalid chunk typeIgnoring bad adaptive filter typeNot enough image dataExtra compressed dataDecompression ErrorExtra compression dataRow has too many bytes to allocate in memory%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21pngrutil.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -o libpng14_la-pngrutil.o pngrutil.cXa;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7:4 /var/tmp/libpng-1.4.3pngrutil.c DD%wP    fp!C6 :C`R`rQP   p$ 4:BObr3!//<$LY'iv)g*g`, 1c4"5%48tD <T@gnDI`P0T.`Y!H Q=Q/ 8E N<v    ! !x !#8$] f!v$ !  !# $e n~ R &[ _ c g k o s     !   !  * !: u  ~ !    d  (  !   !@  I h  q !     !    !2  ; !K a  j !z     !% .!: ?+D,[-.  !7 @!^ g!w !0  ! $!R [!k !?Ys ! +,? D+I,23 ' 0!@[ d! ! ! !!g p! +, !5 (C L!\w ! !$7#>$$ ! !F"u$ !$ &!6 A Q!a l |!8$B K![w  !$7 6$$ !J$_ h! !# !S!:i!$!$! !! !!!" "! "D" M"!]"z"" "!"## #!# #!## $!$0$I$ R$!b$s$$<$ $$ %!%>% G%!W%{% %!%% %!%&'&& &!'>' '( (!((C( L(!\(( (!(( (!( )H)h)@) )) )!)) )!*%* .*!>*W*e**B+ +'+ 0+!@+e+ n+!~++ +!+++N,Dx, ,, ,!,, ,!,-$ -#A- J-!q---$. .!/.$/ /!5/$Z/ c/!/#/$/ /!M0 V0!l0$0$0F0$1$51 >1W1 `1!p11 1!11#1 1!2%232N2$2H2 2!2$,3 53!K3$m3H3 3!3$333 4!4$W4Im4$4 44 4!45 '5!75K5Y55K5"6 +6!;6W6 `66$6#6 6!67 7$7#7 7!7$%8MG8N`8$}8$8 8!88 9!9/9 89k9$|9#9 9!999$f: o:!:$: :!:" ;#; (;!>;$;N;$;$< <R<< <!<< <<$=#%= .=!U=c=~=$= =!>$> >!>$ ? ?!+?$~?"?M?#? ?!?$s@N@$@$@ @A2A ;A!KAiAsA}AAAARASA BGBB7BB B&CS3C WUWmWRzW WWXSX \X!X XX X!,Y 5Y!FYgYoYwYYYYYYYYYYYYYYYYYYZZZZ'Z/Z7Z?ZWZ[]$ ^\0^7^ ^^$^7-_Y4F E_ddd"eA+%v4x?xKzz>Wzeozoz, ` 6   /87 1287720141 0 0 100644 7188 ` ELF4(.strtab.text.bss.data.rodata.comment.debug_loc.debug_info.debug_line.debug_abbrev.symtabpngtrans.conebppswaptabletwobppswaptablefourbppswaptableBbss.bssDdata.dataDrodata.rodatapng_set_bgrpng_set_swappng_set_packingpng_set_packswappng_set_shiftpng_set_interlace_handlingpng_set_fillerpng_set_add_alphapng_set_swap_alphapng_set_invert_alphapng_set_invert_monopng_do_invertpng_do_swappng_do_packswappng_do_strip_fillerpng_do_bgrpng_set_user_transform_infopng_get_user_transform_ptr.rel.text.rel.debug_infoUEuEP\EP\ÐUEu!EuEP\EP\UEu/E}EP\EP\UÐUEu$E}EP\EP\ÐUEuJEP\EP\MU BmBnBoBpBqÐUEt*EtEP\EP\E EEÐUEuEP\EP\UE fEuEPXʀEPXEPXEPXEuUEuE|UÐUEu)EPE PEP EP\EP\ÐUEuEP\EP\ÐUEuEP\EP\ÐUEuEP\ EP\ÐU E@uJE EE@EEE;Es%E@ЋUBE@EE@EE;ErE@uXE@ uLE EE@EEE;Es)E@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eu&6FVfv'7GWgw(8HXhx )9IYiy *:JZjz +;K[k{ ,N^n~/?O_o%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21pngtrans.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -o libpng14_la-pngtrans.o pngtrans.cXa;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7:4 /var/tmp/libpng-1.4.3pngtrans.c DD%dop  !00`>3Y@D/>@8P$c$x!0@up  -P &] "4& `v "+6B+>Ni\0      /111 1287720141 0 0 100644 31212 ` ELFlw4(.strtab.text.bss.data.rodata.rodata1.comment.debug_loc.debug_info.debug_line.debug_abbrev.SUNW_cap.symtabpngwutil.cpng_text_compresspng_write_compressed_data_outBbss.bssDdata.dataDrodata.rodatapng_save_uint_32png_save_int_32png_save_uint_16png_write_sigpng_write_datapng_write_chunkpng_write_chunk_startpng_write_chunk_datapng_write_chunk_endmemcpypng_reset_crcpng_calculate_crcsnprintfpng_warningdeflatepng_errorpng_mallocpng_freedeflateResetpng_write_IHDRpng_zallocpng_zfreedeflateInit2_png_write_PLTEpng_write_IDATpng_write_IENDpng_write_gAMA__xtoulpng_write_gAMA_fixedpng_write_sRGBpng_write_iCCPpng_check_keywordpng_write_sPLTpng_write_sBITpng_write_cHRMpng_check_cHRM_fixedpng_write_cHRM_fixedpng_write_tRNSpng_write_bKGDpng_write_hISTstrlenpng_malloc_warnpng_write_tEXtpng_write_zTXtpng_write_iTXtpng_write_oFFspng_write_pCALpng_write_sCALpng_write_pHYspng_write_tIMEpng_write_start_rowpng_callocpng_write_finish_rowmemsetpng_do_write_interlacepng_write_find_filterpng_write_filtered_rowpng_write_flush.rel.text.rel.debug_infoUE %UBE %UBE %UBE %UBÐUE %UBE %UBE %UBE %UBÐUE %UBE %UBÐUEEEEEEEEEǀtEE؃PDPEP E}EPTEPTÐUEu9EPE PEP EPEPEP jEPÐUEuEǀt"EPEPjE PEP jEPEP UjE PP jEPjE PEP EǀtBÐUEu;E t0Ev(EPE PEP EPE PEP ÐUEu5EǀtEPEPjEPEP ÐU@]E@E@ E@E@E@EuEU PEUPEEE|+jjEPhj2EPEPEPEUPdEU P`EUBpEUBlEj`PEEt2E@xtE@xPEPhEPE@p0EU@;B E@ EE@UB E@t[E@EE@ PEPЋEPUEPEPBP EPEP"E@ PEPЋEPEPEP؋UEHBUEXJUEPPP E@U@BEUBpEUBlE@ddEj`PEEEE@p2EU@;B E@ EE@UB E@t]E@EE@ PEPЋEPUEPEPBP EPEP$E@ PEPЋEPEPEP؋UEHBUEXJUEPPP E@U@BEUBpEUBl;Et1E@xtE@xPEPhEPEVEUBEEU@p;sEU+BpU‰EEEE]ÐUE @tU E @PBPEP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E U‰EȋE;Es EEEPEPE~SEE;E}.EU܋EMBAE@E܋E;E|ҋUEMBA]ÐUEU P`EU@BdEj`PEEt2E@xtE@xPEPhEPE@pu>UEPPEP EUBlEUBpE@dZEt*EEEUEUjEPE@U@@E<v"EU@;<rjEPÉPNG  IHDRPLTEIDATIENDgAMAj@?gAMAsRGBiCCPsPLTsBITcHRMcHRMtRNSbKGDhISTtEXtzTXtiTXtoFFspCALsCALpHYstIMEUnknown compression type %dzlib errorInvalid bit depth for grayscale imageInvalid bit depth for RGB imageInvalid bit depth for paletted imageInvalid bit depth for grayscale+alpha imageInvalid bit depth for RGBA imageInvalid image color type specifiedInvalid compression type specifiedInvalid filter type specifiedInvalid interlace type specified1.2.5zlib failed to initialize compressor -- version errorzlib failed to initialize compressor -- stream errorzlib failed to initialize compressor -- mem errorzlib failed to initialize compressorInvalid number of colors in paletteIgnoring request to write a PLTE chunk in grayscale PNGInvalid zlib compression method or flags in IDATInvalid sRGB rendering intent specifiedUnknown compression type in iCCP chunkEmbedded profile length in iCCP chunk is negativeEmbedded profile length too large in iCCP chunkTruncating profile to actual length in iCCP chunkInvalid sBIT depth specifiedInvalid number of transparent colors specifiedIgnoring attempt to write tRNS chunk out-of-range for bit_depthIgnoring attempt to write 16-bit tRNS chunk when bit_depth is 8Can't write tRNS with an alpha channelInvalid background palette indexIgnoring attempt to write 16-bit bKGD chunk when bit_depth is 8Ignoring attempt to write bKGD chunk out-of-range for bit_depthInvalid number of histogram entries specifiedzero length keywordOut of memory while procesing keywordinvalid keyword character 0x%02Xtrailing spaces removed from keywordleading spaces removed from keywordextra interior spaces removed from keywordZero length keywordkeyword length must be 1 - 79 charactersEmpty language field in iTXt chunkUnrecognized unit type for oFFs chunkUnrecognized equation type for pCAL chunk%12.12eUnrecognized unit type for pHYs chunkInvalid time specified for tIME chunk%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21pngwutil.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -o libpng14_la-pngwutil.o pngwutil.cXa;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7:4 /var/tmp/libpng-1.4.3pngwutil.c DD%w R    FPF$ /H?UJjG~`f.=aL@[cdx@s !/ P ,3CP$RP%a&?p ))+,P-P.26 :1#PNP:        W .FTf  !! *!"#""> "%5#S"q"!  !#'#^o$      !E  N !}  !  !   !!  * !? L  U       & 2 &A 'b  (  !  !  !  !<@DHLPTi s }    !   =      !     I S ] g q }  -     +I S ] g q       /1Q Z # # a#     J1w-AUi}#    !   b k       -   -) / ;-G M Y-e k w-  -  -  -5(8HXhx     5(8HXhx      &I  5 >[e n      -Xl   ! ; Y  c  m  w       !F!:Y! b!!;! !" %"5"" "" ## ###$ $$ ($Y$ c$ m$ w$ $ $1$:$%%-%=%#Y% c% m% w% % %1%#&<&#3&:q&&&#&&& & & ' ' H'1m'1' '':':&(;(w(((()#)#)) 3) =) G) Q) a) j)z)))) ) ) ) ) * *!*1N*:y*"*:*+ +0+N+b+r+#++#++ + + , , ), 4,B,:b, p,,:,, , , , , , , --:-Y- c- m- w- - - --=.W. _. g. o. w. . . . . . . . . . . . . . . . . . / / / / '/ // /"0"E0Ey0"0"1"2 2 2 2 '2 /2 72 ?2 G2 O2 W2 _2 g2 o2 w2 2 2 2 2 2 2 2 2 2 2 2 2 2 4G5 85*5!5 5!5*5$6 6 6 6 '6 /6 76 ?6 G6 O6 W6 _6 g6 o6 B99999:MJyN N!N N!N*TOFOK4d O@T@T@T"Ur+Z]4`?`Ka>WaeobobJ f T \w /135 1287720142 0 0 100644 21092 ` ELF P4(.strtab.text.bss.data.rodata.rodata1.comment.debug_loc.debug_info.debug_line.debug_abbrev.symtabpngread.cBbss.bssDdata.dataDrodata.rodatapng_create_read_structpng_create_read_struct_2png_create_struct_2longjmppng_set_longjmp_fnsetjmpabortpng_set_mem_fnpng_set_error_fnpng_get_header_versnprintfpng_warningpng_malloc_warnpng_zallocpng_zfreeinflateInit_png_freepng_destroy_struct_2png_set_read_fnpng_read_infopng_read_datapng_sig_cmppng_errorpng_read_chunk_headermemcmppng_handle_IHDRpng_handle_IENDpng_handle_as_unknownpng_handle_unknownpng_handle_PLTEpng_handle_bKGDpng_handle_cHRMpng_handle_gAMApng_handle_hISTpng_handle_oFFspng_handle_pCALpng_handle_sCALpng_handle_pHYspng_handle_sBITpng_handle_sRGBpng_handle_iCCPpng_handle_sPLTpng_handle_tEXtpng_handle_tIMEpng_handle_tRNSpng_handle_zTXtpng_handle_iTXtpng_read_update_infopng_read_start_rowpng_read_transform_infopng_start_read_imagepng_read_rowpng_combine_rowpng_read_finish_rowpng_crc_finishpng_crc_readinflatepng_read_filter_rowmemcpypng_do_read_intrapixelpng_do_read_transformationspng_do_read_interlacepng_read_rowspng_read_imagepng_set_interlace_handlingpng_read_endpng_destroy_read_structpng_read_destroypng_free_datapng_info_destroyinflateEndmemsetpng_set_read_status_fnpng_read_pngpng_set_strip_16png_set_strip_alphapng_set_packswappng_get_validpng_set_expandpng_set_invert_monopng_get_sBITpng_set_shiftpng_set_bgrpng_set_swap_alphapng_set_swappng_set_invert_alphapng_set_gray_to_rgbpng_mallocpng_get_rowbytes.rel.text.rel.debug_infoUjjjEPEPE PEPEEÐUd]EEPEPj EEuEEǀH@BEǀL@BEǀPEj(hP jPtUjjE PEPEPRUjjEPEPE PREtiEEEXjjU;tEPXEPXjjUEE@EEEEuEPXEPXE@X%Et^EXjj@;uCE@1uEXjj@;uE@0E@9}Et+jjEPhjPEPUEPRjjjjPh8jPEPUEPREhpPEEuCEǀ UEPRЋEEuEEEUEE^EhPEvEhPEZEhPE>Ej8h`P } tt뽐{j먋Et@UEPREǀUEPE PR E4EUBlEUBpEjjP EEE]UtEtE u EEEE؃EEǀtU UEPB PEP UU EPEPB P tMEs4U EPEPB P thEPhEPEsEPTEPTEEEEEEEEE E E E E EEEEEEEEEEEEEEEEEEE E!E"E#E$E%E&E'E(E)E*E+E,E-E.E/E0E1E2E3E4E5E6E7E8E9E:E;E<E=E>E?E@EAEBECEDEEEFEGEHEIEJEKELEMENEOEPEQERESETEUEVEWEXEYEZE[E\E]E^E_E`EaEbEcEdEeEfEgEhEjEPEEEjEPEP u E@TtEPT EPTjEPEP uEPE PEP jEPEP uEPE PEP EPEPjEPEP uEPTEPTEPE PEP jEPEP uEPTEPTmjEPEP uUE@Tuh$EP.EuE@Tuh@EP jEPEP uEPE PEP jEPEP uqE@Tuh$EP.EuE@Tuh@EPEUEPTEPTNjEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP TjEPEP uEPE PEP $jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP djEPEP uEPE PEP 4jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP wjEPEP uEPE PEP GjEPEP uEPE PEP EPE PEP BÐUEuDE@X@ujEPh\EPE PEPÐUEuE@X@ujEPÐUP]iEjEkElEmEpEܡtExE|E血E졄EEEEġEȡE̡EСEԡE؋EuE@X@ujEPEuEuEE@\mEt;EtEDPEPEP jEP 1EuEs=EtEDPEPEP jEPEtKEt0EtEDPEPEP jEPAiEuEs=EtEDPEPEP jEPEtKEt0EtEDPEPEP jEPyEuEs=EtEDPEPEP jEP@EujEPEw$E@TuhEPEUBlE|!UEЉU"UEЍBEEU@BpE@dEucjEPjEPЋEUjEPP thEPEtEUBdEUB`EU;vEUBdUE@dPPEP EU+JdEEj`PEEuUE@puE@duEthEPEPTEPTEPX EPXHEt1E@xt E@xE EEPEPE@pQEUEUEUEUEUE|UEЉU UEЍBEEUE@t@]EEE@jPBPAPPEPMUE@PPP Et,E$@uUE@PPE@\uE@X%@tjEPEt{E@\tmE}jEPEtEDPEPEP E tEDPE PEP :E thE PEP EthEPEP jEPEt'MUEPPEPЃ ]ÌD pUEuE EEEEtdEt\EE;EsGE@EEEE@EEEEPEPEP E@EE;ErEtDEE;Es3E@EjEPEP EEE@EE;ErJEtBEE;Es3E@EEPjEP EEE@EE;ErÐUEujEPEEEEUEE;E}QE EEE;Es-Ej@PEP EEE@EE;ErӋE@EE;E|ÐUtEu jEPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE E E E E EEEEjEPEEEjEPEP uEPE PEP jEPEP uEPE PEP `EPEPtjEPEP u)EwE@T% th EPEPE PEP jEPEP uEPTEPTjEPEP uAEwE@T% th EPEPEPwjEPEP uEPE PEP DjEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP TjEPEP uEPE PEP $jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP djEPEP uEPE PEP 4jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP jEPEP uEPE PEP wjEPEP uEPE PEP GjEPEP uEPE PEP EPE PEP E@TÐUEEEEEEt E@EEuE0EE(EE t E @EEt E@EEPEPEP Et9jjjh@EPEPEPEPEP E @Et9jjjh@EPEPEPEPEP E@EtEPEPEP E@U@E tE PEPEtEPEPEPEPE4PEPEPEPEpPEPEPEPEPEPEPPEPETPEPEXPEPE%tEPEPEEE% tEtPEPEEEtEPEPEEE\thEDغHUEE;E}+EUċ\PEPE@EċE;E|ՋE\PEPE`thEDغHUEE;E}+EUċ`PEPE@EċE;E|ՋE`PEPEdthEDغHUEE;E}+EUċdPEPE@EċE;E|ՋEdPEPEPEPEj`PEPEPEPEPj(EPEP E@,EԋE@0EЋE@4E̋E0EhxjEP EUԉP,EUЉP0EỦP4EUȉ0j(EPEP ÐUEuEU ÐUEuE PEPE @=?vh$EPEtjEPEtjEPEtjEPEtCE|&EtjE PEP tjEPE tjEPE@t;jE PEP t$EPE PEP EPEPE%tjEPE%tjEPE%tjEPE%tjEPE% tjEPE PEPjjjj@E PEPE E @PEPЋE EE U;Ps%E UE@EE U;PrۋE @E EE U;P}@E PEPPEPȋE U E@EE U;P|E PEPE PE PE PEPEEEEIHDRIDATIENDPLTEbKGDcHRMgAMAhISTiCCPiTXtoFFspCALpHYssBITsCALsPLTsRGBtEXttIMEtRNSzTXtIDAT3U"UIHDRIDATIENDPLTEbKGDcHRMgAMAhISTiCCPiTXtoFFspCALpHYssBITsCALsPLTsRGBtEXttIMEtRNSzTXtApplication was compiled with png.h from libpng-%.20sApplication is running with png.c from libpng-%.20sIncompatible libpng version in application and libraryzlib memory errorzlib version errorUnknown zlib error1.2.5Not a PNG filePNG file corrupted by ASCII conversionMissing IHDR before IDATMissing PLTE before IDATIgnoring extra png_read_update_info() call; row buffer not reallocatedInvalid attempt to read row dataNot enough image dataExtra compressed dataDecompression errorToo many IDATs foundImage is too high to process with png_read_png()%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21pngread.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -o libpng14_la-pngread.o pngread.cXa;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.793 /var/tmp/libpng-1.4.3pngread.c DD%mwxy   ,0 0CLXhs} '=P`p 0@P`pS@.pv.5Lh~$@, #@P$ P(4p(ARfw#K: (5 @P[ a  "8 >V _ !w#$$ % %&0:DNXblv  *4>HR\fpz$.8BLV`jt~ (2<FPZdnx   " 0 &P ' ' ( ' ) * '( +: 'c '~  %  % ' , '"  + %R  [ % ' - ' . ' / '8 0O 'h 1 ' 2 ' 3 ' 4 '( 5? 'X 6o ' 7 ' 8 ' 9 ':/'H;_'x<'=+? *@e?| =?CDC-DCDCDNC\DCDD  &%E&' %lFG % .%FHmIJK L4C[CzCCDBBB[OBE#-7AKU_is} '1;EOYcmw !+5?IS]gq{%/9CMWaku #&C'\(s')*' %+ '7'\ e%uE','-' . '8 /O 'h 0 ' 1 ' 2 ' 3!'(!4?!'X!5o!'!6!'!7!'!8!'"9/"'H":_"'x";"'"<"'"="+#R#S# $S$ =$ g$T$T$$$$$%%/%E%n%%%T&y&&&@'e'{''U'''I(V=(I("( (%(Y(Z([1)\D)]])^z)\)_)`)a)b)c*d**e:*>R*S~*f*g+f=+N_+P 4N t+222"3U+m54.8?.8K9=W9e:4 @h > O /158 1287720142 0 0 100644 2988 ` ELFP 4(.strtab.text.bss.data.rodata.rodata1.comment.debug_loc.debug_info.debug_line.debug_abbrev.symtabpngrio.cBbss.bssDdata.dataDrodata.rodatapng_read_datapng_errorpng_default_read_datafreadpng_set_read_fnpng_warning.rel.text.rel.debug_infoUE@<tUEPE PEPB<Ѓ hEPÐUEu9Ejj@@PEPjE PEE;EthEPÐUEuoEU P@Et EUP< EPE@ uh4EPUEjj@ PBPEPEPEEU E ЋE;EPTEPT]ÐU\]u}EtE uE PEPE @tU E @PBPEP E @uhXEPE @E@\%tYE @uMEE @U;}8E @LE@ڋE HLMAE@EE @U;|ȋ] M E PE @jPRAPPCLPEPE @ tU E @PBZPEP E @@tU E @PB|PEP E @%t&M U E @ljjPBhPAdPEPE @%tjE E؋E EE EE E U E jjPPQSE苀PEPE؋PEP(E @%@t9E M U PPPPSEPE @%t&M U E @xjjPBtPApPEPE @%t%E PEЋUȋDPEUDPEUPEPM U؍+؋A8TM U؍+؋A8M UEU+ЉUA8EM U+y8M U؍+؋A8jPjD>PEUDPEPM U؍+؋A8M U؍+؋A8unM U+y8M U؍+؋A8jjjDPD>PEPM U؍+؋A8E@E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PEPEPEP E@ÐU8Ej`PEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPEPj(EPEP E@,EԋE@0EЋE@4E̋E0EhxjEP EUԉP,EUЉP0EỦP4EUȉ0j(EPEP ÐUEuEtE @uE E vhEPUgUTU DU@4U$UEE%w$EEtAEu3E@PEPЋEEPE txEujEu)hEPEߋU3E@PEPЋEEPE@tzEulEu+hEPE࿋U5E@PEPЋEEPE%txEujEu)hEPEU3E@PEPЋEEPEuUh EPATdt000U EuE |h@EPE uE E|EtE uEUEUE EEuMEPEPЋEEE;E}#EUBE@EE;E|݋EEEPEPЋEEEPEPЋEEE;E}9EMfJEMfJE@EE;E|EE;EUEz1s/EMfJEMfJiUE ]EЋEMfHUE4]EЋEMfHE@EE;EAEuzj EPЋEj EPЋEEE}9EMfJEMfJE@EE|EEEtUEz/s-EMfJEMfJ~UEzhrfUE 4]EЋEMfHUE ]EЋEMfHE@EE$ÐUEuEPXEPXEU ÐUEuEPXEPXEU ÐUEuEPXEPXEU ÐUEusE ~h`EPE }hEPE uhEPE EPXEPXEU ÐUEu7E thEPEPXEPXEU ÐUEuEU ÐUEuEP\EP\EU PHÐUEtE uqE PEPE tjEPE@t!E @tE DPEPEtjEPE%tjEPE%tjjEP E%tjjEP E%tjEPE%tjEPEtjEPE%tjEPE @%tE PEPE PEPEEEEp@?? @MNG features are not allowed in a PNG datastreamWriting zero-length unknown chunkValid palette required for paletted imagesNo IDATs written into fileApplication was compiled with png.h from libpng-%.20sApplication is running with png.c from libpng-%.20sIncompatible libpng version in application and librarypng_write_info was never called before png_write_rowzlib errorUnknown row filter for method 0Can't add Up filter after startingCan't add Average filter after startingCan't add Paeth filter after startingUnknown custom filter methodUnknown filter heuristic methodOnly compression windows <= 32k supported by PNGOnly compression windows >= 256 supported by PNGCompression window is being reset to 512Only compression method 8 is supported by PNG%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21pngwrite.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -o libpng14_la-pngwrite.o pngwrite.cXa;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7:4 /var/tmp/libpng-1.4.3pngwrite.c DD%w    d!0?Uept#2AP 1O^Ty) ,P&9BR[p @X@ *G_u`8S,0 "-: #-XP#-u#$F`$$-$ (;JVct;a jXt   !"#$1%&'k( )  {   % ' (( ) "o+.,=0k1234567$8M888 9'84 ?9OZ `:;<=)>q@B@ CDDLDDDDD6EqFDGHI>BFJNRVL  IMMNP;<Q<@RV;l;;;;;;;;;2;H;^;pESE1 :UL UU Ud mU  = FU# UE U ! !!V3!W4eo5o 5 ;  A  /226 1287720142 0 0 100644 46004 ` ELF04(.strtab.text.bss.data.rodata.rodata1.comment.debug_loc.debug_info.debug_line.debug_abbrev.SUNW_cap.symtabpngrtran.cpng_gamma_shiftBbss.bssDdata.dataDrodata.rodatapng_set_crc_actionpng_warningpng_set_backgroundmemcpypng_set_strip_16png_set_strip_alphapng_set_quantizepng_mallocabspng_freepng_callocpng_malloc_warnmemsetpng_set_gammafabspng_set_expandpng_set_palette_to_rgbpng_set_expand_gray_1_2_4_to_8png_set_tRNS_to_alphapng_set_gray_to_rgbpng_set_rgb_to_gray__xtolpng_set_rgb_to_gray_fixedpng_set_read_user_transform_fnpng_init_read_transformationspng_build_gamma_tablepowpng_read_transform_infopng_do_read_transformationssnprintfpng_errorpng_do_expand_palettepng_do_expandpng_do_strip_fillerpng_do_rgb_to_graypng_do_gray_to_rgbpng_do_backgroundpng_do_gammapng_do_choppng_do_quantizepng_do_invertpng_do_unshiftpng_do_unpackpng_do_bgrpng_do_packswappng_do_read_fillerpng_do_read_invert_alphapng_do_read_swap_alphapng_do_swappng_build_grayscale_palette__xtoulpng_do_read_intrapixel.rel.text.rel.debug_infoUEu?EPXEPXEPXEPXaEPXEPXEPX EPX9hEPEPXEPXE w$QEPXEPXEPXEPXuEPXEPXEPXEPXMEPXEPXEPXEPX%EPXEPXEw$iÁp H,,UEuEuh,EPsEP\ʀEP\Uj E P$P E]EE٘ UEEt EEEP\ UEP\ÐUEuEP\EP\ÐUEuEPX@EPXÐU|Eu EP\@EP\EuKEPEPЋEEE;E}!EUEBE@EE;E|ߋE;E EEPEPЋE8EE;E}!E8UEBE@EE;E|ߋEHEE;EEEE;EE8EPE PE8EPEP;}LE8E@EE8UE8MBAE8UEBEE@EE;EoEtEHEE;E5EEEEE;E}kE8E@;E|GEHEE8E@;E}EU @ЋEM @BABABAE@EE;E|EEEE;EE8E@;EEHEE8E@;E}EU @BEBEBEEU @ЋEM @BABABAEU @EBEBEBEUEBEUEBE@EE;E)EE;EEE@;ErEE@EEU @RE @+jR؋EU @RE @+j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O_@?@Can't discard critical data on CRC errorApplication must supply a known background gammaignoring out of range rgb_to_gray coefficientsNULL row buffer for row %ld, pass %dpng_do_rgb_to_gray found nongray pixelpng_do_quantize returned rowbytes=0%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21pngrtran.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -o libpng14_la-pngrtran.o pngrtran.cXa;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7:4 /var/tmp/libpng-1.4.3pngrtran.c DD%w8$    Q@$ p$ /:>GRbiw|03p33& &PD 0-?`c]P sw*.*}V0ME  0I@ZL.v+;@;GWe8<t5A@?1;HPY@q zKQUY]aeimquy} ?;`2E 2 L    U p  zgmy&&'@ $(,t*#19AIgp{+"&AOf+u{&+& 0+?EQ&p~+&+ &T!e!m!u!}!!!!!!";"W"y"+""&""+""&o##+##&##+ $$&;$]$+o${$&$$+$$&%)%+;%G%&m%%+%%&******. .../X/0/1/102=03p0 y00 0/0415F26s27282 2/3983:c3;3<3=34=4>j4?4@4A77777js"ȄՊي݊:IQb+Ž&CZ+io{&ȏߏ&+5;G&bHNk+C˓(+7=I&ƔO]t+&%TvӖ+&4A GǝǝН"p+t45?5Kɣ>Weo o0P'  1   /250 1287720142 0 0 100644 7028 ` ELF@4(.strtab.text.bss.data.rodata.comment.debug_loc.debug_info.debug_line.debug_abbrev.symtabpngwtran.cBbss.bssDdata.dataDrodata.rodatapng_do_write_transformationspng_do_strip_fillerpng_do_packswappng_do_packpng_do_swappng_do_shiftpng_do_write_swap_alphapng_do_write_invert_alphapng_do_bgrpng_do_invertpng_do_write_intrapixel.rel.text.rel.debug_infoUEuE@\%t/E@Ht$MUE@PPEPAHЃ E@\%t&MEE@XPBPP E@\%tUE@PPE@\t*MEEPBPP E@\tUE@PPE@\t(MEEmPBPP E@\%tUE@PPE@\%tUE@PPE@\tUE@PPE@\ tUE@PPÐUE@ E@ |E@EE EE EEEEE;Es[E@t E EEE@EE~ EEEEUBE@EEE@EE;ErE=t EUBoE@EE EE EEEEE;EseE@EEMU ЉUEu EEUBE@EE EEE@EE@EE;ErEt EUBE@EE EE EEEEE;EseE@EEMU ЉUEu EEUBE@EE EEE@EE@EE;ErEt EUBEHw$UEB E@ UЋEP E@ |UE@ RЉUUE@ RЍBEEUP,@U@]E@TEE@EP E@+ЋE܉TEPE܉TE@E܋EP E@+ЋE܉TEPE܉TE@E܋EP E@+ЋE܉TEPE܉TE@E/EP E@+ЋE܉TEPE܉TE@E܋E@t,EP E@+ЋE܉TEPE܉TE@E܋E@ %E E؋E@E̋E@uE@ u UE,E@ uE@u E EEE;EE@fEʸU؈BEEċE؋U;~gEă~%EPEʋM% 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% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21pngwtran.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -o libpng14_la-pngwtran.o pngwtran.cXa;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.7:4 /var/tmp/libpng-1.4.3pngwtran.c DD%dopqz{  r@ O 43>L~Dq<  4~ "+F6FB>N\0d p n 0  /274 1287720142 0 0 100644 3916 ` ELF 4(.strtab.text.bss.data.rodata.rodata1.comment.debug_loc.debug_info.debug_line.debug_abbrev.symtabpngmem.cBbss.bssDdata.dataDrodata.rodatapng_create_structpng_create_struct_2memsetmallocpng_destroy_structpng_destroy_struct_2freepng_callocpng_mallocpng_malloc_defaultpng_errorpng_freepng_free_defaultpng_malloc_warnpng_set_mem_fnpng_get_mem_ptr.rel.text.rel.debug_infoUjjEP EEÐUEu E "Eu ExEE tT|xxU(EPxPE ЃEEtEPjEP EE2jEPEEtEPjEP EEEÐUjjEP ÐU|EtIE t3U(EPPE ЃjEPÐUE PEPEEtE PjEP EEEÐUEtE u EoE,tUE PEP,ЃEE PEPEEu!E@X%uhEPEEEÐUEtE u E,E ;E t EjE PEEEEUEtE u;E0tUE PEP0ЃE PEPÐUEtE ujE PÐU Eu E>E@XEEPXEPXE PEPEEUPXEEEÐUEt$EU (EU,EU0ÐUEu E E(EEOut of Memory%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI@(#)math.h 2.26 08/09/11 SMI@(#)math_iso.h 1.10 05/10/06 SMI@(#)math_c99.h 1.12 07/01/21 SMI@(#)floatingpoint.h 2.12 07/05/17 SMI@(#)ieeefp.h 2.13 05/10/06 SMIacomp: Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-03 2009/09/21pngmem.c /var/tmp/libpng-1.4.3 /opt/sunstudio12.1/prod/bin/cc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/var/tmp/jpeg-8b -L/usr/local/lib -L/usr/local/lib/X11 -DSTDINT_TYPES_DEFINED -c -o libpng14_la-pngmem.o pngmem.cXa;R=Sun C 5.10 SunOS_i386 Patch 142363-01 2009/07/15;backend;raw;cd;DBG_GEN 5.2.782 /var/tmp/libpng-1.4.3pngmem.c DD%mvwx    \p>PP-7R@(Q0Za1p)c( 1l 4 "+4?K) <We e|  l x   /296 1287720142 0 0 100644 3988 ` ELF< 4(.strtab.text.bss.data.rodata.rodata1.comment.debug_loc.debug_info.debug_line.debug_abbrev.symtabpngerror.cpng_default_errorpng_default_warningpng_format_bufferpng_digitBbss.bssDdata.dataDrodata.rodatapng_errorpng_warningmemcpypng_chunk_errorpng_chunk_warningpng_set_longjmp_fn__iobfprintfabortpng_set_error_fnpng_get_error_ptr.rel.text.rel.debug_infoUEtE@,tUE PEPB,ЃE PEPÐUEEt>E @#u2EE}#E E@ uE@EE|݋Et%E@0tUE EPEPB0ЃE EPEPÐU EEEEEEE@EEA|EzEZ~uEa}mU U[BE@EE%U UBE@EEU UBE@EU U]BE@EEU UBE@EEW e p z ,  /320 1287720142 0 0 100644 23316 ` ELFX4(.strtab.text.bss.data.rodata.rodata1.comment.debug_loc.debug_info.debug_line.debug_abbrev.symtabpngpread.cBbss.bssDdata.dataDrodata.rodatapng_process_datapng_push_restore_bufferpng_process_some_datapng_push_read_sigpng_push_read_chunkpng_push_read_IDATpng_push_read_tEXtpng_push_read_zTXtpng_push_read_iTXtpng_push_crc_finishpng_push_fill_bufferpng_sig_cmppng_errorpng_push_save_bufferpng_get_uint_31png_reset_crcpng_crc_readpng_check_chunk_namememcmppng_handle_IHDRpng_handle_IENDpng_push_have_endpng_handle_as_unknownpng_handle_unknownpng_handle_PLTEpng_push_have_infopng_handle_gAMApng_handle_sBITpng_handle_cHRMpng_handle_sRGBpng_handle_iCCPpng_handle_sPLTpng_handle_tRNSpng_handle_bKGDpng_handle_hISTpng_handle_pHYspng_handle_oFFspng_handle_pCALpng_handle_sCALpng_handle_tIMEpng_push_handle_tEXtpng_push_handle_zTXtpng_push_handle_iTXtpng_push_handle_unknownpng_push_crc_skippng_calculate_crcpng_crc_finishmemcpypng_malloc_warnpng_freepng_process_IDAT_datainflatepng_warningpng_push_process_rowpng_read_filter_rowpng_do_read_transformationspng_do_read_interlacepng_push_have_rowpng_read_push_finish_rowmemsetpng_mallocpng_set_text_2inflateResetstrlenpng_chunk_errorpng_set_unknown_chunkspng_progressive_combine_rowpng_combine_rowpng_set_progressive_read_fnpng_set_read_fnpng_get_progressive_ptr.rel.text.rel.debug_infoUEtE uCEPEPEP EtE PEPEuÐUEuE PEPE PEPjEPqE PEP_E PEPKE PEP7jEP%EǀEw$+xUEEE؃EE;Es EEU UEPB PEP EUMˆU EPEPB P tNEs2U EPEPB P thEPhEPE| EǀÐUpEEEEEEEEE E E E E EEEEEEEEEEEEEEEEEEE E!E"E#E$E%E&E'E(E)E*E+E,E-E.E/E0E1E2E3E4E5E6E7E8E9E:E;E<E=E>E?E@EAEBECEDEEEFEGEHEIEJEKELEMENEOEPEQERESETEUEVEWEXEYEZE[E\E]E^E_E`EaEbEcEdEeEfEgEhEE@T%EsjEP jEPEP EPEPЋEjEPEjPEP EPEPEPTEPTUjEPP u E@TtEPT EPTUjEPP uiE th8EPEU;vjEP EPE PEP UjEPP ugEU;vjEPy EPE PEP EǀE PEP* EPEPEU;vjEP UjEPP uEPTEPTEPE PEP UjEPP uEPTEPTnUjEPP uQE@TuhLEP0EuE@TuhhEPUjEPP uKEU;vjEPEPE PEP UjEPP OE@TuhLEP0EuE@TuhhEPE@TtCE@T% uEuE@TthEPEUEPTEPTEǀE PEPE| UEЉU!UEЍBEEU@BpEUBl7UjEPP uKEU;vjEPEPE PEP UjEPP uKEU;vjEPEPE PEP SUjEPP uKEU;vjEPEPE PEP UjEPP uKEU;vjEPEPE PEP UjEPP uKEU;vjEPMEPE PEP UjEPP uKEU;vjEPEPE PEP UjEPP uKEU;vjEP}EPE PEP KUjEPP uKEU;vjEPEPE PEP UjEPP uKEU;vjEPEPE PEP {UjEPP uKEU;vjEPEEPE PEP UjEPP uKEU;vjEPEPE PEP UjEPP uKEU;vjEPuEPE PEP CUjEPP uKEU;vjEP EPE PEP UjEPP uKEU;vjEPEPE PEP sUjEP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UEtUE PEPЃÐUEtUE PEPЃÐUEt/MUEjjPPE PEPЃÐUEEEEEEEEu'EtEDPE PEP ÐUEu>  ?I@Q Zz>@> $;e!   ;<UA 7<QA=' 0B3 <CI R CD C(EO>xFGH I] Hk I H I)!H7!Ir!H!I!H!IB"HP"I"H"I#H#Ij#Hx#I#H#I:$HH$I$H$I$H$I&%H4%Io%H}%I%H%I%H%I%&H&I"&&&*&.&2&6&:&G&O&W&_&g&o&w&&&&&&&&&&&&&&&&&&'''''J0) 9)P)K*o***K)+L<+@L+@i+ r+C+ ++K,,,X-@-@.B<.Mc.@s.@.K.>.>R/Ki/>y/@/>!0MP0@`0@0@0K0L0@1@1 (1C`1 i11KG2223K3N4L54@E4 N4C4%4 4O4>)5KN55 5O5%5 5O5P6P26@W6;77'7/777?7G7x7R77T 4 8===">t+HA4 D? DKE>WEeE`u TKX  X 070701000a979e000041ed0000000000000000000000024cc10e4800000000000000b600010002ffffffffffffffff0000001d00000000root/usr/local/lib/pkgconfig070701000a979f000081a40000000000000000000000014cc10ccf000000f5000000b600010002ffffffffffffffff0000002900000000root/usr/local/lib/pkgconfig/libpng14.pcprefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include/libpng14 Name: libpng Description: Loads and saves PNG files Version: 1.4.3 Libs: -L${libdir} -lpng14 Libs.private: -lz -lm Cflags: -I${includedir} 070701000a979c000081ed0000000000000000000000014cc10ccf000003d1000000b600010002ffffffffffffffff0000001f00000000root/usr/local/lib/libpng14.la# libpng14.la - a libtool library file # Generated by ltmain.sh (GNU libtool) 2.2.6b # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libpng14.so.14' # Names of this library. library_names='libpng14.so.14.3.0 libpng14.so.14 libpng14.so' # The name of the static archive. old_library='libpng14.a' # Linker flags that can not go in dependency_libs. inherited_linker_flags='' # Libraries that this one depends upon. dependency_libs=' -L/usr/local/lib -L/usr/local/lib/X11 -lz -lm' # Names of additional weak libraries provided by this library weak_library_names='' # Version information for libpng14. current=17 age=3 revision=0 # Is this an already installed library? installed=yes # Should we warn about portability when linking against -modules? shouldnotlink=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/local/lib' 070701000a9796000041ed0000000000000000000000034cc10e4800000000000000b600010002ffffffffffffffff0000001700000000root/usr/local/include070701000a9797000041ed0000000000000000000000024cc10e4800000000000000b600010002ffffffffffffffff0000002000000000root/usr/local/include/libpng14070701000a9798000081a40000000000000000000000014cc10ccf0001d0ca000000b600010002ffffffffffffffff0000002600000000root/usr/local/include/libpng14/png.h /* png.h - header file for PNG reference library * * libpng version 1.4.3 - June 26, 2010 * Copyright (c) 1998-2010 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released under the libpng license (See LICENSE, below) * * Authors and maintainers: * libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat * libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger * libpng versions 0.97, January 1998, through 1.4.3 - June 26, 2010: Glenn * See also "Contributing Authors", below. * * Note about libpng version numbers: * * Due to various miscommunications, unforeseen code incompatibilities * and occasional factors outside the authors' control, version numbering * on the library has not always been consistent and straightforward. * The following table summarizes matters since version 0.89c, which was * the first widely used release: * * source png.h png.h shared-lib * version string int version * ------- ------ ----- ---------- * 0.89c "1.0 beta 3" 0.89 89 1.0.89 * 0.90 "1.0 beta 4" 0.90 90 0.90 [should have been 2.0.90] * 0.95 "1.0 beta 5" 0.95 95 0.95 [should have been 2.0.95] * 0.96 "1.0 beta 6" 0.96 96 0.96 [should have been 2.0.96] * 0.97b "1.00.97 beta 7" 1.00.97 97 1.0.1 [should have been 2.0.97] * 0.97c 0.97 97 2.0.97 * 0.98 0.98 98 2.0.98 * 0.99 0.99 98 2.0.99 * 0.99a-m 0.99 99 2.0.99 * 1.00 1.00 100 2.1.0 [100 should be 10000] * 1.0.0 (from here on, the 100 2.1.0 [100 should be 10000] * 1.0.1 png.h string is 10001 2.1.0 * 1.0.1a-e identical to the 10002 from here on, the shared library * 1.0.2 source version) 10002 is 2.V where V is the source code * 1.0.2a-b 10003 version, except as noted. * 1.0.3 10003 * 1.0.3a-d 10004 * 1.0.4 10004 * 1.0.4a-f 10005 * 1.0.5 (+ 2 patches) 10005 * 1.0.5a-d 10006 * 1.0.5e-r 10100 (not source compatible) * 1.0.5s-v 10006 (not binary compatible) * 1.0.6 (+ 3 patches) 10006 (still binary incompatible) * 1.0.6d-f 10007 (still binary incompatible) * 1.0.6g 10007 * 1.0.6h 10007 10.6h (testing xy.z so-numbering) * 1.0.6i 10007 10.6i * 1.0.6j 10007 2.1.0.6j (incompatible with 1.0.0) * 1.0.7beta11-14 DLLNUM 10007 2.1.0.7beta11-14 (binary compatible) * 1.0.7beta15-18 1 10007 2.1.0.7beta15-18 (binary compatible) * 1.0.7rc1-2 1 10007 2.1.0.7rc1-2 (binary compatible) * 1.0.7 1 10007 (still compatible) * 1.0.8beta1-4 1 10008 2.1.0.8beta1-4 * 1.0.8rc1 1 10008 2.1.0.8rc1 * 1.0.8 1 10008 2.1.0.8 * 1.0.9beta1-6 1 10009 2.1.0.9beta1-6 * 1.0.9rc1 1 10009 2.1.0.9rc1 * 1.0.9beta7-10 1 10009 2.1.0.9beta7-10 * 1.0.9rc2 1 10009 2.1.0.9rc2 * 1.0.9 1 10009 2.1.0.9 * 1.0.10beta1 1 10010 2.1.0.10beta1 * 1.0.10rc1 1 10010 2.1.0.10rc1 * 1.0.10 1 10010 2.1.0.10 * 1.0.11beta1-3 1 10011 2.1.0.11beta1-3 * 1.0.11rc1 1 10011 2.1.0.11rc1 * 1.0.11 1 10011 2.1.0.11 * 1.0.12beta1-2 2 10012 2.1.0.12beta1-2 * 1.0.12rc1 2 10012 2.1.0.12rc1 * 1.0.12 2 10012 2.1.0.12 * 1.1.0a-f - 10100 2.1.1.0a-f (branch abandoned) * 1.2.0beta1-2 2 10200 2.1.2.0beta1-2 * 1.2.0beta3-5 3 10200 3.1.2.0beta3-5 * 1.2.0rc1 3 10200 3.1.2.0rc1 * 1.2.0 3 10200 3.1.2.0 * 1.2.1beta1-4 3 10201 3.1.2.1beta1-4 * 1.2.1rc1-2 3 10201 3.1.2.1rc1-2 * 1.2.1 3 10201 3.1.2.1 * 1.2.2beta1-6 12 10202 12.so.0.1.2.2beta1-6 * 1.0.13beta1 10 10013 10.so.0.1.0.13beta1 * 1.0.13rc1 10 10013 10.so.0.1.0.13rc1 * 1.2.2rc1 12 10202 12.so.0.1.2.2rc1 * 1.0.13 10 10013 10.so.0.1.0.13 * 1.2.2 12 10202 12.so.0.1.2.2 * 1.2.3rc1-6 12 10203 12.so.0.1.2.3rc1-6 * 1.2.3 12 10203 12.so.0.1.2.3 * 1.2.4beta1-3 13 10204 12.so.0.1.2.4beta1-3 * 1.0.14rc1 13 10014 10.so.0.1.0.14rc1 * 1.2.4rc1 13 10204 12.so.0.1.2.4rc1 * 1.0.14 10 10014 10.so.0.1.0.14 * 1.2.4 13 10204 12.so.0.1.2.4 * 1.2.5beta1-2 13 10205 12.so.0.1.2.5beta1-2 * 1.0.15rc1-3 10 10015 10.so.0.1.0.15rc1-3 * 1.2.5rc1-3 13 10205 12.so.0.1.2.5rc1-3 * 1.0.15 10 10015 10.so.0.1.0.15 * 1.2.5 13 10205 12.so.0.1.2.5 * 1.2.6beta1-4 13 10206 12.so.0.1.2.6beta1-4 * 1.0.16 10 10016 10.so.0.1.0.16 * 1.2.6 13 10206 12.so.0.1.2.6 * 1.2.7beta1-2 13 10207 12.so.0.1.2.7beta1-2 * 1.0.17rc1 10 10017 12.so.0.1.0.17rc1 * 1.2.7rc1 13 10207 12.so.0.1.2.7rc1 * 1.0.17 10 10017 12.so.0.1.0.17 * 1.2.7 13 10207 12.so.0.1.2.7 * 1.2.8beta1-5 13 10208 12.so.0.1.2.8beta1-5 * 1.0.18rc1-5 10 10018 12.so.0.1.0.18rc1-5 * 1.2.8rc1-5 13 10208 12.so.0.1.2.8rc1-5 * 1.0.18 10 10018 12.so.0.1.0.18 * 1.2.8 13 10208 12.so.0.1.2.8 * 1.2.9beta1-3 13 10209 12.so.0.1.2.9beta1-3 * 1.2.9beta4-11 13 10209 12.so.0.9[.0] * 1.2.9rc1 13 10209 12.so.0.9[.0] * 1.2.9 13 10209 12.so.0.9[.0] * 1.2.10beta1-7 13 10210 12.so.0.10[.0] * 1.2.10rc1-2 13 10210 12.so.0.10[.0] * 1.2.10 13 10210 12.so.0.10[.0] * 1.4.0beta1-5 14 10400 14.so.0.0[.0] * 1.2.11beta1-4 13 10211 12.so.0.11[.0] * 1.4.0beta7-8 14 10400 14.so.0.0[.0] * 1.2.11 13 10211 12.so.0.11[.0] * 1.2.12 13 10212 12.so.0.12[.0] * 1.4.0beta9-14 14 10400 14.so.0.0[.0] * 1.2.13 13 10213 12.so.0.13[.0] * 1.4.0beta15-36 14 10400 14.so.0.0[.0] * 1.4.0beta37-87 14 10400 14.so.14.0[.0] * 1.4.0rc01 14 10400 14.so.14.0[.0] * 1.4.0beta88-109 14 10400 14.so.14.0[.0] * 1.4.0rc02-08 14 10400 14.so.14.0[.0] * 1.4.0 14 10400 14.so.14.0[.0] * 1.4.1beta01-03 14 10401 14.so.14.1[.0] * 1.4.1rc01 14 10401 14.so.14.1[.0] * 1.4.1beta04-12 14 10401 14.so.14.1[.0] * 1.4.1rc02-04 14 10401 14.so.14.1[.0] * 1.4.1 14 10401 14.so.14.1[.0] * 1.4.2beta01 14 10402 14.so.14.2[.0] * 1.4.2rc02-06 14 10402 14.so.14.2[.0] * 1.4.2 14 10402 14.so.14.2[.0] * 1.4.3beta01-05 14 10403 14.so.14.3[.0] * 1.4.3rc01-03 14 10403 14.so.14.3[.0] * 1.4.3 14 10403 14.so.14.3[.0] * * Henceforth the source version will match the shared-library major * and minor numbers; the shared-library major version number will be * used for changes in backward compatibility, as it is intended. The * PNG_LIBPNG_VER macro, which is not used within libpng but is available * for applications, is an unsigned integer of the form xyyzz corresponding * to the source version x.y.z (leading zeros in y and z). Beta versions * were given the previous public release number plus a letter, until * version 1.0.6j; from then on they were given the upcoming public * release number plus "betaNN" or "rcN". * * Binary incompatibility exists only when applications make direct access * to the info_ptr or png_ptr members through png.h, and the compiled * application is loaded with a different version of the library. * * DLLNUM will change each time there are forward or backward changes * in binary compatibility (e.g., when a new feature is added). * * See libpng.txt or libpng.3 for more information. The PNG specification * is available as a W3C Recommendation and as an ISO Specification, * defines should NOT be changed. */ #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 /* GR-P, 0.96a */ #define PNG_INFO_iCCP 0x1000 /* ESR, 1.0.6 */ #define PNG_INFO_sPLT 0x2000 /* ESR, 1.0.6 */ #define PNG_INFO_sCAL 0x4000 /* ESR, 1.0.6 */ #define PNG_INFO_IDAT 0x8000L /* ESR, 1.0.6 */ /* This is used for the transformation routines, as some of them * change these values for the row. It also should enable using * the routines for other purposes. */ typedef struct png_row_info_struct { png_uint_32 width; /* width of row */ png_size_t rowbytes; /* number of bytes in row */ png_byte color_type; /* color type of row */ png_byte bit_depth; /* bit depth of row */ png_byte channels; /* number of channels (1, 2, 3, or 4) */ png_byte pixel_depth; /* bits per pixel (depth * channels) */ } png_row_info; typedef png_row_info FAR * png_row_infop; typedef png_row_info FAR * FAR * png_row_infopp; /* These are the function types for the I/O functions and for the functions * that allow the user to override the default I/O functions with his or her * own. The png_error_ptr type should match that of user-supplied warning * and error functions, while the png_rw_ptr type should match that of the * user read/write data functions. */ typedef struct png_struct_def png_struct; typedef png_struct FAR * png_structp; typedef void (PNGAPI *png_error_ptr) PNGARG((png_structp, png_const_charp)); typedef void (PNGAPI *png_rw_ptr) PNGARG((png_structp, png_bytep, png_size_t)); typedef void (PNGAPI *png_flush_ptr) PNGARG((png_structp)); typedef void (PNGAPI *png_read_status_ptr) PNGARG((png_structp, png_uint_32, int)); typedef void (PNGAPI *png_write_status_ptr) PNGARG((png_structp, png_uint_32, int)); #ifdef PNG_PROGRESSIVE_READ_SUPPORTED typedef void (PNGAPI *png_progressive_info_ptr) PNGARG((png_structp, png_infop)); typedef void (PNGAPI *png_progressive_end_ptr) PNGARG((png_structp, png_infop)); typedef void (PNGAPI *png_progressive_row_ptr) PNGARG((png_structp, png_bytep, png_uint_32, int)); #endif #if defined(PNG_READ_USER_TRANSFORM_SUPPORTED) || \ defined(PNG_WRITE_USER_TRANSFORM_SUPPORTED) typedef void (PNGAPI *png_user_transform_ptr) PNGARG((png_structp, png_row_infop, png_bytep)); #endif #ifdef PNG_USER_CHUNKS_SUPPORTED typedef int (PNGAPI *png_user_chunk_ptr) PNGARG((png_structp, png_unknown_chunkp)); #endif #ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED typedef void (PNGAPI *png_unknown_chunk_ptr) PNGARG((png_structp)); #endif #ifdef PNG_SETJMP_SUPPORTED /* This must match the function definition in , and the * application must include this before png.h to obtain the definition * of jmp_buf. */ typedef void (PNGAPI *png_longjmp_ptr) PNGARG((jmp_buf, int)); #endif /* Transform masks for the high-level interface */ #define PNG_TRANSFORM_IDENTITY 0x0000 /* read and write */ #define PNG_TRANSFORM_STRIP_16 0x0001 /* read only */ #define PNG_TRANSFORM_STRIP_ALPHA 0x0002 /* read only */ #define PNG_TRANSFORM_PACKING 0x0004 /* read and write */ #define PNG_TRANSFORM_PACKSWAP 0x0008 /* read and write */ #define PNG_TRANSFORM_EXPAND 0x0010 /* read only */ #define PNG_TRANSFORM_INVERT_MONO 0x0020 /* read and write */ #define PNG_TRANSFORM_SHIFT 0x0040 /* read and write */ #define PNG_TRANSFORM_BGR 0x0080 /* read and write */ #define PNG_TRANSFORM_SWAP_ALPHA 0x0100 /* read and write */ #define PNG_TRANSFORM_SWAP_ENDIAN 0x0200 /* read and write */ #define PNG_TRANSFORM_INVERT_ALPHA 0x0400 /* read and write */ #define PNG_TRANSFORM_STRIP_FILLER 0x0800 /* write only */ /* Added to libpng-1.2.34 */ #define PNG_TRANSFORM_STRIP_FILLER_BEFORE PNG_TRANSFORM_STRIP_FILLER #define PNG_TRANSFORM_STRIP_FILLER_AFTER 0x1000 /* write only */ /* Added to libpng-1.4.0 */ #define PNG_TRANSFORM_GRAY_TO_RGB 0x2000 /* read only */ /* Flags for MNG supported features */ #define PNG_FLAG_MNG_EMPTY_PLTE 0x01 #define PNG_FLAG_MNG_FILTER_64 0x04 #define PNG_ALL_MNG_FEATURES 0x05 typedef png_voidp (*png_malloc_ptr) PNGARG((png_structp, png_alloc_size_t)); typedef void (*png_free_ptr) PNGARG((png_structp, png_voidp)); /* The structure that holds the information to read and write PNG files. * The only people who need to care about what is inside of this are the * people who will be modifying the library for their own special needs. * It should NOT be accessed directly by an application, except to store * the jmp_buf. */ struct png_struct_def { #ifdef PNG_SETJMP_SUPPORTED jmp_buf jmpbuf PNG_DEPSTRUCT; /* used in png_error */ png_longjmp_ptr longjmp_fn PNG_DEPSTRUCT;/* setjmp non-local goto function. */ #endif png_error_ptr error_fn PNG_DEPSTRUCT; /* function for printing errors and aborting */ png_error_ptr warning_fn PNG_DEPSTRUCT; /* function for printing warnings */ png_voidp error_ptr PNG_DEPSTRUCT; /* user supplied struct for error functions */ png_rw_ptr write_data_fn PNG_DEPSTRUCT; /* function for writing output data */ png_rw_ptr read_data_fn PNG_DEPSTRUCT; /* function for reading input data */ png_voidp io_ptr PNG_DEPSTRUCT; /* ptr to application struct for I/O functions */ #ifdef PNG_READ_USER_TRANSFORM_SUPPORTED png_user_transform_ptr read_user_transform_fn PNG_DEPSTRUCT; /* user read transform */ #endif #ifdef PNG_WRITE_USER_TRANSFORM_SUPPORTED png_user_transform_ptr write_user_transform_fn PNG_DEPSTRUCT; /* user write transform */ #endif /* These were added in libpng-1.0.2 */ #ifdef PNG_USER_TRANSFORM_PTR_SUPPORTED #if defined(PNG_READ_USER_TRANSFORM_SUPPORTED) || \ defined(PNG_WRITE_USER_TRANSFORM_SUPPORTED) png_voidp user_transform_ptr PNG_DEPSTRUCT; /* user supplied struct for user transform */ png_byte user_transform_depth PNG_DEPSTRUCT; /* bit depth of user transformed pixels */ png_byte user_transform_channels PNG_DEPSTRUCT; /* channels in user transformed pixels */ #endif #endif png_uint_32 mode PNG_DEPSTRUCT; /* tells us where we are in the PNG file */ png_uint_32 flags PNG_DEPSTRUCT; /* flags indicating various things to libpng */ png_uint_32 transformations PNG_DEPSTRUCT; /* which transformations to perform */ z_stream zstream PNG_DEPSTRUCT; /* pointer to decompression structure (below) */ png_bytep zbuf PNG_DEPSTRUCT; /* buffer for zlib */ png_size_t zbuf_size PNG_DEPSTRUCT; /* size of zbuf */ int zlib_level PNG_DEPSTRUCT; /* holds zlib compression level */ int zlib_method PNG_DEPSTRUCT; /* holds zlib compression method */ int zlib_window_bits PNG_DEPSTRUCT; /* holds zlib compression window bits */ int zlib_mem_level PNG_DEPSTRUCT; /* holds zlib compression memory level */ int zlib_strategy PNG_DEPSTRUCT; /* holds zlib compression strategy */ png_uint_32 width PNG_DEPSTRUCT; /* width of image in pixels */ png_uint_32 height PNG_DEPSTRUCT; /* height of image in pixels */ png_uint_32 num_rows PNG_DEPSTRUCT; /* number of rows in current pass */ png_uint_32 usr_width PNG_DEPSTRUCT; /* width of row at start of write */ png_size_t rowbytes PNG_DEPSTRUCT; /* size of row in bytes */ #if 0 /* Replaced with the following in libpng-1.4.1 */ png_size_t irowbytes PNG_DEPSTRUCT; #endif /* Added in libpng-1.4.1 */ #ifdef PNG_USER_LIMITS_SUPPORTED /* Total memory that a zTXt, sPLT, iTXt, iCCP, or unknown chunk * can occupy when decompressed. 0 means unlimited. * We will change the typedef from png_size_t to png_alloc_size_t * in libpng-1.6.0 */ png_alloc_size_t user_chunk_malloc_max PNG_DEPSTRUCT; #endif png_uint_32 iwidth PNG_DEPSTRUCT; /* width of current interlaced row in pixels */ png_uint_32 row_number PNG_DEPSTRUCT; /* current row in interlace pass */ png_bytep prev_row PNG_DEPSTRUCT; /* buffer to save previous (unfiltered) row */ png_bytep row_buf PNG_DEPSTRUCT; /* buffer to save current (unfiltered) row */ png_bytep sub_row PNG_DEPSTRUCT; /* buffer to save "sub" row when filtering */ png_bytep up_row PNG_DEPSTRUCT; /* buffer to save "up" row when filtering */ png_bytep avg_row PNG_DEPSTRUCT; /* buffer to save "avg" row when filtering */ png_bytep paeth_row PNG_DEPSTRUCT; /* buffer to save "Paeth" row when filtering */ png_row_info row_info PNG_DEPSTRUCT; /* used for transformation routines */ png_uint_32 idat_size PNG_DEPSTRUCT; /* current IDAT size for read */ png_uint_32 crc PNG_DEPSTRUCT; /* current chunk CRC value */ png_colorp palette PNG_DEPSTRUCT; /* palette from the input file */ png_uint_16 num_palette PNG_DEPSTRUCT; /* number of color entries in palette */ png_uint_16 num_trans PNG_DEPSTRUCT; /* number of transparency values */ png_byte chunk_name[5] PNG_DEPSTRUCT; /* null-terminated name of current chunk */ png_byte compression PNG_DEPSTRUCT; /* file compression type (always 0) */ png_byte filter PNG_DEPSTRUCT; /* file filter type (always 0) */ png_byte interlaced PNG_DEPSTRUCT; /* PNG_INTERLACE_NONE, PNG_INTERLACE_ADAM7 */ png_byte pass PNG_DEPSTRUCT; /* current interlace pass (0 - 6) */ png_byte do_filter PNG_DEPSTRUCT; /* row filter flags (see PNG_FILTER_ below ) */ png_byte color_type PNG_DEPSTRUCT; /* color type of file */ png_byte bit_depth PNG_DEPSTRUCT; /* bit depth of file */ png_byte usr_bit_depth PNG_DEPSTRUCT; /* bit depth of users row */ png_byte pixel_depth PNG_DEPSTRUCT; /* number of bits per pixel */ png_byte channels PNG_DEPSTRUCT; /* number of channels in file */ png_byte usr_channels PNG_DEPSTRUCT; /* channels at start of write */ png_byte sig_bytes PNG_DEPSTRUCT; /* magic bytes read/written from start of file */ #if defined(PNG_READ_FILLER_SUPPORTED) || defined(PNG_WRITE_FILLER_SUPPORTED) png_uint_16 filler PNG_DEPSTRUCT; /* filler bytes for pixel expansion */ #endif #ifdef PNG_bKGD_SUPPORTED png_byte background_gamma_type PNG_DEPSTRUCT; # ifdef PNG_FLOATING_POINT_SUPPORTED float background_gamma PNG_DEPSTRUCT; # endif png_color_16 background PNG_DEPSTRUCT; /* background color in screen gamma space */ #ifdef PNG_READ_GAMMA_SUPPORTED png_color_16 background_1 PNG_DEPSTRUCT; /* background normalized to gamma 1.0 */ #endif #endif /* PNG_bKGD_SUPPORTED */ #ifdef PNG_WRITE_FLUSH_SUPPORTED png_flush_ptr output_flush_fn PNG_DEPSTRUCT; /* Function for flushing output */ png_uint_32 flush_dist PNG_DEPSTRUCT; /* how many rows apart to flush, 0 - no flush */ png_uint_32 flush_rows PNG_DEPSTRUCT; /* number of rows written since last flush */ #endif #if defined(PNG_READ_GAMMA_SUPPORTED) || defined(PNG_READ_BACKGROUND_SUPPORTED) int gamma_shift PNG_DEPSTRUCT; /* number of "insignificant" bits 16-bit gamma */ #ifdef PNG_FLOATING_POINT_SUPPORTED float gamma PNG_DEPSTRUCT; /* file gamma value */ float screen_gamma PNG_DEPSTRUCT; /* screen gamma value (display_exponent) */ #endif #endif #if defined(PNG_READ_GAMMA_SUPPORTED) || defined(PNG_READ_BACKGROUND_SUPPORTED) png_bytep gamma_table PNG_DEPSTRUCT; /* gamma table for 8-bit depth files */ png_bytep gamma_from_1 PNG_DEPSTRUCT; /* converts from 1.0 to screen */ png_bytep gamma_to_1 PNG_DEPSTRUCT; /* converts from file to 1.0 */ png_uint_16pp gamma_16_table PNG_DEPSTRUCT; /* gamma table for 16-bit depth files */ png_uint_16pp gamma_16_from_1 PNG_DEPSTRUCT; /* converts from 1.0 to screen */ png_uint_16pp gamma_16_to_1 PNG_DEPSTRUCT; /* converts from file to 1.0 */ #endif #if defined(PNG_READ_GAMMA_SUPPORTED) || defined(PNG_sBIT_SUPPORTED) png_color_8 sig_bit PNG_DEPSTRUCT; /* significant bits in each available channel */ #endif #if defined(PNG_READ_SHIFT_SUPPORTED) || defined(PNG_WRITE_SHIFT_SUPPORTED) png_color_8 shift PNG_DEPSTRUCT; /* shift for significant bit tranformation */ #endif #if defined(PNG_tRNS_SUPPORTED) || defined(PNG_READ_BACKGROUND_SUPPORTED) \ || defined(PNG_READ_EXPAND_SUPPORTED) || defined(PNG_READ_BACKGROUND_SUPPORTED) png_bytep trans_alpha PNG_DEPSTRUCT; /* alpha values for paletted files */ png_color_16 trans_color PNG_DEPSTRUCT; /* transparent color for non-paletted files */ #endif png_read_status_ptr read_row_fn PNG_DEPSTRUCT; /* called after each row is decoded */ png_write_status_ptr write_row_fn PNG_DEPSTRUCT; /* called after each row is encoded */ #ifdef PNG_PROGRESSIVE_READ_SUPPORTED png_progressive_info_ptr info_fn PNG_DEPSTRUCT; /* called after header data fully read */ png_progressive_row_ptr row_fn PNG_DEPSTRUCT; /* called after each prog. row is decoded */ png_progressive_end_ptr end_fn PNG_DEPSTRUCT; /* called after image is complete */ png_bytep save_buffer_ptr PNG_DEPSTRUCT; /* current location in save_buffer */ png_bytep save_buffer PNG_DEPSTRUCT; /* buffer for previously read data */ png_bytep current_buffer_ptr PNG_DEPSTRUCT; /* current location in current_buffer */ png_bytep current_buffer PNG_DEPSTRUCT; /* buffer for recently used data */ png_uint_32 push_length PNG_DEPSTRUCT; /* size of current input chunk */ png_uint_32 skip_length PNG_DEPSTRUCT; /* bytes to skip in input data */ png_size_t save_buffer_size PNG_DEPSTRUCT; /* amount of data now in save_buffer */ png_size_t save_buffer_max PNG_DEPSTRUCT; /* total size of save_buffer */ png_size_t buffer_size PNG_DEPSTRUCT; /* total amount of available input data */ png_size_t current_buffer_size PNG_DEPSTRUCT; /* amount of data now in current_buffer */ int process_mode PNG_DEPSTRUCT; /* what push library is currently doing */ int cur_palette PNG_DEPSTRUCT; /* current push library palette index */ # ifdef PNG_TEXT_SUPPORTED png_size_t current_text_size PNG_DEPSTRUCT; /* current size of text input data */ png_size_t current_text_left PNG_DEPSTRUCT; /* how much text left to read in input */ png_charp current_text PNG_DEPSTRUCT; /* current text chunk buffer */ png_charp current_text_ptr PNG_DEPSTRUCT; /* current location in current_text */ # endif /* PNG_PROGRESSIVE_READ_SUPPORTED && PNG_TEXT_SUPPORTED */ #endif /* PNG_PROGRESSIVE_READ_SUPPORTED */ #if defined(__TURBOC__) && !defined(_Windows) && !defined(__FLAT__) /* For the Borland special 64K segment handler */ png_bytepp offset_table_ptr PNG_DEPSTRUCT; png_bytep offset_table PNG_DEPSTRUCT; png_uint_16 offset_table_number PNG_DEPSTRUCT; png_uint_16 offset_table_count PNG_DEPSTRUCT; png_uint_16 offset_table_count_free PNG_DEPSTRUCT; #endif #ifdef PNG_READ_QUANTIZE_SUPPORTED png_bytep palette_lookup PNG_DEPSTRUCT; /* lookup table for quantizing */ png_bytep quantize_index PNG_DEPSTRUCT; /* index translation for palette files */ #endif #if defined(PNG_READ_QUANTIZE_SUPPORTED) || defined(PNG_hIST_SUPPORTED) png_uint_16p hist PNG_DEPSTRUCT; /* histogram */ #endif #ifdef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED png_byte heuristic_method PNG_DEPSTRUCT; /* heuristic for row filter selection */ png_byte num_prev_filters PNG_DEPSTRUCT; /* number of weights for previous rows */ png_bytep prev_filters PNG_DEPSTRUCT; /* filter type(s) of previous row(s) */ png_uint_16p filter_weights PNG_DEPSTRUCT; /* weight(s) for previous line(s) */ png_uint_16p inv_filter_weights PNG_DEPSTRUCT; /* 1/weight(s) for previous line(s) */ png_uint_16p filter_costs PNG_DEPSTRUCT; /* relative filter calculation cost */ png_uint_16p inv_filter_costs PNG_DEPSTRUCT; /* 1/relative filter calculation cost */ #endif #ifdef PNG_TIME_RFC1123_SUPPORTED png_charp time_buffer PNG_DEPSTRUCT; /* String to hold RFC 1123 time text */ #endif /* New members added in libpng-1.0.6 */ png_uint_32 free_me PNG_DEPSTRUCT; /* flags items libpng is responsible for freeing */ #ifdef PNG_USER_CHUNKS_SUPPORTED png_voidp user_chunk_ptr PNG_DEPSTRUCT; png_user_chunk_ptr read_user_chunk_fn PNG_DEPSTRUCT; /* user read chunk handler */ #endif #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED int num_chunk_list PNG_DEPSTRUCT; png_bytep chunk_list PNG_DEPSTRUCT; #endif /* New members added in libpng-1.0.3 */ #ifdef PNG_READ_RGB_TO_GRAY_SUPPORTED png_byte rgb_to_gray_status PNG_DEPSTRUCT; /* These were changed from png_byte in libpng-1.0.6 */ png_uint_16 rgb_to_gray_red_coeff PNG_DEPSTRUCT; png_uint_16 rgb_to_gray_green_coeff PNG_DEPSTRUCT; png_uint_16 rgb_to_gray_blue_coeff PNG_DEPSTRUCT; #endif /* New member added in libpng-1.0.4 (renamed in 1.0.9) */ #if defined(PNG_MNG_FEATURES_SUPPORTED) || \ defined(PNG_READ_EMPTY_PLTE_SUPPORTED) || \ defined(PNG_WRITE_EMPTY_PLTE_SUPPORTED) /* Changed from png_byte to png_uint_32 at version 1.2.0 */ png_uint_32 mng_features_permitted PNG_DEPSTRUCT; #endif /* New member added in libpng-1.0.7 */ #if defined(PNG_READ_GAMMA_SUPPORTED) || defined(PNG_READ_BACKGROUND_SUPPORTED) png_fixed_point int_gamma PNG_DEPSTRUCT; #endif /* New member added in libpng-1.0.9, ifdef'ed out in 1.0.12, enabled in 1.2.0 */ #ifdef PNG_MNG_FEATURES_SUPPORTED png_byte filter_type PNG_DEPSTRUCT; #endif /* New members added in libpng-1.2.0 */ /* New members added in libpng-1.0.2 but first enabled by default in 1.2.0 */ #ifdef PNG_USER_MEM_SUPPORTED png_voidp mem_ptr PNG_DEPSTRUCT; /* user supplied struct for mem functions */ png_malloc_ptr malloc_fn PNG_DEPSTRUCT; /* function for allocating memory */ png_free_ptr free_fn PNG_DEPSTRUCT; /* function for freeing memory */ #endif /* New member added in libpng-1.0.13 and 1.2.0 */ png_bytep big_row_buf PNG_DEPSTRUCT; /* buffer to save current (unfiltered) row */ #ifdef PNG_READ_QUANTIZE_SUPPORTED /* The following three members were added at version 1.0.14 and 1.2.4 */ png_bytep quantize_sort PNG_DEPSTRUCT; /* working sort array */ png_bytep index_to_palette PNG_DEPSTRUCT; /* where the original index currently is in the palette */ png_bytep palette_to_index PNG_DEPSTRUCT; /* which original index points to this palette color */ #endif /* New members added in libpng-1.0.16 and 1.2.6 */ png_byte compression_type PNG_DEPSTRUCT; #ifdef PNG_USER_LIMITS_SUPPORTED png_uint_32 user_width_max PNG_DEPSTRUCT; png_uint_32 user_height_max PNG_DEPSTRUCT; /* Added in libpng-1.4.0: Total number of sPLT, text, and unknown * chunks that can be stored (0 means unlimited). */ png_uint_32 user_chunk_cache_max PNG_DEPSTRUCT; #endif /* New member added in libpng-1.0.25 and 1.2.17 */ #ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED /* Storage for unknown chunk that the library doesn't recognize. */ png_unknown_chunk unknown_chunk PNG_DEPSTRUCT; #endif /* New members added in libpng-1.2.26 */ png_uint_32 old_big_row_buf_size PNG_DEPSTRUCT; png_uint_32 old_prev_row_size PNG_DEPSTRUCT; /* New member added in libpng-1.2.30 */ png_charp chunkdata PNG_DEPSTRUCT; /* buffer for reading chunk data */ #ifdef PNG_IO_STATE_SUPPORTED /* New member added in libpng-1.4.0 */ png_uint_32 io_state PNG_DEPSTRUCT; #endif }; /* This triggers a compiler error in png.c, if png.c and png.h * do not agree upon the version number. */ typedef png_structp version_1_4_3; typedef png_struct FAR * FAR * png_structpp; /* Here are the function definitions most commonly used. This is not * the place to find out how to use libpng. See libpng.txt for the * full explanation, see example.c for the summary. This just provides * a simple one line description of the use of each function. */ /* Returns the version number of the library */ extern PNG_EXPORT(png_uint_32,png_access_version_number) PNGARG((void)); /* Tell lib we have already handled the first magic bytes. * Handling more than 8 bytes from the beginning of the file is an error. */ extern PNG_EXPORT(void,png_set_sig_bytes) PNGARG((png_structp png_ptr, int num_bytes)); /* Check sig[start] through sig[start + num_to_check - 1] to see if it's a * PNG file. Returns zero if the supplied bytes match the 8-byte PNG * signature, and non-zero otherwise. Having num_to_check == 0 or * start > 7 will always fail (ie return non-zero). */ extern PNG_EXPORT(int,png_sig_cmp) PNGARG((png_bytep sig, png_size_t start, png_size_t num_to_check)); /* Simple signature checking function. This is the same as calling * png_check_sig(sig, n) := !png_sig_cmp(sig, 0, n). */ #define png_check_sig(sig,n) !png_sig_cmp((sig), 0, (n)) /* Allocate and initialize png_ptr struct for reading, and any other memory. */ extern PNG_EXPORT(png_structp,png_create_read_struct) PNGARG((png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn)) PNG_ALLOCATED; /* Allocate and initialize png_ptr struct for writing, and any other memory */ extern PNG_EXPORT(png_structp,png_create_write_struct) PNGARG((png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn)) PNG_ALLOCATED; extern PNG_EXPORT(png_size_t,png_get_compression_buffer_size) PNGARG((png_structp png_ptr)); extern PNG_EXPORT(void,png_set_compression_buffer_size) PNGARG((png_structp png_ptr, png_size_t size)); /* Moved from pngconf.h in 1.4.0 and modified to ensure setjmp/longjmp * match up. */ #ifdef PNG_SETJMP_SUPPORTED /* This function returns the jmp_buf built in to *png_ptr. It must be * supplied with an appropriate 'longjmp' function to use on that jmp_buf * unless the default error function is overridden in which case NULL is * acceptable. The size of the jmp_buf is checked against the actual size * allocated by the library - the call will return NULL on a mismatch * indicating an ABI mismatch. */ extern PNG_EXPORT(jmp_buf*, png_set_longjmp_fn) PNGARG((png_structp png_ptr, png_longjmp_ptr longjmp_fn, size_t jmp_buf_size)); # define png_jmpbuf(png_ptr) \ (*png_set_longjmp_fn((png_ptr), longjmp, sizeof (jmp_buf))) #else # define png_jmpbuf(png_ptr) \ (LIBPNG_WAS_COMPILED_WITH__PNG_NO_SETJMP) #endif #ifdef PNG_READ_SUPPORTED /* Reset the compression stream */ extern PNG_EXPORT(int,png_reset_zstream) PNGARG((png_structp png_ptr)); #endif /* New functions added in libpng-1.0.2 (not enabled by default until 1.2.0) */ #ifdef PNG_USER_MEM_SUPPORTED extern PNG_EXPORT(png_structp,png_create_read_struct_2) PNGARG((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_ALLOCATED; extern PNG_EXPORT(png_structp,png_create_write_struct_2) PNGARG((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_ALLOCATED; #endif /* Write the PNG file signature. */ extern PNG_EXPORT(void,png_write_sig) PNGARG((png_structp png_ptr)); /* Write a PNG chunk - size, type, (optional) data, CRC. */ extern PNG_EXPORT(void,png_write_chunk) PNGARG((png_structp png_ptr, png_bytep chunk_name, png_bytep data, png_size_t length)); /* Write the start of a PNG chunk - length and chunk name. */ extern PNG_EXPORT(void,png_write_chunk_start) PNGARG((png_structp png_ptr, png_bytep chunk_name, png_uint_32 length)); /* Write the data of a PNG chunk started with png_write_chunk_start(). */ extern PNG_EXPORT(void,png_write_chunk_data) PNGARG((png_structp png_ptr, png_bytep data, png_size_t length)); /* Finish a chunk started with png_write_chunk_start() (includes CRC). */ extern PNG_EXPORT(void,png_write_chunk_end) PNGARG((png_structp png_ptr)); /* Allocate and initialize the info structure */ extern PNG_EXPORT(png_infop,png_create_info_struct) PNGARG((png_structp png_ptr)) PNG_ALLOCATED; extern PNG_EXPORT(void,png_info_init_3) PNGARG((png_infopp info_ptr, png_size_t png_info_struct_size)); /* Writes all the PNG information before the image. */ extern PNG_EXPORT(void,png_write_info_before_PLTE) PNGARG((png_structp png_ptr, png_infop info_ptr)); extern PNG_EXPORT(void,png_write_info) PNGARG((png_structp png_ptr, png_infop info_ptr)); #ifdef PNG_SEQUENTIAL_READ_SUPPORTED /* Read the information before the actual image data. */ extern PNG_EXPORT(void,png_read_info) PNGARG((png_structp png_ptr, png_infop info_ptr)); #endif #ifdef PNG_TIME_RFC1123_SUPPORTED extern PNG_EXPORT(png_charp,png_convert_to_rfc1123) PNGARG((png_structp png_ptr, png_timep ptime)); #endif #ifdef PNG_CONVERT_tIME_SUPPORTED /* Convert from a struct tm to png_time */ extern PNG_EXPORT(void,png_convert_from_struct_tm) PNGARG((png_timep ptime, struct tm FAR * ttime)); /* Convert from time_t to png_time. Uses gmtime() */ extern PNG_EXPORT(void,png_convert_from_time_t) PNGARG((png_timep ptime, time_t ttime)); #endif /* PNG_CONVERT_tIME_SUPPORTED */ #ifdef PNG_READ_EXPAND_SUPPORTED /* Expand data to 24-bit RGB, or 8-bit grayscale, with alpha if available. */ extern PNG_EXPORT(void,png_set_expand) PNGARG((png_structp png_ptr)); extern PNG_EXPORT(void,png_set_expand_gray_1_2_4_to_8) PNGARG((png_structp png_ptr)); extern PNG_EXPORT(void,png_set_palette_to_rgb) PNGARG((png_structp png_ptr)); extern PNG_EXPORT(void,png_set_tRNS_to_alpha) PNGARG((png_structp png_ptr)); #endif #if defined(PNG_READ_BGR_SUPPORTED) || defined(PNG_WRITE_BGR_SUPPORTED) /* Use blue, green, red order for pixels. */ extern PNG_EXPORT(void,png_set_bgr) PNGARG((png_structp png_ptr)); #endif #ifdef PNG_READ_GRAY_TO_RGB_SUPPORTED /* Expand the grayscale to 24-bit RGB if necessary. */ extern PNG_EXPORT(void,png_set_gray_to_rgb) PNGARG((png_structp png_ptr)); #endif #ifdef PNG_READ_RGB_TO_GRAY_SUPPORTED /* Reduce RGB to grayscale. */ #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(void,png_set_rgb_to_gray) PNGARG((png_structp png_ptr, int error_action, double red, double green )); #endif extern PNG_EXPORT(void,png_set_rgb_to_gray_fixed) PNGARG((png_structp png_ptr, int error_action, png_fixed_point red, png_fixed_point green )); extern PNG_EXPORT(png_byte,png_get_rgb_to_gray_status) PNGARG((png_structp png_ptr)); #endif extern PNG_EXPORT(void,png_build_grayscale_palette) PNGARG((int bit_depth, png_colorp palette)); #ifdef PNG_READ_STRIP_ALPHA_SUPPORTED extern PNG_EXPORT(void,png_set_strip_alpha) PNGARG((png_structp png_ptr)); #endif #if defined(PNG_READ_SWAP_ALPHA_SUPPORTED) || \ defined(PNG_WRITE_SWAP_ALPHA_SUPPORTED) extern PNG_EXPORT(void,png_set_swap_alpha) PNGARG((png_structp png_ptr)); #endif #if defined(PNG_READ_INVERT_ALPHA_SUPPORTED) || \ defined(PNG_WRITE_INVERT_ALPHA_SUPPORTED) extern PNG_EXPORT(void,png_set_invert_alpha) PNGARG((png_structp png_ptr)); #endif #if defined(PNG_READ_FILLER_SUPPORTED) || defined(PNG_WRITE_FILLER_SUPPORTED) /* Add a filler byte to 8-bit Gray or 24-bit RGB images. */ extern PNG_EXPORT(void,png_set_filler) PNGARG((png_structp png_ptr, png_uint_32 filler, int flags)); /* The values of the PNG_FILLER_ defines should NOT be changed */ #define PNG_FILLER_BEFORE 0 #define PNG_FILLER_AFTER 1 /* Add an alpha byte to 8-bit Gray or 24-bit RGB images. */ extern PNG_EXPORT(void,png_set_add_alpha) PNGARG((png_structp png_ptr, png_uint_32 filler, int flags)); #endif /* PNG_READ_FILLER_SUPPORTED || PNG_WRITE_FILLER_SUPPORTED */ #if defined(PNG_READ_SWAP_SUPPORTED) || defined(PNG_WRITE_SWAP_SUPPORTED) /* Swap bytes in 16-bit depth files. */ extern PNG_EXPORT(void,png_set_swap) PNGARG((png_structp png_ptr)); #endif #if defined(PNG_READ_PACK_SUPPORTED) || defined(PNG_WRITE_PACK_SUPPORTED) /* Use 1 byte per pixel in 1, 2, or 4-bit depth files. */ extern PNG_EXPORT(void,png_set_packing) PNGARG((png_structp png_ptr)); #endif #if defined(PNG_READ_PACKSWAP_SUPPORTED) || \ defined(PNG_WRITE_PACKSWAP_SUPPORTED) /* Swap packing order of pixels in bytes. */ extern PNG_EXPORT(void,png_set_packswap) PNGARG((png_structp png_ptr)); #endif #if defined(PNG_READ_SHIFT_SUPPORTED) || defined(PNG_WRITE_SHIFT_SUPPORTED) /* Converts files to legal bit depths. */ extern PNG_EXPORT(void,png_set_shift) PNGARG((png_structp png_ptr, png_color_8p true_bits)); #endif #if defined(PNG_READ_INTERLACING_SUPPORTED) || \ defined(PNG_WRITE_INTERLACING_SUPPORTED) /* Have the code handle the interlacing. Returns the number of passes. */ extern PNG_EXPORT(int,png_set_interlace_handling) PNGARG((png_structp png_ptr)); #endif #if defined(PNG_READ_INVERT_SUPPORTED) || defined(PNG_WRITE_INVERT_SUPPORTED) /* Invert monochrome files */ extern PNG_EXPORT(void,png_set_invert_mono) PNGARG((png_structp png_ptr)); #endif #ifdef PNG_READ_BACKGROUND_SUPPORTED /* Handle alpha and tRNS by replacing with a background color. */ #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(void,png_set_background) PNGARG((png_structp png_ptr, png_color_16p background_color, int background_gamma_code, int need_expand, double background_gamma)); #endif #define PNG_BACKGROUND_GAMMA_UNKNOWN 0 #define PNG_BACKGROUND_GAMMA_SCREEN 1 #define PNG_BACKGROUND_GAMMA_FILE 2 #define PNG_BACKGROUND_GAMMA_UNIQUE 3 #endif #ifdef PNG_READ_16_TO_8_SUPPORTED /* Strip the second byte of information from a 16-bit depth file. */ extern PNG_EXPORT(void,png_set_strip_16) PNGARG((png_structp png_ptr)); #endif #ifdef PNG_READ_QUANTIZE_SUPPORTED /* Turn on quantizing, and reduce the palette to the number of colors * available. Prior to libpng-1.4.2, this was png_set_dither(). */ extern PNG_EXPORT(void,png_set_quantize) PNGARG((png_structp png_ptr, png_colorp palette, int num_palette, int maximum_colors, png_uint_16p histogram, int full_quantize)); #endif /* This migration aid will be removed from libpng-1.5.0 */ #define png_set_dither png_set_quantize #ifdef PNG_READ_GAMMA_SUPPORTED /* Handle gamma correction. Screen_gamma=(display_exponent) */ #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(void,png_set_gamma) PNGARG((png_structp png_ptr, double screen_gamma, double default_file_gamma)); #endif #endif #ifdef PNG_WRITE_FLUSH_SUPPORTED /* Set how many lines between output flushes - 0 for no flushing */ extern PNG_EXPORT(void,png_set_flush) PNGARG((png_structp png_ptr, int nrows)); /* Flush the current PNG output buffer */ extern PNG_EXPORT(void,png_write_flush) PNGARG((png_structp png_ptr)); #endif /* Optional update palette with requested transformations */ extern PNG_EXPORT(void,png_start_read_image) PNGARG((png_structp png_ptr)); /* Optional call to update the users info structure */ extern PNG_EXPORT(void,png_read_update_info) PNGARG((png_structp png_ptr, png_infop info_ptr)); #ifdef PNG_SEQUENTIAL_READ_SUPPORTED /* Read one or more rows of image data. */ extern PNG_EXPORT(void,png_read_rows) PNGARG((png_structp png_ptr, png_bytepp row, png_bytepp display_row, png_uint_32 num_rows)); #endif #ifdef PNG_SEQUENTIAL_READ_SUPPORTED /* Read a row of data. */ extern PNG_EXPORT(void,png_read_row) PNGARG((png_structp png_ptr, png_bytep row, png_bytep display_row)); #endif #ifdef PNG_SEQUENTIAL_READ_SUPPORTED /* Read the whole image into memory at once. */ extern PNG_EXPORT(void,png_read_image) PNGARG((png_structp png_ptr, png_bytepp image)); #endif /* Write a row of image data */ extern PNG_EXPORT(void,png_write_row) PNGARG((png_structp png_ptr, png_bytep row)); /* Write a few rows of image data */ extern PNG_EXPORT(void,png_write_rows) PNGARG((png_structp png_ptr, png_bytepp row, png_uint_32 num_rows)); /* Write the image data */ extern PNG_EXPORT(void,png_write_image) PNGARG((png_structp png_ptr, png_bytepp image)); /* Write the end of the PNG file. */ extern PNG_EXPORT(void,png_write_end) PNGARG((png_structp png_ptr, png_infop info_ptr)); #ifdef PNG_SEQUENTIAL_READ_SUPPORTED /* Read the end of the PNG file. */ extern PNG_EXPORT(void,png_read_end) PNGARG((png_structp png_ptr, png_infop info_ptr)); #endif /* Free any memory associated with the png_info_struct */ extern PNG_EXPORT(void,png_destroy_info_struct) PNGARG((png_structp png_ptr, png_infopp info_ptr_ptr)); /* Free any memory associated with the png_struct and the png_info_structs */ extern PNG_EXPORT(void,png_destroy_read_struct) PNGARG((png_structpp png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr)); /* Free any memory associated with the png_struct and the png_info_structs */ extern PNG_EXPORT(void,png_destroy_write_struct) PNGARG((png_structpp png_ptr_ptr, png_infopp info_ptr_ptr)); /* Set the libpng method of handling chunk CRC errors */ extern PNG_EXPORT(void,png_set_crc_action) PNGARG((png_structp png_ptr, int crit_action, int ancil_action)); /* Values for png_set_crc_action() to say how to handle CRC errors in * ancillary and critical chunks, and whether to use the data contained * therein. Note that it is impossible to "discard" data in a critical * chunk. For versions prior to 0.90, the action was always error/quit, * whereas in version 0.90 and later, the action for CRC errors in ancillary * chunks is warn/discard. These values should NOT be changed. * * value action:critical action:ancillary */ #define PNG_CRC_DEFAULT 0 /* error/quit warn/discard data */ #define PNG_CRC_ERROR_QUIT 1 /* error/quit error/quit */ #define PNG_CRC_WARN_DISCARD 2 /* (INVALID) warn/discard data */ #define PNG_CRC_WARN_USE 3 /* warn/use data warn/use data */ #define PNG_CRC_QUIET_USE 4 /* quiet/use data quiet/use data */ #define PNG_CRC_NO_CHANGE 5 /* use current value use current value */ /* These functions give the user control over the scan-line filtering in * libpng and the compression methods used by zlib. These functions are * mainly useful for testing, as the defaults should work with most users. * Those users who are tight on memory or want faster performance at the * expense of compression can modify them. See the compression library * header file (zlib.h) for an explination of the compression functions. */ /* Set the filtering method(s) used by libpng. Currently, the only valid * value for "method" is 0. */ extern PNG_EXPORT(void,png_set_filter) PNGARG((png_structp png_ptr, int method, int filters)); /* Flags for png_set_filter() to say which filters to use. The flags * are chosen so that they don't conflict with real filter types * below, in case they are supplied instead of the #defined constants. * These values should NOT be changed. */ #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 (PNG_FILTER_NONE | PNG_FILTER_SUB | PNG_FILTER_UP | \ PNG_FILTER_AVG | PNG_FILTER_PAETH) /* Filter values (not flags) - used in pngwrite.c, pngwutil.c for now. * These defines should NOT be changed. */ #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 #ifdef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED /* EXPERIMENTAL */ /* The "heuristic_method" is given by one of the PNG_FILTER_HEURISTIC_ * defines, either the default (minimum-sum-of-absolute-differences), or * the experimental method (weighted-minimum-sum-of-absolute-differences). * * Weights are factors >= 1.0, indicating how important it is to keep the * filter type consistent between rows. Larger numbers mean the current * filter is that many times as likely to be the same as the "num_weights" * previous filters. This is cumulative for each previous row with a weight. * There needs to be "num_weights" values in "filter_weights", or it can be * NULL if the weights aren't being specified. Weights have no influence on * the selection of the first row filter. Well chosen weights can (in theory) * improve the compression for a given image. * * Costs are factors >= 1.0 indicating the relative decoding costs of a * filter type. Higher costs indicate more decoding expense, and are * therefore less likely to be selected over a filter with lower computational * costs. There needs to be a value in "filter_costs" for each valid filter * type (given by PNG_FILTER_VALUE_LAST), or it can be NULL if you aren't * setting the costs. Costs try to improve the speed of decompression without * unduly increasing the compressed image size. * * A negative weight or cost indicates the default value is to be used, and * values in the range [0.0, 1.0) indicate the value is to remain unchanged. * The default values for both weights and costs are currently 1.0, but may * change if good general weighting/cost heuristics can be found. If both * the weights and costs are set to 1.0, this degenerates the WEIGHTED method * to the UNWEIGHTED method, but with added encoding time/computation. */ #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(void,png_set_filter_heuristics) PNGARG((png_structp png_ptr, int heuristic_method, int num_weights, png_doublep filter_weights, png_doublep filter_costs)); #endif #endif /* PNG_WRITE_WEIGHTED_FILTER_SUPPORTED */ /* Heuristic used for row filter selection. These defines should NOT be * changed. */ #define PNG_FILTER_HEURISTIC_DEFAULT 0 /* Currently "UNWEIGHTED" */ #define PNG_FILTER_HEURISTIC_UNWEIGHTED 1 /* Used by libpng < 0.95 */ #define PNG_FILTER_HEURISTIC_WEIGHTED 2 /* Experimental feature */ #define PNG_FILTER_HEURISTIC_LAST 3 /* Not a valid value */ /* Set the library compression level. Currently, valid values range from * 0 - 9, corresponding directly to the zlib compression levels 0 - 9 * (0 - no compression, 9 - "maximal" compression). Note that tests have * shown that zlib compression levels 3-6 usually perform as well as level 9 * for PNG images, and do considerably fewer caclulations. In the future, * these values may not correspond directly to the zlib compression levels. */ extern PNG_EXPORT(void,png_set_compression_level) PNGARG((png_structp png_ptr, int level)); extern PNG_EXPORT(void,png_set_compression_mem_level) PNGARG((png_structp png_ptr, int mem_level)); extern PNG_EXPORT(void,png_set_compression_strategy) PNGARG((png_structp png_ptr, int strategy)); extern PNG_EXPORT(void,png_set_compression_window_bits) PNGARG((png_structp png_ptr, int window_bits)); extern PNG_EXPORT(void,png_set_compression_method) PNGARG((png_structp png_ptr, int method)); /* These next functions are called for input/output, memory, and error * handling. They are in the file pngrio.c, pngwio.c, and pngerror.c, * and call standard C I/O routines such as fread(), fwrite(), and * fprintf(). These functions can be made to use other I/O routines * at run time for those applications that need to handle I/O in a * different manner by calling png_set_???_fn(). See libpng.txt for * more information. */ #ifdef PNG_STDIO_SUPPORTED /* Initialize the input/output for the PNG file to the default functions. */ extern PNG_EXPORT(void,png_init_io) PNGARG((png_structp png_ptr, png_FILE_p fp)); #endif /* Replace the (error and abort), and warning functions with user * supplied functions. If no messages are to be printed you must still * write and use replacement functions. The replacement error_fn should * still do a longjmp to the last setjmp location if you are using this * method of error handling. If error_fn or warning_fn is NULL, the * default function will be used. */ extern PNG_EXPORT(void,png_set_error_fn) PNGARG((png_structp png_ptr, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warning_fn)); /* Return the user pointer associated with the error functions */ extern PNG_EXPORT(png_voidp,png_get_error_ptr) PNGARG((png_structp png_ptr)); /* Replace the default data output functions with a user supplied one(s). * If buffered output is not used, then output_flush_fn can be set to NULL. * If PNG_WRITE_FLUSH_SUPPORTED is not defined at libpng compile time * output_flush_fn will be ignored (and thus can be NULL). * It is probably a mistake to use NULL for output_flush_fn if * write_data_fn is not also NULL unless you have built libpng with * PNG_WRITE_FLUSH_SUPPORTED undefined, because in this case libpng's * default flush function, which uses the standard *FILE structure, will * be used. */ extern PNG_EXPORT(void,png_set_write_fn) PNGARG((png_structp png_ptr, png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn)); /* Replace the default data input function with a user supplied one. */ extern PNG_EXPORT(void,png_set_read_fn) PNGARG((png_structp png_ptr, png_voidp io_ptr, png_rw_ptr read_data_fn)); /* Return the user pointer associated with the I/O functions */ extern PNG_EXPORT(png_voidp,png_get_io_ptr) PNGARG((png_structp png_ptr)); extern PNG_EXPORT(void,png_set_read_status_fn) PNGARG((png_structp png_ptr, png_read_status_ptr read_row_fn)); extern PNG_EXPORT(void,png_set_write_status_fn) PNGARG((png_structp png_ptr, png_write_status_ptr write_row_fn)); #ifdef PNG_USER_MEM_SUPPORTED /* Replace the default memory allocation functions with user supplied one(s). */ extern PNG_EXPORT(void,png_set_mem_fn) PNGARG((png_structp png_ptr, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn)); /* Return the user pointer associated with the memory functions */ extern PNG_EXPORT(png_voidp,png_get_mem_ptr) PNGARG((png_structp png_ptr)); #endif #ifdef PNG_READ_USER_TRANSFORM_SUPPORTED extern PNG_EXPORT(void,png_set_read_user_transform_fn) PNGARG((png_structp png_ptr, png_user_transform_ptr read_user_transform_fn)); #endif #ifdef PNG_WRITE_USER_TRANSFORM_SUPPORTED extern PNG_EXPORT(void,png_set_write_user_transform_fn) PNGARG((png_structp png_ptr, png_user_transform_ptr write_user_transform_fn)); #endif #if defined(PNG_READ_USER_TRANSFORM_SUPPORTED) || \ defined(PNG_WRITE_USER_TRANSFORM_SUPPORTED) extern PNG_EXPORT(void,png_set_user_transform_info) PNGARG((png_structp png_ptr, png_voidp user_transform_ptr, int user_transform_depth, int user_transform_channels)); /* Return the user pointer associated with the user transform functions */ extern PNG_EXPORT(png_voidp,png_get_user_transform_ptr) PNGARG((png_structp png_ptr)); #endif #ifdef PNG_USER_CHUNKS_SUPPORTED extern PNG_EXPORT(void,png_set_read_user_chunk_fn) PNGARG((png_structp png_ptr, png_voidp user_chunk_ptr, png_user_chunk_ptr read_user_chunk_fn)); extern PNG_EXPORT(png_voidp,png_get_user_chunk_ptr) PNGARG((png_structp png_ptr)); #endif #ifdef PNG_PROGRESSIVE_READ_SUPPORTED /* Sets the function callbacks for the push reader, and a pointer to a * user-defined structure available to the callback functions. */ extern PNG_EXPORT(void,png_set_progressive_read_fn) PNGARG((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)); /* Returns the user pointer associated with the push read functions */ extern PNG_EXPORT(png_voidp,png_get_progressive_ptr) PNGARG((png_structp png_ptr)); /* Function to be called when data becomes available */ extern PNG_EXPORT(void,png_process_data) PNGARG((png_structp png_ptr, png_infop info_ptr, png_bytep buffer, png_size_t buffer_size)); /* Function that combines rows. Not very much different than the * png_combine_row() call. Is this even used????? */ extern PNG_EXPORT(void,png_progressive_combine_row) PNGARG((png_structp png_ptr, png_bytep old_row, png_bytep new_row)); #endif /* PNG_PROGRESSIVE_READ_SUPPORTED */ extern PNG_EXPORT(png_voidp,png_malloc) PNGARG((png_structp png_ptr, png_alloc_size_t size)) PNG_ALLOCATED; /* Added at libpng version 1.4.0 */ extern PNG_EXPORT(png_voidp,png_calloc) PNGARG((png_structp png_ptr, png_alloc_size_t size)) PNG_ALLOCATED; /* Added at libpng version 1.2.4 */ extern PNG_EXPORT(png_voidp,png_malloc_warn) PNGARG((png_structp png_ptr, png_alloc_size_t size)) PNG_ALLOCATED; /* Frees a pointer allocated by png_malloc() */ extern PNG_EXPORT(void,png_free) PNGARG((png_structp png_ptr, png_voidp ptr)); /* Free data that was allocated internally */ extern PNG_EXPORT(void,png_free_data) PNGARG((png_structp png_ptr, png_infop info_ptr, png_uint_32 free_me, int num)); /* Reassign responsibility for freeing existing data, whether allocated * by libpng or by the application */ extern PNG_EXPORT(void,png_data_freer) PNGARG((png_structp png_ptr, png_infop info_ptr, int freer, png_uint_32 mask)); /* Assignments for png_data_freer */ #define PNG_DESTROY_WILL_FREE_DATA 1 #define PNG_SET_WILL_FREE_DATA 1 #define PNG_USER_WILL_FREE_DATA 2 /* Flags for png_ptr->free_me and info_ptr->free_me */ #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 /* PNG_FREE_SPLT|PNG_FREE_TEXT|PNG_FREE_UNKN */ #ifdef PNG_USER_MEM_SUPPORTED extern PNG_EXPORT(png_voidp,png_malloc_default) PNGARG((png_structp png_ptr, png_alloc_size_t size)) PNG_ALLOCATED; extern PNG_EXPORT(void,png_free_default) PNGARG((png_structp png_ptr, png_voidp ptr)); #endif #ifndef PNG_NO_ERROR_TEXT /* Fatal error in PNG image of libpng - can't continue */ extern PNG_EXPORT(void,png_error) PNGARG((png_structp png_ptr, png_const_charp error_message)) PNG_NORETURN; /* The same, but the chunk name is prepended to the error string. */ extern PNG_EXPORT(void,png_chunk_error) PNGARG((png_structp png_ptr, png_const_charp error_message)) PNG_NORETURN; #else /* Fatal error in PNG image of libpng - can't continue */ extern PNG_EXPORT(void,png_err) PNGARG((png_structp png_ptr)) PNG_NORETURN; #endif /* Non-fatal error in libpng. Can continue, but may have a problem. */ extern PNG_EXPORT(void,png_warning) PNGARG((png_structp png_ptr, png_const_charp warning_message)); /* Non-fatal error in libpng, chunk name is prepended to message. */ extern PNG_EXPORT(void,png_chunk_warning) PNGARG((png_structp png_ptr, png_const_charp warning_message)); #ifdef PNG_BENIGN_ERRORS_SUPPORTED /* Benign error in libpng. Can continue, but may have a problem. * User can choose whether to handle as a fatal error or as a warning. */ extern PNG_EXPORT(void,png_benign_error) PNGARG((png_structp png_ptr, png_const_charp warning_message)); /* Same, chunk name is prepended to message. */ extern PNG_EXPORT(void,png_chunk_benign_error) PNGARG((png_structp png_ptr, png_const_charp warning_message)); extern PNG_EXPORT(void,png_set_benign_errors) PNGARG((png_structp png_ptr, int allowed)); #endif /* The png_set_ functions are for storing values in the png_info_struct. * Similarly, the png_get_ calls are used to read values from the * png_info_struct, either storing the parameters in the passed variables, or * setting pointers into the png_info_struct where the data is stored. The * png_get_ functions return a non-zero value if the data was available * in info_ptr, or return zero and do not change any of the parameters if the * data was not available. * * These functions should be used instead of directly accessing png_info * to avoid problems with future changes in the size and internal layout of * png_info_struct. */ /* Returns "flag" if chunk data is valid in info_ptr. */ extern PNG_EXPORT(png_uint_32,png_get_valid) PNGARG((png_structp png_ptr, png_infop info_ptr, png_uint_32 flag)); /* Returns number of bytes needed to hold a transformed row. */ extern PNG_EXPORT(png_size_t,png_get_rowbytes) PNGARG((png_structp png_ptr, png_infop info_ptr)); #ifdef PNG_INFO_IMAGE_SUPPORTED /* Returns row_pointers, which is an array of pointers to scanlines that was * returned from png_read_png(). */ extern PNG_EXPORT(png_bytepp,png_get_rows) PNGARG((png_structp png_ptr, png_infop info_ptr)); /* Set row_pointers, which is an array of pointers to scanlines for use * by png_write_png(). */ extern PNG_EXPORT(void,png_set_rows) PNGARG((png_structp png_ptr, png_infop info_ptr, png_bytepp row_pointers)); #endif /* Returns number of color channels in image. */ extern PNG_EXPORT(png_byte,png_get_channels) PNGARG((png_structp png_ptr, png_infop info_ptr)); #ifdef PNG_EASY_ACCESS_SUPPORTED /* Returns image width in pixels. */ extern PNG_EXPORT(png_uint_32, png_get_image_width) PNGARG((png_structp png_ptr, png_infop info_ptr)); /* Returns image height in pixels. */ extern PNG_EXPORT(png_uint_32, png_get_image_height) PNGARG((png_structp png_ptr, png_infop info_ptr)); /* Returns image bit_depth. */ extern PNG_EXPORT(png_byte, png_get_bit_depth) PNGARG((png_structp png_ptr, png_infop info_ptr)); /* Returns image color_type. */ extern PNG_EXPORT(png_byte, png_get_color_type) PNGARG((png_structp png_ptr, png_infop info_ptr)); /* Returns image filter_type. */ extern PNG_EXPORT(png_byte, png_get_filter_type) PNGARG((png_structp png_ptr, png_infop info_ptr)); /* Returns image interlace_type. */ extern PNG_EXPORT(png_byte, png_get_interlace_type) PNGARG((png_structp png_ptr, png_infop info_ptr)); /* Returns image compression_type. */ extern PNG_EXPORT(png_byte, png_get_compression_type) PNGARG((png_structp png_ptr, png_infop info_ptr)); /* Returns image resolution in pixels per meter, from pHYs chunk data. */ extern PNG_EXPORT(png_uint_32, png_get_pixels_per_meter) PNGARG((png_structp png_ptr, png_infop info_ptr)); extern PNG_EXPORT(png_uint_32, png_get_x_pixels_per_meter) PNGARG((png_structp png_ptr, png_infop info_ptr)); extern PNG_EXPORT(png_uint_32, png_get_y_pixels_per_meter) PNGARG((png_structp png_ptr, png_infop info_ptr)); /* Returns pixel aspect ratio, computed from pHYs chunk data. */ #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(float, png_get_pixel_aspect_ratio) PNGARG((png_structp png_ptr, png_infop info_ptr)); #endif /* Returns image x, y offset in pixels or microns, from oFFs chunk data. */ extern PNG_EXPORT(png_int_32, png_get_x_offset_pixels) PNGARG((png_structp png_ptr, png_infop info_ptr)); extern PNG_EXPORT(png_int_32, png_get_y_offset_pixels) PNGARG((png_structp png_ptr, png_infop info_ptr)); extern PNG_EXPORT(png_int_32, png_get_x_offset_microns) PNGARG((png_structp png_ptr, png_infop info_ptr)); extern PNG_EXPORT(png_int_32, png_get_y_offset_microns) PNGARG((png_structp png_ptr, png_infop info_ptr)); #endif /* PNG_EASY_ACCESS_SUPPORTED */ /* Returns pointer to signature string read from PNG header */ extern PNG_EXPORT(png_bytep,png_get_signature) PNGARG((png_structp png_ptr, png_infop info_ptr)); #ifdef PNG_bKGD_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_bKGD) PNGARG((png_structp png_ptr, png_infop info_ptr, png_color_16p *background)); #endif #ifdef PNG_bKGD_SUPPORTED extern PNG_EXPORT(void,png_set_bKGD) PNGARG((png_structp png_ptr, png_infop info_ptr, png_color_16p background)); #endif #ifdef PNG_cHRM_SUPPORTED #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_cHRM) PNGARG((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)); #endif #ifdef PNG_FIXED_POINT_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_cHRM_fixed) PNGARG((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)); #endif #endif #ifdef PNG_cHRM_SUPPORTED #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(void,png_set_cHRM) PNGARG((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)); #endif #ifdef PNG_FIXED_POINT_SUPPORTED extern PNG_EXPORT(void,png_set_cHRM_fixed) PNGARG((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)); #endif #endif #ifdef PNG_gAMA_SUPPORTED #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_gAMA) PNGARG((png_structp png_ptr, png_infop info_ptr, double *file_gamma)); #endif extern PNG_EXPORT(png_uint_32,png_get_gAMA_fixed) PNGARG((png_structp png_ptr, png_infop info_ptr, png_fixed_point *int_file_gamma)); #endif #ifdef PNG_gAMA_SUPPORTED #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(void,png_set_gAMA) PNGARG((png_structp png_ptr, png_infop info_ptr, double file_gamma)); #endif extern PNG_EXPORT(void,png_set_gAMA_fixed) PNGARG((png_structp png_ptr, png_infop info_ptr, png_fixed_point int_file_gamma)); #endif #ifdef PNG_hIST_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_hIST) PNGARG((png_structp png_ptr, png_infop info_ptr, png_uint_16p *hist)); #endif #ifdef PNG_hIST_SUPPORTED extern PNG_EXPORT(void,png_set_hIST) PNGARG((png_structp png_ptr, png_infop info_ptr, png_uint_16p hist)); #endif extern PNG_EXPORT(png_uint_32,png_get_IHDR) PNGARG((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)); extern PNG_EXPORT(void,png_set_IHDR) PNGARG((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)); #ifdef PNG_oFFs_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_oFFs) PNGARG((png_structp png_ptr, png_infop info_ptr, png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type)); #endif #ifdef PNG_oFFs_SUPPORTED extern PNG_EXPORT(void,png_set_oFFs) PNGARG((png_structp png_ptr, png_infop info_ptr, png_int_32 offset_x, png_int_32 offset_y, int unit_type)); #endif #ifdef PNG_pCAL_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_pCAL) PNGARG((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)); #endif #ifdef PNG_pCAL_SUPPORTED extern PNG_EXPORT(void,png_set_pCAL) PNGARG((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)); #endif #ifdef PNG_pHYs_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_pHYs) PNGARG((png_structp png_ptr, png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)); #endif #ifdef PNG_pHYs_SUPPORTED extern PNG_EXPORT(void,png_set_pHYs) PNGARG((png_structp png_ptr, png_infop info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type)); #endif extern PNG_EXPORT(png_uint_32,png_get_PLTE) PNGARG((png_structp png_ptr, png_infop info_ptr, png_colorp *palette, int *num_palette)); extern PNG_EXPORT(void,png_set_PLTE) PNGARG((png_structp png_ptr, png_infop info_ptr, png_colorp palette, int num_palette)); #ifdef PNG_sBIT_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_sBIT) PNGARG((png_structp png_ptr, png_infop info_ptr, png_color_8p *sig_bit)); #endif #ifdef PNG_sBIT_SUPPORTED extern PNG_EXPORT(void,png_set_sBIT) PNGARG((png_structp png_ptr, png_infop info_ptr, png_color_8p sig_bit)); #endif #ifdef PNG_sRGB_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_sRGB) PNGARG((png_structp png_ptr, png_infop info_ptr, int *intent)); #endif #ifdef PNG_sRGB_SUPPORTED extern PNG_EXPORT(void,png_set_sRGB) PNGARG((png_structp png_ptr, png_infop info_ptr, int intent)); extern PNG_EXPORT(void,png_set_sRGB_gAMA_and_cHRM) PNGARG((png_structp png_ptr, png_infop info_ptr, int intent)); #endif #ifdef PNG_iCCP_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_iCCP) PNGARG((png_structp png_ptr, png_infop info_ptr, png_charpp name, int *compression_type, png_charpp profile, png_uint_32 *proflen)); /* Note to maintainer: profile should be png_bytepp */ #endif #ifdef PNG_iCCP_SUPPORTED extern PNG_EXPORT(void,png_set_iCCP) PNGARG((png_structp png_ptr, png_infop info_ptr, png_charp name, int compression_type, png_charp profile, png_uint_32 proflen)); /* Note to maintainer: profile should be png_bytep */ #endif #ifdef PNG_sPLT_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_sPLT) PNGARG((png_structp png_ptr, png_infop info_ptr, png_sPLT_tpp entries)); #endif #ifdef PNG_sPLT_SUPPORTED extern PNG_EXPORT(void,png_set_sPLT) PNGARG((png_structp png_ptr, png_infop info_ptr, png_sPLT_tp entries, int nentries)); #endif #ifdef PNG_TEXT_SUPPORTED /* png_get_text also returns the number of text chunks in *num_text */ extern PNG_EXPORT(png_uint_32,png_get_text) PNGARG((png_structp png_ptr, png_infop info_ptr, png_textp *text_ptr, int *num_text)); #endif /* Note while png_set_text() will accept a structure whose text, * language, and translated keywords are NULL pointers, the structure * returned by png_get_text will always contain regular * zero-terminated C strings. They might be empty strings but * they will never be NULL pointers. */ #ifdef PNG_TEXT_SUPPORTED extern PNG_EXPORT(void,png_set_text) PNGARG((png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, int num_text)); #endif #ifdef PNG_tIME_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_tIME) PNGARG((png_structp png_ptr, png_infop info_ptr, png_timep *mod_time)); #endif #ifdef PNG_tIME_SUPPORTED extern PNG_EXPORT(void,png_set_tIME) PNGARG((png_structp png_ptr, png_infop info_ptr, png_timep mod_time)); #endif #ifdef PNG_tRNS_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_tRNS) PNGARG((png_structp png_ptr, png_infop info_ptr, png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color)); #endif #ifdef PNG_tRNS_SUPPORTED extern PNG_EXPORT(void,png_set_tRNS) PNGARG((png_structp png_ptr, png_infop info_ptr, png_bytep trans_alpha, int num_trans, png_color_16p trans_color)); #endif #ifdef PNG_tRNS_SUPPORTED #endif #ifdef PNG_sCAL_SUPPORTED #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_sCAL) PNGARG((png_structp png_ptr, png_infop info_ptr, int *unit, double *width, double *height)); #else #ifdef PNG_FIXED_POINT_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_sCAL_s) PNGARG((png_structp png_ptr, png_infop info_ptr, int *unit, png_charpp swidth, png_charpp sheight)); #endif #endif #endif /* PNG_sCAL_SUPPORTED */ #ifdef PNG_sCAL_SUPPORTED #ifdef PNG_FLOATING_POINT_SUPPORTED extern PNG_EXPORT(void,png_set_sCAL) PNGARG((png_structp png_ptr, png_infop info_ptr, int unit, double width, double height)); #else #ifdef PNG_FIXED_POINT_SUPPORTED extern PNG_EXPORT(void,png_set_sCAL_s) PNGARG((png_structp png_ptr, png_infop info_ptr, int unit, png_charp swidth, png_charp sheight)); #endif #endif #endif /* PNG_sCAL_SUPPORTED || PNG_WRITE_sCAL_SUPPORTED */ #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED /* Provide a list of chunks and how they are to be handled, if the built-in handling or default unknown chunk handling is not desired. Any chunks not listed will be handled in the default manner. The IHDR and IEND chunks must not be listed. keep = 0: follow default behaviour = 1: do not keep = 2: keep only if safe-to-copy = 3: keep even if unsafe-to-copy */ extern PNG_EXPORT(void, png_set_keep_unknown_chunks) PNGARG((png_structp png_ptr, int keep, png_bytep chunk_list, int num_chunks)); PNG_EXPORT(int,png_handle_as_unknown) PNGARG((png_structp png_ptr, png_bytep chunk_name)); #endif #ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED extern PNG_EXPORT(void, png_set_unknown_chunks) PNGARG((png_structp png_ptr, png_infop info_ptr, png_unknown_chunkp unknowns, int num_unknowns)); extern PNG_EXPORT(void, png_set_unknown_chunk_location) PNGARG((png_structp png_ptr, png_infop info_ptr, int chunk, int location)); extern PNG_EXPORT(png_uint_32,png_get_unknown_chunks) PNGARG((png_structp png_ptr, png_infop info_ptr, png_unknown_chunkpp entries)); #endif /* Png_free_data() will turn off the "valid" flag for anything it frees. * If you need to turn it off for a chunk that your application has freed, * you can use png_set_invalid(png_ptr, info_ptr, PNG_INFO_CHNK); */ extern PNG_EXPORT(void, png_set_invalid) PNGARG((png_structp png_ptr, png_infop info_ptr, int mask)); #ifdef PNG_INFO_IMAGE_SUPPORTED /* The "params" pointer is currently not used and is for future expansion. */ extern PNG_EXPORT(void, png_read_png) PNGARG((png_structp png_ptr, png_infop info_ptr, int transforms, png_voidp params)); extern PNG_EXPORT(void, png_write_png) PNGARG((png_structp png_ptr, png_infop info_ptr, int transforms, png_voidp params)); #endif extern PNG_EXPORT(png_charp,png_get_copyright) PNGARG((png_structp png_ptr)); extern PNG_EXPORT(png_charp,png_get_header_ver) PNGARG((png_structp png_ptr)); extern PNG_EXPORT(png_charp,png_get_header_version) PNGARG((png_structp png_ptr)); extern PNG_EXPORT(png_charp,png_get_libpng_ver) PNGARG((png_structp png_ptr)); #ifdef PNG_MNG_FEATURES_SUPPORTED extern PNG_EXPORT(png_uint_32,png_permit_mng_features) PNGARG((png_structp png_ptr, png_uint_32 mng_features_permitted)); #endif /* For use in png_set_keep_unknown, added to version 1.2.6 */ #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 /* Strip the prepended error numbers ("#nnn ") from error and warning * messages before passing them to the error or warning handler. */ #ifdef PNG_ERROR_NUMBERS_SUPPORTED extern PNG_EXPORT(void,png_set_strip_error_numbers) PNGARG((png_structp png_ptr, png_uint_32 strip_mode)); #endif /* Added in libpng-1.2.6 */ #ifdef PNG_SET_USER_LIMITS_SUPPORTED extern PNG_EXPORT(void,png_set_user_limits) PNGARG((png_structp png_ptr, png_uint_32 user_width_max, png_uint_32 user_height_max)); extern PNG_EXPORT(png_uint_32,png_get_user_width_max) PNGARG((png_structp png_ptr)); extern PNG_EXPORT(png_uint_32,png_get_user_height_max) PNGARG((png_structp png_ptr)); /* Added in libpng-1.4.0 */ extern PNG_EXPORT(void,png_set_chunk_cache_max) PNGARG((png_structp png_ptr, png_uint_32 user_chunk_cache_max)); extern PNG_EXPORT(png_uint_32,png_get_chunk_cache_max) PNGARG((png_structp png_ptr)); /* Added in libpng-1.4.1 */ extern PNG_EXPORT(void,png_set_chunk_malloc_max) PNGARG((png_structp png_ptr, png_alloc_size_t user_chunk_cache_max)); extern PNG_EXPORT(png_alloc_size_t,png_get_chunk_malloc_max) PNGARG((png_structp png_ptr)); #endif #if defined(PNG_INCH_CONVERSIONS) && defined(PNG_FLOATING_POINT_SUPPORTED) PNG_EXPORT(png_uint_32,png_get_pixels_per_inch) PNGARG((png_structp png_ptr, png_infop info_ptr)); PNG_EXPORT(png_uint_32,png_get_x_pixels_per_inch) PNGARG((png_structp png_ptr, png_infop info_ptr)); PNG_EXPORT(png_uint_32,png_get_y_pixels_per_inch) PNGARG((png_structp png_ptr, png_infop info_ptr)); PNG_EXPORT(float,png_get_x_offset_inches) PNGARG((png_structp png_ptr, png_infop info_ptr)); PNG_EXPORT(float,png_get_y_offset_inches) PNGARG((png_structp png_ptr, png_infop info_ptr)); #ifdef PNG_pHYs_SUPPORTED PNG_EXPORT(png_uint_32,png_get_pHYs_dpi) PNGARG((png_structp png_ptr, png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)); #endif /* PNG_pHYs_SUPPORTED */ #endif /* PNG_INCH_CONVERSIONS && PNG_FLOATING_POINT_SUPPORTED */ /* Added in libpng-1.4.0 */ #ifdef PNG_IO_STATE_SUPPORTED extern PNG_EXPORT(png_uint_32,png_get_io_state) PNGARG((png_structp png_ptr)); extern PNG_EXPORT(png_bytep,png_get_io_chunk_name) PNGARG((png_structp png_ptr)); /* The flags returned by png_get_io_state() are the following: */ #define PNG_IO_NONE 0x0000 /* no I/O at this moment */ #define PNG_IO_READING 0x0001 /* currently reading */ #define PNG_IO_WRITING 0x0002 /* currently writing */ #define PNG_IO_SIGNATURE 0x0010 /* currently at the file signature */ #define PNG_IO_CHUNK_HDR 0x0020 /* currently at the chunk header */ #define PNG_IO_CHUNK_DATA 0x0040 /* currently at the chunk data */ #define PNG_IO_CHUNK_CRC 0x0080 /* currently at the chunk crc */ #define PNG_IO_MASK_OP 0x000f /* current operation: reading/writing */ #define PNG_IO_MASK_LOC 0x00f0 /* current location: sig/hdr/data/crc */ #endif /* ?PNG_IO_STATE_SUPPORTED */ /* Maintainer: Put new public prototypes here ^, in libpng.3, and project * defs */ #ifdef PNG_READ_COMPOSITE_NODIV_SUPPORTED /* With these routines we avoid an integer divide, which will be slower on * most machines. However, it does take more operations than the corresponding * divide method, so it may be slower on a few RISC systems. There are two * shifts (by 8 or 16 bits) and an addition, versus a single integer divide. * * Note that the rounding factors are NOT supposed to be the same! 128 and * 32768 are correct for the NODIV code; 127 and 32767 are correct for the * standard method. * * [Optimized code by Greg Roelofs and Mark Adler...blame us for bugs. :-) ] */ /* fg and bg should be in `gamma 1.0' space; alpha is the opacity */ # define png_composite(composite, fg, alpha, bg) \ { 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) \ { 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); } #else /* Standard method using integer division */ # define png_composite(composite, fg, alpha, bg) \ (composite) = (png_byte)(((png_uint_16)(fg) * (png_uint_16)(alpha) + \ (png_uint_16)(bg) * (png_uint_16)(255 - (png_uint_16)(alpha)) + \ (png_uint_16)127) / 255) # define png_composite_16(composite, fg, alpha, bg) \ (composite) = (png_uint_16)(((png_uint_32)(fg) * (png_uint_32)(alpha) + \ (png_uint_32)(bg)*(png_uint_32)(65535L - (png_uint_32)(alpha)) + \ (png_uint_32)32767) / (png_uint_32)65535L) #endif /* PNG_READ_COMPOSITE_NODIV_SUPPORTED */ #ifdef PNG_USE_READ_MACROS /* Inline macros to do direct reads of bytes from the input buffer. * The png_get_int_32() routine assumes we are using two's complement * format for negative values, which is almost certainly true. */ /* We could make special-case BIG_ENDIAN macros that do direct reads here */ # define png_get_uint_32(buf) \ (((png_uint_32)(*(buf)) << 24) + \ ((png_uint_32)(*((buf) + 1)) << 16) + \ ((png_uint_32)(*((buf) + 2)) << 8) + \ ((png_uint_32)(*((buf) + 3)))) # define png_get_uint_16(buf) \ (((png_uint_32)(*(buf)) << 8) + \ ((png_uint_32)(*((buf) + 1)))) #ifdef PNG_GET_INT_32_SUPPORTED # define png_get_int_32(buf) \ (((png_int_32)(*(buf)) << 24) + \ ((png_int_32)(*((buf) + 1)) << 16) + \ ((png_int_32)(*((buf) + 2)) << 8) + \ ((png_int_32)(*((buf) + 3)))) #endif #else extern PNG_EXPORT(png_uint_32,png_get_uint_32) PNGARG((png_bytep buf)); extern PNG_EXPORT(png_uint_16,png_get_uint_16) PNGARG((png_bytep buf)); #ifdef PNG_GET_INT_32_SUPPORTED extern PNG_EXPORT(png_int_32,png_get_int_32) PNGARG((png_bytep buf)); #endif #endif extern PNG_EXPORT(png_uint_32,png_get_uint_31) PNGARG((png_structp png_ptr, png_bytep buf)); /* No png_get_int_16 -- may be added if there's a real need for it. */ /* Place a 32-bit number into a buffer in PNG byte order (big-endian). */ extern PNG_EXPORT(void,png_save_uint_32) PNGARG((png_bytep buf, png_uint_32 i)); extern PNG_EXPORT(void,png_save_int_32) PNGARG((png_bytep buf, png_int_32 i)); /* Place a 16-bit number into a buffer in PNG byte order. * The parameter is declared unsigned int, not png_uint_16, * just to avoid potential problems on pre-ANSI C compilers. */ extern PNG_EXPORT(void,png_save_uint_16) PNGARG((png_bytep buf, unsigned int i)); /* No png_save_int_16 -- may be added if there's a real need for it. */ /* ************************************************************************* */ /* Various modes of operation. Note that after an init, mode is set to * zero automatically when the structure is created. */ #define PNG_HAVE_IHDR 0x01 #define PNG_HAVE_PLTE 0x02 #define PNG_HAVE_IDAT 0x04 #define PNG_AFTER_IDAT 0x08 /* Have complete zlib datastream */ #define PNG_HAVE_IEND 0x10 #define PNG_HAVE_gAMA 0x20 #define PNG_HAVE_cHRM 0x40 #ifdef __cplusplus } #endif #endif /* PNG_VERSION_INFO_ONLY */ /* Do not put anything past this line */ #endif /* PNG_H */ 070701000a9799000081a40000000000000000000000014cc10ccf0000b43a000000b600010002ffffffffffffffff0000002a00000000root/usr/local/include/libpng14/pngconf.h /* pngconf.h - machine configurable file for libpng * * libpng version 1.4.3 - June 26, 2010 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2010 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer * and license in png.h * */ /* Any machine specific code is near the front of this file, so if you * are configuring libpng for a machine, you may want to read the section * starting here down to where it starts to typedef png_color, png_text, * and png_info. */ #ifndef PNGCONF_H #define PNGCONF_H #ifndef PNG_NO_LIMITS_H # include #endif /* Added at libpng-1.2.9 */ /* config.h is created by and PNG_CONFIGURE_LIBPNG is set by the "configure" * script. */ #ifdef PNG_CONFIGURE_LIBPNG # ifdef HAVE_CONFIG_H # include "config.h" # endif #endif /* * Added at libpng-1.2.8 * * PNG_USER_CONFIG has to be defined on the compiler command line. This * includes the resource compiler for Windows DLL configurations. */ #ifdef PNG_USER_CONFIG # ifndef PNG_USER_PRIVATEBUILD # define PNG_USER_PRIVATEBUILD # endif # include "pngusr.h" #endif /* * If you create a private DLL you need to define in "pngusr.h" the followings: * #define PNG_USER_PRIVATEBUILD * e.g. #define PNG_USER_PRIVATEBUILD "Build by MyCompany for xyz reasons." * #define PNG_USER_DLLFNAME_POSTFIX * e.g. // private DLL "libpng13gx.dll" * #define PNG_USER_DLLFNAME_POSTFIX "gx" * * The following macros are also at your disposal if you want to complete the * DLL VERSIONINFO structure. * - PNG_USER_VERSIONINFO_COMMENTS * - PNG_USER_VERSIONINFO_COMPANYNAME * - PNG_USER_VERSIONINFO_LEGALTRADEMARKS */ #ifdef __STDC__ # ifdef SPECIALBUILD # pragma message("PNG_LIBPNG_SPECIALBUILD (and deprecated SPECIALBUILD)\ are now LIBPNG reserved macros. Use PNG_USER_PRIVATEBUILD instead.") # endif # ifdef PRIVATEBUILD # pragma message("PRIVATEBUILD is deprecated.\ Use PNG_USER_PRIVATEBUILD instead.") # define PNG_USER_PRIVATEBUILD PRIVATEBUILD # endif #endif /* __STDC__ */ /* End of material added to libpng-1.2.8 */ #ifndef PNG_VERSION_INFO_ONLY /* This is the size of the compression buffer, and thus the size of * an IDAT chunk. Make this whatever size you feel is best for your * machine. One of these will be allocated per png_struct. When this * is full, it writes the data to the disk, and does some other * calculations. Making this an extremely small size will slow * the library down, but you may want to experiment to determine * where it becomes significant, if you are concerned with memory * usage. Note that zlib allocates at least 32Kb also. For readers, * this describes the size of the buffer available to read the data in. * Unless this gets smaller than the size of a row (compressed), * it should not make much difference how big this is. */ #ifndef PNG_ZBUF_SIZE # define PNG_ZBUF_SIZE 8192 #endif /* Enable if you want a write-only libpng */ #ifndef PNG_NO_READ_SUPPORTED # define PNG_READ_SUPPORTED #endif /* Enable if you want a read-only libpng */ #ifndef PNG_NO_WRITE_SUPPORTED # define PNG_WRITE_SUPPORTED #endif /* Enabled in 1.4.0. */ #ifdef PNG_ALLOW_BENIGN_ERRORS # define png_benign_error png_warning # define png_chunk_benign_error png_chunk_warning #else # ifndef PNG_BENIGN_ERRORS_SUPPORTED # define png_benign_error png_error # define png_chunk_benign_error png_chunk_error # endif #endif /* Added at libpng version 1.4.0 */ #if !defined(PNG_NO_WARNINGS) && !defined(PNG_WARNINGS_SUPPORTED) # define PNG_WARNINGS_SUPPORTED #endif /* Added at libpng version 1.4.0 */ #if !defined(PNG_NO_ERROR_TEXT) && !defined(PNG_ERROR_TEXT_SUPPORTED) # define PNG_ERROR_TEXT_SUPPORTED #endif /* Added at libpng version 1.4.0 */ #if !defined(PNG_NO_CHECK_cHRM) && !defined(PNG_CHECK_cHRM_SUPPORTED) # define PNG_CHECK_cHRM_SUPPORTED #endif /* Added at libpng version 1.4.0 */ #if !defined(PNG_NO_ALIGNED_MEMORY) && !defined(PNG_ALIGNED_MEMORY_SUPPORTED) # define PNG_ALIGNED_MEMORY_SUPPORTED #endif /* Enabled by default in 1.2.0. You can disable this if you don't need to support PNGs that are embedded in MNG datastreams */ #ifndef PNG_NO_MNG_FEATURES # ifndef PNG_MNG_FEATURES_SUPPORTED # define PNG_MNG_FEATURES_SUPPORTED # endif #endif /* Added at libpng version 1.4.0 */ #ifndef PNG_NO_FLOATING_POINT_SUPPORTED # ifndef PNG_FLOATING_POINT_SUPPORTED # define PNG_FLOATING_POINT_SUPPORTED # endif #endif /* Added at libpng-1.4.0beta49 for testing (this test is no longer used in libpng and png_calloc() is always present) */ #define PNG_CALLOC_SUPPORTED /* If you are running on a machine where you cannot allocate more * than 64K of memory at once, uncomment this. While libpng will not * normally need that much memory in a chunk (unless you load up a very * large file), zlib needs to know how big of a chunk it can use, and * libpng thus makes sure to check any memory allocation to verify it * will fit into memory. #define PNG_MAX_MALLOC_64K */ #if defined(MAXSEG_64K) && !defined(PNG_MAX_MALLOC_64K) # define PNG_MAX_MALLOC_64K #endif /* Special munging to support doing things the 'cygwin' way: * 'Normal' png-on-win32 defines/defaults: * PNG_BUILD_DLL -- building dll * PNG_USE_DLL -- building an application, linking to dll * (no define) -- building static library, or building an * application and linking to the static lib * 'Cygwin' defines/defaults: * PNG_BUILD_DLL -- (ignored) building the dll * (no define) -- (ignored) building an application, linking to the dll * PNG_STATIC -- (ignored) building the static lib, or building an * application that links to the static lib. * ALL_STATIC -- (ignored) building various static libs, or building an * application that links to the static libs. * Thus, * a cygwin user should define either PNG_BUILD_DLL or PNG_STATIC, and * this bit of #ifdefs will define the 'correct' config variables based on * that. If a cygwin user *wants* to define 'PNG_USE_DLL' that's okay, but * unnecessary. * * Also, the precedence order is: * ALL_STATIC (since we can't #undef something outside our namespace) * PNG_BUILD_DLL * PNG_STATIC * (nothing) == PNG_USE_DLL * * CYGWIN (2002-01-20): The preceding is now obsolete. With the advent * of auto-import in binutils, we no longer need to worry about * __declspec(dllexport) / __declspec(dllimport) and friends. Therefore, * we don't need to worry about PNG_STATIC or ALL_STATIC when it comes * to __declspec() stuff. However, we DO need to worry about * PNG_BUILD_DLL and PNG_STATIC because those change some defaults * such as CONSOLE_IO. */ #ifdef __CYGWIN__ # ifdef ALL_STATIC # ifdef PNG_BUILD_DLL # undef PNG_BUILD_DLL # endif # ifdef PNG_USE_DLL # undef PNG_USE_DLL # endif # ifdef PNG_DLL # undef PNG_DLL # endif # ifndef PNG_STATIC # define PNG_STATIC # endif # else # ifdef PNG_BUILD_DLL # ifdef PNG_STATIC # undef PNG_STATIC # endif # ifdef PNG_USE_DLL # undef PNG_USE_DLL # endif # ifndef PNG_DLL # define PNG_DLL # endif # else # ifdef PNG_STATIC # ifdef PNG_USE_DLL # undef PNG_USE_DLL # endif # ifdef PNG_DLL # undef PNG_DLL # endif # else # ifndef PNG_USE_DLL # define PNG_USE_DLL # endif # ifndef PNG_DLL # define PNG_DLL # endif # endif # endif # endif #endif /* This protects us against compilers that run on a windowing system * and thus don't have or would rather us not use the stdio types: * stdin, stdout, and stderr. The only one currently used is stderr * in png_error() and png_warning(). #defining PNG_NO_CONSOLE_IO will * prevent these from being compiled and used. #defining PNG_NO_STDIO * will also prevent these, plus will prevent the entire set of stdio * macros and functions (FILE *, printf, etc.) from being compiled and used, * unless (PNG_DEBUG > 0) has been #defined. * * #define PNG_NO_CONSOLE_IO * #define PNG_NO_STDIO */ #if !defined(PNG_NO_STDIO) && !defined(PNG_STDIO_SUPPORTED) # define PNG_STDIO_SUPPORTED #endif #ifdef PNG_BUILD_DLL # if !defined(PNG_CONSOLE_IO_SUPPORTED) && !defined(PNG_NO_CONSOLE_IO) # define PNG_NO_CONSOLE_IO # endif #endif # ifdef PNG_NO_STDIO # ifndef PNG_NO_CONSOLE_IO # define PNG_NO_CONSOLE_IO # endif # ifdef PNG_DEBUG # if (PNG_DEBUG > 0) # include # endif # endif # else # include # endif #if !(defined PNG_NO_CONSOLE_IO) && !defined(PNG_CONSOLE_IO_SUPPORTED) # define PNG_CONSOLE_IO_SUPPORTED #endif /* This macro protects us against machines that don't have function * prototypes (ie K&R style headers). If your compiler does not handle * function prototypes, define this macro and use the included ansi2knr. * I've always been able to use _NO_PROTO as the indicator, but you may * need to drag the empty declaration out in front of here, or change the * ifdef to suit your own needs. */ #ifndef PNGARG #ifdef OF /* zlib prototype munger */ # define PNGARG(arglist) OF(arglist) #else #ifdef _NO_PROTO # define PNGARG(arglist) () #else # define PNGARG(arglist) arglist #endif /* _NO_PROTO */ #endif /* OF */ #endif /* PNGARG */ /* Try to determine if we are compiling on a Mac. Note that testing for * just __MWERKS__ is not good enough, because the Codewarrior is now used * on non-Mac platforms. */ #ifndef MACOS # if (defined(__MWERKS__) && defined(macintosh)) || defined(applec) || \ defined(THINK_C) || defined(__SC__) || defined(TARGET_OS_MAC) # define MACOS # endif #endif /* Enough people need this for various reasons to include it here */ #if !defined(MACOS) && !defined(RISCOS) # include #endif /* PNG_SETJMP_NOT_SUPPORTED and PNG_NO_SETJMP_SUPPORTED are deprecated. */ #if !defined(PNG_NO_SETJMP) && \ !defined(PNG_SETJMP_NOT_SUPPORTED) && !defined(PNG_NO_SETJMP_SUPPORTED) # define PNG_SETJMP_SUPPORTED #endif #ifdef PNG_SETJMP_SUPPORTED /* This is an attempt to force a single setjmp behaviour on Linux. If * the X config stuff didn't define _BSD_SOURCE we wouldn't need this. * * You can bypass this test if you know that your application uses exactly * the same setjmp.h that was included when libpng was built. Only define * PNG_SKIP_SETJMP_CHECK while building your application, prior to the * application's '#include "png.h"'. Don't define PNG_SKIP_SETJMP_CHECK * while building a separate libpng library for general use. */ # ifndef PNG_SKIP_SETJMP_CHECK # ifdef __linux__ # ifdef _BSD_SOURCE # define PNG_SAVE_BSD_SOURCE # undef _BSD_SOURCE # endif # ifdef _SETJMP_H /* If you encounter a compiler error here, see the explanation * near the end of INSTALL. */ __pngconf.h__ in libpng already includes setjmp.h; __dont__ include it again.; # endif # endif /* __linux__ */ # endif /* PNG_SKIP_SETJMP_CHECK */ /* Include setjmp.h for error handling */ # include # ifdef __linux__ # ifdef PNG_SAVE_BSD_SOURCE # ifdef _BSD_SOURCE # undef _BSD_SOURCE # endif # define _BSD_SOURCE # undef PNG_SAVE_BSD_SOURCE # endif # endif /* __linux__ */ #endif /* PNG_SETJMP_SUPPORTED */ #ifdef BSD # include #else # include #endif /* Other defines for things like memory and the like can go here. */ /* This controls how fine the quantizing gets. As this allocates * a largish chunk of memory (32K), those who are not as concerned * with quantizing quality can decrease some or all of these. */ /* Prior to libpng-1.4.2, these were PNG_DITHER_*_BITS * These migration aids will be removed from libpng-1.5.0. */ #ifdef PNG_DITHER_RED_BITS # define PNG_QUANTIZE_RED_BITS PNG_DITHER_RED_BITS #endif #ifdef PNG_DITHER_GREEN_BITS # define PNG_QUANTIZE_GREEN_BITS PNG_DITHER_GREEN_BITS #endif #ifdef PNG_DITHER_BLUE_BITS # define PNG_QUANTIZE_BLUE_BITS PNG_DITHER_BLUE_BITS #endif #ifndef PNG_QUANTIZE_RED_BITS # define PNG_QUANTIZE_RED_BITS 5 #endif #ifndef PNG_QUANTIZE_GREEN_BITS # define PNG_QUANTIZE_GREEN_BITS 5 #endif #ifndef PNG_QUANTIZE_BLUE_BITS # define PNG_QUANTIZE_BLUE_BITS 5 #endif /* This controls how fine the gamma correction becomes when you * are only interested in 8 bits anyway. Increasing this value * results in more memory being used, and more pow() functions * being called to fill in the gamma tables. Don't set this value * less then 8, and even that may not work (I haven't tested it). */ #ifndef PNG_MAX_GAMMA_8 # define PNG_MAX_GAMMA_8 11 #endif /* This controls how much a difference in gamma we can tolerate before * we actually start doing gamma conversion. */ #ifndef PNG_GAMMA_THRESHOLD # define PNG_GAMMA_THRESHOLD 0.05 #endif /* The following uses const char * instead of char * for error * and warning message functions, so some compilers won't complain. * If you do not want to use const, define PNG_NO_CONST here. */ #ifndef PNG_CONST # ifndef PNG_NO_CONST # define PNG_CONST const # else # define PNG_CONST # endif #endif /* The following defines give you the ability to remove code from the * library that you will not be using. I wish I could figure out how to * automate this, but I can't do that without making it seriously hard * on the users. So if you are not using an ability, change the #define * to and #undef, and that part of the library will not be compiled. If * your linker can't find a function, you may want to make sure the * ability is defined here. Some of these depend upon some others being * defined. I haven't figured out all the interactions here, so you may * have to experiment awhile to get everything to compile. If you are * creating or using a shared library, you probably shouldn't touch this, * as it will affect the size of the structures, and this will cause bad * things to happen if the library and/or application ever change. */ /* Any features you will not be using can be undef'ed here */ /* GR-P, 0.96a: Set "*TRANSFORMS_SUPPORTED as default but allow user * to turn it off with PNG_NO_READ|WRITE_TRANSFORMS on the compile line, * then pick and choose which ones to define without having to edit this * file. It is safe to use the PNG_NO_READ|WRITE_TRANSFORMS * if you only want to have a png-compliant reader/writer but don't need * any of the extra transformations. This saves about 80 kbytes in a * typical installation of the library. (PNG_NO_* form added in version * 1.0.1c, for consistency; PNG_*_TRANSFORMS_NOT_SUPPORTED deprecated in * 1.4.0) */ /* Ignore attempt to turn off both floating and fixed point support */ #if !defined(PNG_FLOATING_POINT_SUPPORTED) || \ !defined(PNG_NO_FIXED_POINT_SUPPORTED) # define PNG_FIXED_POINT_SUPPORTED #endif #ifdef PNG_READ_SUPPORTED /* PNG_READ_TRANSFORMS_NOT_SUPPORTED is deprecated. */ #if !defined(PNG_READ_TRANSFORMS_NOT_SUPPORTED) && \ !defined(PNG_NO_READ_TRANSFORMS) # define PNG_READ_TRANSFORMS_SUPPORTED #endif #ifdef PNG_READ_TRANSFORMS_SUPPORTED # ifndef PNG_NO_READ_EXPAND # define PNG_READ_EXPAND_SUPPORTED # endif # ifndef PNG_NO_READ_SHIFT # define PNG_READ_SHIFT_SUPPORTED # endif # ifndef PNG_NO_READ_PACK # define PNG_READ_PACK_SUPPORTED # endif # ifndef PNG_NO_READ_BGR # define PNG_READ_BGR_SUPPORTED # endif # ifndef PNG_NO_READ_SWAP # define PNG_READ_SWAP_SUPPORTED # endif # ifndef PNG_NO_READ_PACKSWAP # define PNG_READ_PACKSWAP_SUPPORTED # endif # ifndef PNG_NO_READ_INVERT # define PNG_READ_INVERT_SUPPORTED # endif # ifndef PNG_NO_READ_QUANTIZE /* Prior to libpng-1.4.0 this was PNG_READ_DITHER_SUPPORTED */ # ifndef PNG_NO_READ_DITHER /* This migration aid will be removed */ # define PNG_READ_QUANTIZE_SUPPORTED # endif # endif # ifndef PNG_NO_READ_BACKGROUND # define PNG_READ_BACKGROUND_SUPPORTED # endif # ifndef PNG_NO_READ_16_TO_8 # define PNG_READ_16_TO_8_SUPPORTED # endif # ifndef PNG_NO_READ_FILLER # define PNG_READ_FILLER_SUPPORTED # endif # ifndef PNG_NO_READ_GAMMA # define PNG_READ_GAMMA_SUPPORTED # endif # ifndef PNG_NO_READ_GRAY_TO_RGB # define PNG_READ_GRAY_TO_RGB_SUPPORTED # endif # ifndef PNG_NO_READ_SWAP_ALPHA # define PNG_READ_SWAP_ALPHA_SUPPORTED # endif # ifndef PNG_NO_READ_INVERT_ALPHA # define PNG_READ_INVERT_ALPHA_SUPPORTED # endif # ifndef PNG_NO_READ_STRIP_ALPHA # define PNG_READ_STRIP_ALPHA_SUPPORTED # endif # ifndef PNG_NO_READ_USER_TRANSFORM # define PNG_READ_USER_TRANSFORM_SUPPORTED # endif # ifndef PNG_NO_READ_RGB_TO_GRAY # define PNG_READ_RGB_TO_GRAY_SUPPORTED # endif #endif /* PNG_READ_TRANSFORMS_SUPPORTED */ /* PNG_PROGRESSIVE_READ_NOT_SUPPORTED is deprecated. */ #if !defined(PNG_NO_PROGRESSIVE_READ) && \ !defined(PNG_PROGRESSIVE_READ_NOT_SUPPORTED) /* if you don't do progressive */ # define PNG_PROGRESSIVE_READ_SUPPORTED /* reading. This is not talking */ #endif /* about interlacing capability! You'll */ /* still have interlacing unless you change the following define: */ #define PNG_READ_INTERLACING_SUPPORTED /* required for PNG-compliant decoders */ /* PNG_NO_SEQUENTIAL_READ_SUPPORTED is deprecated. */ #if !defined(PNG_NO_SEQUENTIAL_READ) && \ !defined(PNG_SEQUENTIAL_READ_SUPPORTED) && \ !defined(PNG_NO_SEQUENTIAL_READ_SUPPORTED) # define PNG_SEQUENTIAL_READ_SUPPORTED #endif #ifndef PNG_NO_READ_COMPOSITE_NODIV # ifndef PNG_NO_READ_COMPOSITED_NODIV /* libpng-1.0.x misspelling */ # define PNG_READ_COMPOSITE_NODIV_SUPPORTED /* well tested on Intel, SGI */ # endif #endif #if !defined(PNG_NO_GET_INT_32) || defined(PNG_READ_oFFS_SUPPORTED) || \ defined(PNG_READ_pCAL_SUPPORTED) # ifndef PNG_GET_INT_32_SUPPORTED # define PNG_GET_INT_32_SUPPORTED # endif #endif #endif /* PNG_READ_SUPPORTED */ #ifdef PNG_WRITE_SUPPORTED /* PNG_WRITE_TRANSFORMS_NOT_SUPPORTED is deprecated. */ #if !defined(PNG_WRITE_TRANSFORMS_NOT_SUPPORTED) && \ !defined(PNG_NO_WRITE_TRANSFORMS) # define PNG_WRITE_TRANSFORMS_SUPPORTED #endif #ifdef PNG_WRITE_TRANSFORMS_SUPPORTED # ifndef PNG_NO_WRITE_SHIFT # define PNG_WRITE_SHIFT_SUPPORTED # endif # ifndef PNG_NO_WRITE_PACK # define PNG_WRITE_PACK_SUPPORTED # endif # ifndef PNG_NO_WRITE_BGR # define PNG_WRITE_BGR_SUPPORTED # endif # ifndef PNG_NO_WRITE_SWAP # define PNG_WRITE_SWAP_SUPPORTED # endif # ifndef PNG_NO_WRITE_PACKSWAP # define PNG_WRITE_PACKSWAP_SUPPORTED # endif # ifndef PNG_NO_WRITE_INVERT # define PNG_WRITE_INVERT_SUPPORTED # endif # ifndef PNG_NO_WRITE_FILLER # define PNG_WRITE_FILLER_SUPPORTED /* same as WRITE_STRIP_ALPHA */ # endif # ifndef PNG_NO_WRITE_SWAP_ALPHA # define PNG_WRITE_SWAP_ALPHA_SUPPORTED # endif # ifndef PNG_NO_WRITE_INVERT_ALPHA # define PNG_WRITE_INVERT_ALPHA_SUPPORTED # endif # ifndef PNG_NO_WRITE_USER_TRANSFORM # define PNG_WRITE_USER_TRANSFORM_SUPPORTED # endif #endif /* PNG_WRITE_TRANSFORMS_SUPPORTED */ #if !defined(PNG_NO_WRITE_INTERLACING_SUPPORTED) && \ !defined(PNG_WRITE_INTERLACING_SUPPORTED) /* This is not required for PNG-compliant encoders, but can cause * trouble if left undefined */ # define PNG_WRITE_INTERLACING_SUPPORTED #endif #if !defined(PNG_NO_WRITE_WEIGHTED_FILTER) && \ !defined(PNG_WRITE_WEIGHTED_FILTER) && \ defined(PNG_FLOATING_POINT_SUPPORTED) # define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED #endif #ifndef PNG_NO_WRITE_FLUSH # define PNG_WRITE_FLUSH_SUPPORTED #endif #if !defined(PNG_NO_SAVE_INT_32) || defined(PNG_WRITE_oFFS_SUPPORTED) || \ defined(PNG_WRITE_pCAL_SUPPORTED) # ifndef PNG_SAVE_INT_32_SUPPORTED # define PNG_SAVE_INT_32_SUPPORTED # endif #endif #endif /* PNG_WRITE_SUPPORTED */ #define PNG_NO_ERROR_NUMBERS #if defined(PNG_READ_USER_TRANSFORM_SUPPORTED) || \ defined(PNG_WRITE_USER_TRANSFORM_SUPPORTED) # ifndef PNG_NO_USER_TRANSFORM_PTR # define PNG_USER_TRANSFORM_PTR_SUPPORTED # endif #endif #if defined(PNG_STDIO_SUPPORTED) && !defined(PNG_TIME_RFC1123_SUPPORTED) # define PNG_TIME_RFC1123_SUPPORTED #endif /* This adds extra functions in pngget.c for accessing data from the * info pointer (added in version 0.99) * png_get_image_width() * png_get_image_height() * png_get_bit_depth() * png_get_color_type() * png_get_compression_type() * png_get_filter_type() * png_get_interlace_type() * png_get_pixel_aspect_ratio() * png_get_pixels_per_meter() * png_get_x_offset_pixels() * png_get_y_offset_pixels() * png_get_x_offset_microns() * png_get_y_offset_microns() */ #if !defined(PNG_NO_EASY_ACCESS) && !defined(PNG_EASY_ACCESS_SUPPORTED) # define PNG_EASY_ACCESS_SUPPORTED #endif /* Added at libpng-1.2.0 */ #if !defined(PNG_NO_USER_MEM) && !defined(PNG_USER_MEM_SUPPORTED) # define PNG_USER_MEM_SUPPORTED #endif /* Added at libpng-1.2.6 */ #ifndef PNG_NO_SET_USER_LIMITS # ifndef PNG_SET_USER_LIMITS_SUPPORTED # define PNG_SET_USER_LIMITS_SUPPORTED # endif /* Feature added at libpng-1.4.0, this flag added at 1.4.1 */ # ifndef PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED # define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED # endif /* Feature added at libpng-1.4.1, this flag added at 1.4.1 */ # ifndef PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED # define PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED # endif #endif /* Added at libpng-1.2.43 */ #ifndef PNG_USER_LIMITS_SUPPORTED # ifndef PNG_NO_USER_LIMITS # define PNG_USER_LIMITS_SUPPORTED # endif #endif /* Added at libpng-1.0.16 and 1.2.6. To accept all valid PNGs no matter * how large, set these two limits to 0x7fffffffL */ #ifndef PNG_USER_WIDTH_MAX # define PNG_USER_WIDTH_MAX 1000000L #endif #ifndef PNG_USER_HEIGHT_MAX # define PNG_USER_HEIGHT_MAX 1000000L #endif /* Added at libpng-1.2.43. To accept all valid PNGs no matter * how large, set these two limits to 0. */ #ifndef PNG_USER_CHUNK_CACHE_MAX # define PNG_USER_CHUNK_CACHE_MAX 0 #endif /* Added at libpng-1.2.43 */ #ifndef PNG_USER_CHUNK_MALLOC_MAX # define PNG_USER_CHUNK_MALLOC_MAX 0 #endif /* Added at libpng-1.4.0 */ #if !defined(PNG_NO_IO_STATE) && !defined(PNG_IO_STATE_SUPPORTED) # define PNG_IO_STATE_SUPPORTED #endif #ifndef PNG_LITERAL_SHARP # define PNG_LITERAL_SHARP 0x23 #endif #ifndef PNG_LITERAL_LEFT_SQUARE_BRACKET # define PNG_LITERAL_LEFT_SQUARE_BRACKET 0x5b #endif #ifndef PNG_LITERAL_RIGHT_SQUARE_BRACKET # define PNG_LITERAL_RIGHT_SQUARE_BRACKET 0x5d #endif #ifndef PNG_STRING_NEWLINE #define PNG_STRING_NEWLINE "\n" #endif /* These are currently experimental features, define them if you want */ /* Very little testing */ /* #ifdef PNG_READ_SUPPORTED # ifndef PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED # define PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED # endif #endif */ /* This is only for PowerPC big-endian and 680x0 systems */ /* some testing */ /* #ifndef PNG_READ_BIG_ENDIAN_SUPPORTED # define PNG_READ_BIG_ENDIAN_SUPPORTED #endif */ #if !defined(PNG_NO_USE_READ_MACROS) && !defined(PNG_USE_READ_MACROS) # define PNG_USE_READ_MACROS #endif /* Buggy compilers (e.g., gcc 2.7.2.2) need PNG_NO_POINTER_INDEXING */ #if !defined(PNG_NO_POINTER_INDEXING) && \ !defined(PNG_POINTER_INDEXING_SUPPORTED) # define PNG_POINTER_INDEXING_SUPPORTED #endif /* Any chunks you are not interested in, you can undef here. The * ones that allocate memory may be expecially important (hIST, * tEXt, zTXt, tRNS, pCAL). Others will just save time and make png_info * a bit smaller. */ /* The size of the png_text structure changed in libpng-1.0.6 when * iTXt support was added. iTXt support was turned off by default through * libpng-1.2.x, to support old apps that malloc the png_text structure * instead of calling png_set_text() and letting libpng malloc it. It * was turned on by default in libpng-1.4.0. */ /* PNG_READ_ANCILLARY_CHUNKS_NOT_SUPPORTED is deprecated. */ #if defined(PNG_READ_SUPPORTED) && \ !defined(PNG_READ_ANCILLARY_CHUNKS_NOT_SUPPORTED) && \ !defined(PNG_NO_READ_ANCILLARY_CHUNKS) # define PNG_READ_ANCILLARY_CHUNKS_SUPPORTED #endif /* PNG_WRITE_ANCILLARY_CHUNKS_NOT_SUPPORTED is deprecated. */ #if defined(PNG_WRITE_SUPPORTED) && \ !defined(PNG_WRITE_ANCILLARY_CHUNKS_NOT_SUPPORTED) && \ !defined(PNG_NO_WRITE_ANCILLARY_CHUNKS) # define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED #endif #ifdef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED #ifdef PNG_NO_READ_TEXT # define PNG_NO_READ_iTXt # define PNG_NO_READ_tEXt # define PNG_NO_READ_zTXt #endif #ifndef PNG_NO_READ_bKGD # define PNG_READ_bKGD_SUPPORTED # define PNG_bKGD_SUPPORTED #endif #ifndef PNG_NO_READ_cHRM # define PNG_READ_cHRM_SUPPORTED # define PNG_cHRM_SUPPORTED #endif #ifndef PNG_NO_READ_gAMA # define PNG_READ_gAMA_SUPPORTED # define PNG_gAMA_SUPPORTED #endif #ifndef PNG_NO_READ_hIST # define PNG_READ_hIST_SUPPORTED # define PNG_hIST_SUPPORTED #endif #ifndef PNG_NO_READ_iCCP # define PNG_READ_iCCP_SUPPORTED # define PNG_iCCP_SUPPORTED #endif #ifndef PNG_NO_READ_iTXt # ifndef PNG_READ_iTXt_SUPPORTED # define PNG_READ_iTXt_SUPPORTED # endif # ifndef PNG_iTXt_SUPPORTED # define PNG_iTXt_SUPPORTED # endif #endif #ifndef PNG_NO_READ_oFFs # define PNG_READ_oFFs_SUPPORTED # define PNG_oFFs_SUPPORTED #endif #ifndef PNG_NO_READ_pCAL # define PNG_READ_pCAL_SUPPORTED # define PNG_pCAL_SUPPORTED #endif #ifndef PNG_NO_READ_sCAL # define PNG_READ_sCAL_SUPPORTED # define PNG_sCAL_SUPPORTED #endif #ifndef PNG_NO_READ_pHYs # define PNG_READ_pHYs_SUPPORTED # define PNG_pHYs_SUPPORTED #endif #ifndef PNG_NO_READ_sBIT # define PNG_READ_sBIT_SUPPORTED # define PNG_sBIT_SUPPORTED #endif #ifndef PNG_NO_READ_sPLT # define PNG_READ_sPLT_SUPPORTED # define PNG_sPLT_SUPPORTED #endif #ifndef PNG_NO_READ_sRGB # define PNG_READ_sRGB_SUPPORTED # define PNG_sRGB_SUPPORTED #endif #ifndef PNG_NO_READ_tEXt # define PNG_READ_tEXt_SUPPORTED # define PNG_tEXt_SUPPORTED #endif #ifndef PNG_NO_READ_tIME # define PNG_READ_tIME_SUPPORTED # define PNG_tIME_SUPPORTED #endif #ifndef PNG_NO_READ_tRNS # define PNG_READ_tRNS_SUPPORTED # define PNG_tRNS_SUPPORTED #endif #ifndef PNG_NO_READ_zTXt # define PNG_READ_zTXt_SUPPORTED # define PNG_zTXt_SUPPORTED #endif #ifndef PNG_NO_READ_OPT_PLTE # define PNG_READ_OPT_PLTE_SUPPORTED /* only affects support of the */ #endif /* optional PLTE chunk in RGB and RGBA images */ #if defined(PNG_READ_iTXt_SUPPORTED) || defined(PNG_READ_tEXt_SUPPORTED) || \ defined(PNG_READ_zTXt_SUPPORTED) # define PNG_READ_TEXT_SUPPORTED # define PNG_TEXT_SUPPORTED #endif #endif /* PNG_READ_ANCILLARY_CHUNKS_SUPPORTED */ #ifndef PNG_NO_READ_UNKNOWN_CHUNKS # ifndef PNG_READ_UNKNOWN_CHUNKS_SUPPORTED # define PNG_READ_UNKNOWN_CHUNKS_SUPPORTED # endif # ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED # define PNG_UNKNOWN_CHUNKS_SUPPORTED # endif # ifndef PNG_READ_USER_CHUNKS_SUPPORTED # define PNG_READ_USER_CHUNKS_SUPPORTED # endif #endif #ifndef PNG_NO_READ_USER_CHUNKS # ifndef PNG_READ_USER_CHUNKS_SUPPORTED # define PNG_READ_USER_CHUNKS_SUPPORTED # endif # ifndef PNG_USER_CHUNKS_SUPPORTED # define PNG_USER_CHUNKS_SUPPORTED # endif #endif #ifndef PNG_NO_HANDLE_AS_UNKNOWN # ifndef PNG_HANDLE_AS_UNKNOWN_SUPPORTED # define PNG_HANDLE_AS_UNKNOWN_SUPPORTED # endif #endif #ifdef PNG_WRITE_SUPPORTED #ifdef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED #ifdef PNG_NO_WRITE_TEXT # define PNG_NO_WRITE_iTXt # define PNG_NO_WRITE_tEXt # define PNG_NO_WRITE_zTXt #endif #ifndef PNG_NO_WRITE_bKGD # define PNG_WRITE_bKGD_SUPPORTED # ifndef PNG_bKGD_SUPPORTED # define PNG_bKGD_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_cHRM # define PNG_WRITE_cHRM_SUPPORTED # ifndef PNG_cHRM_SUPPORTED # define PNG_cHRM_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_gAMA # define PNG_WRITE_gAMA_SUPPORTED # ifndef PNG_gAMA_SUPPORTED # define PNG_gAMA_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_hIST # define PNG_WRITE_hIST_SUPPORTED # ifndef PNG_hIST_SUPPORTED # define PNG_hIST_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_iCCP # define PNG_WRITE_iCCP_SUPPORTED # ifndef PNG_iCCP_SUPPORTED # define PNG_iCCP_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_iTXt # ifndef PNG_WRITE_iTXt_SUPPORTED # define PNG_WRITE_iTXt_SUPPORTED # endif # ifndef PNG_iTXt_SUPPORTED # define PNG_iTXt_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_oFFs # define PNG_WRITE_oFFs_SUPPORTED # ifndef PNG_oFFs_SUPPORTED # define PNG_oFFs_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_pCAL # define PNG_WRITE_pCAL_SUPPORTED # ifndef PNG_pCAL_SUPPORTED # define PNG_pCAL_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_sCAL # define PNG_WRITE_sCAL_SUPPORTED # ifndef PNG_sCAL_SUPPORTED # define PNG_sCAL_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_pHYs # define PNG_WRITE_pHYs_SUPPORTED # ifndef PNG_pHYs_SUPPORTED # define PNG_pHYs_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_sBIT # define PNG_WRITE_sBIT_SUPPORTED # ifndef PNG_sBIT_SUPPORTED # define PNG_sBIT_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_sPLT # define PNG_WRITE_sPLT_SUPPORTED # ifndef PNG_sPLT_SUPPORTED # define PNG_sPLT_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_sRGB # define PNG_WRITE_sRGB_SUPPORTED # ifndef PNG_sRGB_SUPPORTED # define PNG_sRGB_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_tEXt # define PNG_WRITE_tEXt_SUPPORTED # ifndef PNG_tEXt_SUPPORTED # define PNG_tEXt_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_tIME # define PNG_WRITE_tIME_SUPPORTED # ifndef PNG_tIME_SUPPORTED # define PNG_tIME_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_tRNS # define PNG_WRITE_tRNS_SUPPORTED # ifndef PNG_tRNS_SUPPORTED # define PNG_tRNS_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_zTXt # define PNG_WRITE_zTXt_SUPPORTED # ifndef PNG_zTXt_SUPPORTED # define PNG_zTXt_SUPPORTED # endif #endif #if defined(PNG_WRITE_iTXt_SUPPORTED) || defined(PNG_WRITE_tEXt_SUPPORTED) || \ defined(PNG_WRITE_zTXt_SUPPORTED) # define PNG_WRITE_TEXT_SUPPORTED # ifndef PNG_TEXT_SUPPORTED # define PNG_TEXT_SUPPORTED # endif #endif #ifdef PNG_WRITE_tIME_SUPPORTED # ifndef PNG_NO_CONVERT_tIME # ifndef _WIN32_WCE /* The "tm" structure is not supported on WindowsCE */ # ifndef PNG_CONVERT_tIME_SUPPORTED # define PNG_CONVERT_tIME_SUPPORTED # endif # endif # endif #endif #endif /* PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED */ #ifndef PNG_NO_WRITE_FILTER # ifndef PNG_WRITE_FILTER_SUPPORTED # define PNG_WRITE_FILTER_SUPPORTED # endif #endif #ifndef PNG_NO_WRITE_UNKNOWN_CHUNKS # define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED # ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED # define PNG_UNKNOWN_CHUNKS_SUPPORTED # endif #endif #ifndef PNG_NO_HANDLE_AS_UNKNOWN # ifndef PNG_HANDLE_AS_UNKNOWN_SUPPORTED # define PNG_HANDLE_AS_UNKNOWN_SUPPORTED # endif #endif #endif /* PNG_WRITE_SUPPORTED */ /* Turn this off to disable png_read_png() and * png_write_png() and leave the row_pointers member * out of the info structure. */ #ifndef PNG_NO_INFO_IMAGE # define PNG_INFO_IMAGE_SUPPORTED #endif /* Need the time information for converting tIME chunks */ #ifdef PNG_CONVERT_tIME_SUPPORTED /* "time.h" functions are not supported on WindowsCE */ # include #endif /* Some typedefs to get us started. These should be safe on most of the * common platforms. The typedefs should be at least as large as the * numbers suggest (a png_uint_32 must be at least 32 bits long), but they * don't have to be exactly that size. Some compilers dislike passing * unsigned shorts as function parameters, so you may be better off using * unsigned int for png_uint_16. */ #if defined(INT_MAX) && (INT_MAX > 0x7ffffffeL) typedef unsigned int png_uint_32; typedef int png_int_32; #else typedef unsigned long png_uint_32; typedef long png_int_32; #endif typedef unsigned short png_uint_16; typedef short png_int_16; typedef unsigned char png_byte; #ifdef PNG_NO_SIZE_T typedef unsigned int png_size_t; #else typedef size_t png_size_t; #endif #define png_sizeof(x) sizeof(x) /* The following is needed for medium model support. It cannot be in the * pngpriv.h header. Needs modification for other compilers besides * MSC. Model independent support declares all arrays and pointers to be * large using the far keyword. The zlib version used must also support * model independent data. As of version zlib 1.0.4, the necessary changes * have been made in zlib. The USE_FAR_KEYWORD define triggers other * changes that are needed. (Tim Wegner) */ /* Separate compiler dependencies (problem here is that zlib.h always * defines FAR. (SJT) */ #ifdef __BORLANDC__ # if defined(__LARGE__) || defined(__HUGE__) || defined(__COMPACT__) # define LDATA 1 # else # define LDATA 0 # endif /* GRR: why is Cygwin in here? Cygwin is not Borland C... */ # if !defined(__WIN32__) && !defined(__FLAT__) && !defined(__CYGWIN__) # define PNG_MAX_MALLOC_64K # if (LDATA != 1) # ifndef FAR # define FAR __far # endif # define USE_FAR_KEYWORD # endif /* LDATA != 1 */ /* Possibly useful for moving data out of default segment. * Uncomment it if you want. Could also define FARDATA as * const if your compiler supports it. (SJT) # define FARDATA FAR */ # endif /* __WIN32__, __FLAT__, __CYGWIN__ */ #endif /* __BORLANDC__ */ /* Suggest testing for specific compiler first before testing for * FAR. The Watcom compiler defines both __MEDIUM__ and M_I86MM, * making reliance oncertain keywords suspect. (SJT) */ /* MSC Medium model */ #ifdef FAR # ifdef M_I86MM # define USE_FAR_KEYWORD # define FARDATA FAR # include # endif #endif /* SJT: default case */ #ifndef FAR # define FAR #endif /* At this point FAR is always defined */ #ifndef FARDATA # define FARDATA #endif /* Typedef for floating-point numbers that are converted to fixed-point with a multiple of 100,000, e.g., int_gamma */ typedef png_int_32 png_fixed_point; /* Add typedefs for pointers */ typedef void FAR * png_voidp; typedef png_byte FAR * png_bytep; typedef png_uint_32 FAR * png_uint_32p; typedef png_int_32 FAR * png_int_32p; typedef png_uint_16 FAR * png_uint_16p; typedef png_int_16 FAR * png_int_16p; typedef PNG_CONST char FAR * png_const_charp; typedef char FAR * png_charp; typedef png_fixed_point FAR * png_fixed_point_p; #ifndef PNG_NO_STDIO typedef FILE * png_FILE_p; #endif #ifdef PNG_FLOATING_POINT_SUPPORTED typedef double FAR * png_doublep; #endif /* Pointers to pointers; i.e. arrays */ typedef png_byte FAR * FAR * png_bytepp; typedef png_uint_32 FAR * FAR * png_uint_32pp; typedef png_int_32 FAR * FAR * png_int_32pp; typedef png_uint_16 FAR * FAR * png_uint_16pp; typedef png_int_16 FAR * FAR * png_int_16pp; typedef PNG_CONST char FAR * FAR * png_const_charpp; typedef char FAR * FAR * png_charpp; typedef png_fixed_point FAR * FAR * png_fixed_point_pp; #ifdef PNG_FLOATING_POINT_SUPPORTED typedef double FAR * FAR * png_doublepp; #endif /* Pointers to pointers to pointers; i.e., pointer to array */ typedef char FAR * FAR * FAR * png_charppp; /* Define PNG_BUILD_DLL if the module being built is a Windows * LIBPNG DLL. * * Define PNG_USE_DLL if you want to *link* to the Windows LIBPNG DLL. * It is equivalent to Microsoft predefined macro _DLL that is * automatically defined when you compile using the share * version of the CRT (C Run-Time library) * * The cygwin mods make this behavior a little different: * Define PNG_BUILD_DLL if you are building a dll for use with cygwin * Define PNG_STATIC if you are building a static library for use with cygwin, * -or- if you are building an application that you want to link to the * static library. * PNG_USE_DLL is defined by default (no user action needed) unless one of * the other flags is defined. */ #if !defined(PNG_DLL) && (defined(PNG_BUILD_DLL) || defined(PNG_USE_DLL)) # define PNG_DLL #endif #ifdef __CYGWIN__ # undef PNGAPI # define PNGAPI __cdecl # undef PNG_IMPEXP # define PNG_IMPEXP #endif #define PNG_USE_LOCAL_ARRAYS /* Not used in libpng, defined for legacy apps */ /* If you define PNGAPI, e.g., with compiler option "-DPNGAPI=__stdcall", * you may get warnings regarding the linkage of png_zalloc and png_zfree. * Don't ignore those warnings; you must also reset the default calling * convention in your compiler to match your PNGAPI, and you must build * zlib and your applications the same way you build libpng. */ #if defined(__MINGW32__) && !defined(PNG_MODULEDEF) # ifndef PNG_NO_MODULEDEF # define PNG_NO_MODULEDEF # endif #endif #if !defined(PNG_IMPEXP) && defined(PNG_BUILD_DLL) && !defined(PNG_NO_MODULEDEF) # define PNG_IMPEXP #endif #if defined(PNG_DLL) || defined(_DLL) || defined(__DLL__ ) || \ (( defined(_Windows) || defined(_WINDOWS) || \ defined(WIN32) || defined(_WIN32) || defined(__WIN32__) )) # ifndef PNGAPI # if defined(__GNUC__) || (defined (_MSC_VER) && (_MSC_VER >= 800)) # define PNGAPI __cdecl # else # define PNGAPI _cdecl # endif # endif # if !defined(PNG_IMPEXP) && (!defined(PNG_DLL) || \ 0 /* WINCOMPILER_WITH_NO_SUPPORT_FOR_DECLIMPEXP */) # define PNG_IMPEXP # endif # ifndef PNG_IMPEXP # define PNG_EXPORT_TYPE1(type,symbol) PNG_IMPEXP type PNGAPI symbol # define PNG_EXPORT_TYPE2(type,symbol) type PNG_IMPEXP PNGAPI symbol /* Borland/Microsoft */ # if defined(_MSC_VER) || defined(__BORLANDC__) # if (_MSC_VER >= 800) || (__BORLANDC__ >= 0x500) # define PNG_EXPORT PNG_EXPORT_TYPE1 # else # define PNG_EXPORT PNG_EXPORT_TYPE2 # ifdef PNG_BUILD_DLL # define PNG_IMPEXP __export # else # define PNG_IMPEXP /*__import */ /* doesn't exist AFAIK in VC++ */ # endif /* Exists in Borland C++ for C++ classes (== huge) */ # endif # endif # ifndef PNG_IMPEXP # ifdef PNG_BUILD_DLL # define PNG_IMPEXP __declspec(dllexport) # else # define PNG_IMPEXP __declspec(dllimport) # endif # endif # endif /* PNG_IMPEXP */ #else /* !(DLL || non-cygwin WINDOWS) */ # if (defined(__IBMC__) || defined(__IBMCPP__)) && defined(__OS2__) # ifndef PNGAPI # define PNGAPI _System # endif # else # if 0 /* ... other platforms, with other meanings */ # endif # endif #endif #ifndef PNGAPI # define PNGAPI #endif #ifndef PNG_IMPEXP # define PNG_IMPEXP #endif #ifdef PNG_BUILDSYMS # ifndef PNG_EXPORT # define PNG_EXPORT(type,symbol) PNG_FUNCTION_EXPORT symbol END # endif #endif #ifndef PNG_EXPORT # define PNG_EXPORT(type,symbol) PNG_IMPEXP type PNGAPI symbol #endif /* Support for compiler specific function attributes. These are used * so that where compiler support is available incorrect use of API * functions in png.h will generate compiler warnings. * * Added at libpng-1.2.41. */ #ifndef PNG_NO_PEDANTIC_WARNINGS # ifndef PNG_PEDANTIC_WARNINGS_SUPPORTED # define PNG_PEDANTIC_WARNINGS_SUPPORTED # endif #endif #ifdef PNG_PEDANTIC_WARNINGS_SUPPORTED /* Support for compiler specific function attributes. These are used * so that where compiler support is available incorrect use of API * functions in png.h will generate compiler warnings. Added at libpng * version 1.2.41. */ # ifdef __GNUC__ # ifndef PNG_USE_RESULT # define PNG_USE_RESULT __attribute__((__warn_unused_result__)) # endif # ifndef PNG_NORETURN # define PNG_NORETURN __attribute__((__noreturn__)) # endif # ifndef PNG_ALLOCATED # define PNG_ALLOCATED __attribute__((__malloc__)) # endif /* This specifically protects structure members that should only be * accessed from within the library, therefore should be empty during * a library build. */ # ifndef PNG_DEPRECATED # define PNG_DEPRECATED __attribute__((__deprecated__)) # endif # ifndef PNG_DEPSTRUCT # define PNG_DEPSTRUCT __attribute__((__deprecated__)) # endif # ifndef PNG_PRIVATE # if 0 /* Doesn't work so we use deprecated instead*/ # define PNG_PRIVATE \ __attribute__((warning("This function is not exported by libpng."))) # else # define PNG_PRIVATE \ __attribute__((__deprecated__)) # endif # endif /* PNG_PRIVATE */ # endif /* __GNUC__ */ #endif /* PNG_PEDANTIC_WARNINGS */ #ifndef PNG_DEPRECATED # define PNG_DEPRECATED /* Use of this function is deprecated */ #endif #ifndef PNG_USE_RESULT # define PNG_USE_RESULT /* The result of this function must be checked */ #endif #ifndef PNG_NORETURN # define PNG_NORETURN /* This function does not return */ #endif #ifndef PNG_ALLOCATED # define PNG_ALLOCATED /* The result of the function is new memory */ #endif #ifndef PNG_DEPSTRUCT # define PNG_DEPSTRUCT /* Access to this struct member is deprecated */ #endif #ifndef PNG_PRIVATE # define PNG_PRIVATE /* This is a private libpng function */ #endif /* Users may want to use these so they are not private. Any library * functions that are passed far data must be model-independent. */ /* memory model/platform independent fns */ #ifndef PNG_ABORT # ifdef _WINDOWS_ # define PNG_ABORT() ExitProcess(0) # else # define PNG_ABORT() abort() # endif #endif #ifdef USE_FAR_KEYWORD /* Use this to make far-to-near assignments */ # define CHECK 1 # define NOCHECK 0 # define CVT_PTR(ptr) (png_far_to_near(png_ptr,ptr,CHECK)) # define CVT_PTR_NOCHECK(ptr) (png_far_to_near(png_ptr,ptr,NOCHECK)) # define png_strcpy _fstrcpy # define png_strncpy _fstrncpy /* Added to v 1.2.6 */ # define png_strlen _fstrlen # define png_memcmp _fmemcmp /* SJT: added */ # define png_memcpy _fmemcpy # define png_memset _fmemset # define png_sprintf sprintf #else # ifdef _WINDOWS_ /* Favor Windows over C runtime fns */ # define CVT_PTR(ptr) (ptr) # define CVT_PTR_NOCHECK(ptr) (ptr) # define png_strcpy lstrcpyA # define png_strncpy lstrcpynA # define png_strlen lstrlenA # define png_memcmp memcmp # define png_memcpy CopyMemory # define png_memset memset # define png_sprintf wsprintfA # else # define CVT_PTR(ptr) (ptr) # define CVT_PTR_NOCHECK(ptr) (ptr) # define png_strcpy strcpy # define png_strncpy strncpy /* Added to v 1.2.6 */ # define png_strlen strlen # define png_memcmp memcmp /* SJT: added */ # define png_memcpy memcpy # define png_memset memset # define png_sprintf sprintf # ifndef PNG_NO_SNPRINTF # ifdef _MSC_VER # define png_snprintf _snprintf /* Added to v 1.2.19 */ # define png_snprintf2 _snprintf # define png_snprintf6 _snprintf # else # define png_snprintf snprintf /* Added to v 1.2.19 */ # define png_snprintf2 snprintf # define png_snprintf6 snprintf # endif # else /* You don't have or don't want to use snprintf(). Caution: Using * sprintf instead of snprintf exposes your application to accidental * or malevolent buffer overflows. If you don't have snprintf() * as a general rule you should provide one (you can get one from * Portable OpenSSH). */ # define png_snprintf(s1,n,fmt,x1) sprintf(s1,fmt,x1) # define png_snprintf2(s1,n,fmt,x1,x2) sprintf(s1,fmt,x1,x2) # define png_snprintf6(s1,n,fmt,x1,x2,x3,x4,x5,x6) \ sprintf(s1,fmt,x1,x2,x3,x4,x5,x6) # endif # endif #endif /* png_alloc_size_t is guaranteed to be no smaller than png_size_t, * and no smaller than png_uint_32. Casts from png_size_t or png_uint_32 * to png_alloc_size_t are not necessary; in fact, it is recommended * not to use them at all so that the compiler can complain when something * turns out to be problematic. * Casts in the other direction (from png_alloc_size_t to png_size_t or * png_uint_32) should be explicitly applied; however, we do not expect * to encounter practical situations that require such conversions. */ #if defined(__TURBOC__) && !defined(__FLAT__) # define png_mem_alloc farmalloc # define png_mem_free farfree typedef unsigned long png_alloc_size_t; #else # if defined(_MSC_VER) && defined(MAXSEG_64K) # define png_mem_alloc(s) halloc(s, 1) # define png_mem_free hfree typedef unsigned long png_alloc_size_t; # else # if defined(_WINDOWS_) && (!defined(INT_MAX) || INT_MAX <= 0x7ffffffeL) # define png_mem_alloc(s) HeapAlloc(GetProcessHeap(), 0, s) # define png_mem_free(p) HeapFree(GetProcessHeap(), 0, p) typedef DWORD png_alloc_size_t; # else # define png_mem_alloc malloc # define png_mem_free free typedef png_size_t png_alloc_size_t; # endif # endif #endif /* End of memory model/platform independent support */ /* Just a little check that someone hasn't tried to define something * contradictory. */ #if (PNG_ZBUF_SIZE > 65536L) && defined(PNG_MAX_MALLOC_64K) # undef PNG_ZBUF_SIZE # define PNG_ZBUF_SIZE 65536L #endif /* Added at libpng-1.2.8 */ #endif /* PNG_VERSION_INFO_ONLY */ #endif /* PNGCONF_H */ 070701000a9794000041ed0000000000000000000000024cc10e4800000000000000b600010002ffffffffffffffff0000001300000000root/usr/local/bin070701000a9795000081ed0000000000000000000000014cc10ccf00000901000000b600010002ffffffffffffffff0000002300000000root/usr/local/bin/libpng14-config#! /bin/sh # libpng-config # provides configuration info for libpng. # Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson # This code is released under the libpng license. # For conditions of distribution and use, see the disclaimer # and license in png.h # Modeled after libxml-config. version="1.4.3" prefix="/usr/local" exec_prefix="${prefix}" libdir="${exec_prefix}/lib" includedir="${prefix}/include/libpng14" libs="-lpng14" all_libs="-lpng14 -lz -lm " I_opts="-I${includedir}" L_opts="-L${libdir}" R_opts="" cppflags="" ccopts="" ldopts="" usage() { cat <\fP \fB#include \fI"pngpriv.h" \fI\fB \fBvoid png_64bit_product (long \fP\fIv1\fP\fB, long \fP\fIv2\fP\fB, unsigned long \fI*hi_product, \fBunsigned long \fI*lo_product\fP\fB);\fP \fI\fB \fBvoid png_build_gamma_table (png_structp \fP\fIpng_ptr\fP\fB, png_byte \fIbit_depth\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_build_grayscale_palette (int \fP\fIbit_depth\fP\fB, png_colorp \fIpalette\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_calculate_crc (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIptr\fP\fB, png_size_t \fIlength\fP\fB);\fP \fI\fB \fI\fB \fBint png_check_cHRM_fixed (png_structp \fP\fIpng_ptr\fP\fB, png_fixed_point \fP\fIint_white_x\fP\fB, png_fixed_point \fP\fIint_white_y\fP\fB, png_fixed_point \fP\fIint_red_x\fP\fB, png_fixed_point \fP\fIint_red_y\fP\fB, png_fixed_point \fP\fIint_green_x\fP\fB, png_fixed_point \fP\fIint_green_y\fP\fB, png_fixed_point \fP\fIint_blue_x\fP\fB, png_fixed_point \fIint_blue_y\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_check_chunk_name (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fIchunk_name\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_check_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\fIinterlace_type\fP\fB, int \fP\fIcompression_type\fP\fB, int \fIfilter_type\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_combine_row (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIrow\fP\fB, int \fImask\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_correct_palette (png_structp \fP\fIpng_ptr\fP\fB, png_colorp \fP\fIpalette\fP\fB, int \fInum_palette\fP\fB);\fP \fI\fB \fI\fB \fBint png_crc_error (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBint png_crc_finish (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fIskip\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_crc_read (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIbuf\fP\fB, png_size_t \fIlength\fP\fB);\fP \fI\fB \fI\fB \fBpng_voidp png_create_struct (int \fItype\fP\fB);\fP \fI\fB \fI\fB \fBpng_voidp png_create_struct_2 (int \fP\fItype\fP\fB, png_malloc_ptr \fP\fImalloc_fn\fP\fB, png_voidp \fImem_ptr\fP\fB);\fP \fI\fB \fI\fB \fBint png_debug(int \fP\fIlevel\fP\fB, png_const_charp \fImessage\fP\fB);\fP \fI\fB \fBint png_debug1(int \fP\fIlevel\fP\fB, png_const_charp \fP\fImessage\fP\fB, \fIp1\fP\fB);\fP \fI\fB \fBint png_debug2(int \fP\fIlevel\fP\fB, png_const_charp \fP\fImessage\fP\fB, \fP\fIp1\fP\fB, \fIp2\fP\fB);\fP \fI\fB \fBvoid png_decompress_chunk (png_structp \fP\fIpng_ptr\fP\fB, int \fP\fIcomp_type\fP\fB, png_size_t \fP\fIchunklength\fP\fB, png_size_t \fP\fIprefix_length\fP\fB, png_size_t \fI*data_length\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_destroy_struct (png_voidp \fIstruct_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_destroy_struct_2 (png_voidp \fP\fIstruct_ptr\fP\fB, png_free_ptr \fP\fIfree_fn\fP\fB, png_voidp \fImem_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_do_background (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_color_16p \fP\fItrans_color\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 \fI\fB \fI\fB \fBvoid png_do_bgr (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_do_chop (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_do_gray_to_rgb (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_do_invert (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_do_packswap (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_do_quantize (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_bytep \fP\fIpalette_lookup\fP\fB, png_bytep \fIquantize_lookup\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_do_read_invert_alpha (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fBvoid png_do_read_swap_alpha (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_do_read_transformations (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBint png_do_rgb_to_gray (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_do_swap (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_do_unpack (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_do_write_interlace (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, int \fIpass\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_do_write_invert_alpha (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_do_write_swap_alpha (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_do_write_transformations (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid *png_far_to_near (png_structp png_ptr,png_voidp \fP\fIptr\fP\fB, int \fIcheck\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_flush (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_handle_iCCP (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_handle_iTXt (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_handle_sCAL (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_handle_sPLT (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_info_destroy (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_init_mmx_flags (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_init_read_transformations (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_process_some_data (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_check_crc (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_crc_finish (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_crc_skip (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fIlength\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_push_have_end (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_have_info (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_have_row (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_process_row (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_read_chunk (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_read_end (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_read_IDAT (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_read_sig (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_read_tEXt (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_push_read_zTXt (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_push_save_buffer (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_read_data (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIdata\fP\fB, png_size_t \fIlength\fP\fB);\fP \fI\fB \fBvoid png_read_destroy (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_infop \fIend_info_ptr\fP\fB);\fP \fI\fB \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 \fI\fB \fI\fB \fBvoid png_read_finish_row (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_read_push_finish_row (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_read_start_row (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_read_transform_info (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_reset_crc (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBint png_set_text_2 (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_textp \fP\fItext_ptr\fP\fB, int \fInum_text\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_write_cHRM_fixed (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fP\fIwhite_x\fP\fB, png_uint_32 \fP\fIwhite_y\fP\fB, png_uint_32 \fP\fIred_x\fP\fB, png_uint_32 \fP\fIred_y\fP\fB, png_uint_32 \fP\fIgreen_x\fP\fB, png_uint_32 \fP\fIgreen_y\fP\fB, png_uint_32 \fP\fIblue_x\fP\fB, png_uint_32 \fIblue_y\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_data (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIdata\fP\fB, png_size_t \fIlength\fP\fB);\fP \fI\fB \fBvoid png_write_destroy (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_write_filtered_row (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fIfiltered_row\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_find_filter (png_structp \fP\fIpng_ptr\fP\fB, png_row_infop \fIrow_info\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_finish_row (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_gAMA (png_structp \fP\fIpng_ptr\fP\fB, double \fIfile_gamma\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_gAMA_fixed (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fIint_file_gamma\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_hIST (png_structp \fP\fIpng_ptr\fP\fB, png_uint_16p \fP\fIhist\fP\fB, int \fInum_hist\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_iCCP (png_structp \fP\fIpng_ptr\fP\fB, png_charp \fP\fIname\fP\fB, int \fP\fIcompression_type\fP\fB, png_charp \fP\fIprofile\fP\fB, int \fIproflen\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_IDAT (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIdata\fP\fB, png_size_t \fIlength\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_IEND (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_write_iTXt (png_structp \fP\fIpng_ptr\fP\fB, int \fP\fIcompression\fP\fB, png_charp \fP\fIkey\fP\fB, png_charp \fP\fIlang\fP\fB, png_charp \fP\fItranslated_key\fP\fB, png_charp \fItext\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_write_sBIT (png_structp \fP\fIpng_ptr\fP\fB, png_color_8p \fP\fIsbit\fP\fB, int \fIcolor_type\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_sCAL (png_structp \fP\fIpng_ptr\fP\fB, png_charp \fP\fIunit\fP\fB, double \fP\fIwidth\fP\fB, double \fIheight\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_sCAL_s (png_structp \fP\fIpng_ptr\fP\fB, png_charp \fP\fIunit\fP\fB, png_charp \fP\fIwidth\fP\fB, png_charp \fIheight\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_sRGB (png_structp \fP\fIpng_ptr\fP\fB, int \fIintent\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_sPLT (png_structp \fP\fIpng_ptr\fP\fB, png_spalette_p \fIpalette\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_write_start_row (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoid png_write_tIME (png_structp \fP\fIpng_ptr\fP\fB, png_timep \fImod_time\fP\fB);\fP \fI\fB \fI\fB \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 \fI\fB \fI\fB \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 \fI\fB \fI\fB \fBvoidpf png_zalloc (voidpf \fP\fIpng_ptr\fP\fB, uInt \fP\fIitems\fP\fB, uInt \fIsize\fP\fB);\fP \fI\fB \fI\fB \fBvoid png_zfree (voidpf \fP\fIpng_ptr\fP\fB, voidpf \fIptr\fP\fB);\fP \fI\fB \fI\fB .SH DESCRIPTION The functions listed above are used privately by libpng and are not recommended for use by applications. They are not "exported" to applications using shared libraries. They are listed alphabetically here as an aid to libpng maintainers. See png.h for more information on these functions. .SH SEE ALSO libpng(3), png(5) .SH AUTHOR Glenn Randers-Pehrson 070701000a97a3000081a40000000000000000000000014cc10ccf0002ba8b000000b600010002ffffffffffffffff0000002700000000root/usr/local/share/man/man3/libpng.3.TH LIBPNG 3 "June 26, 2010" .SH NAME libpng \- Portable Network Graphics (PNG) Reference Library 1.4.3 .SH SYNOPSIS \fI\fB \fB#include \fP \fI\fB \fBpng_uint_32 png_access_version_number \fI(void\fP\fB);\fP \fI\fB \fBvoid png_benign_error (png_structp \fP\fIpng_ptr\fP\fB, png_const_charp \fIerror\fP\fB);\fP \fI\fB \fBvoid png_chunk_benign_error (png_structp \fP\fIpng_ptr\fP\fB, png_const_charp \fIerror\fP\fB);\fP \fI\fB \fBvoid png_chunk_error (png_structp \fP\fIpng_ptr\fP\fB, png_const_charp \fIerror\fP\fB);\fP \fI\fB \fBvoid png_chunk_warning (png_structp \fP\fIpng_ptr\fP\fB, png_const_charp \fImessage\fP\fB);\fP \fI\fB \fBvoid png_convert_from_struct_tm (png_timep \fP\fIptime\fP\fB, struct tm FAR * \fIttime\fP\fB);\fP \fI\fB \fBvoid png_convert_from_time_t (png_timep \fP\fIptime\fP\fB, time_t \fIttime\fP\fB);\fP \fI\fB \fBpng_charp png_convert_to_rfc1123 (png_structp \fP\fIpng_ptr\fP\fB, png_timep \fIptime\fP\fB);\fP \fI\fB \fBpng_infop png_create_info_struct (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_structp png_create_read_struct (png_const_charp \fP\fIuser_png_ver\fP\fB, png_voidp \fP\fIerror_ptr\fP\fB, png_error_ptr \fP\fIerror_fn\fP\fB, png_error_ptr \fIwarn_fn\fP\fB);\fP \fI\fB \fBpng_structp png_create_read_struct_2(png_const_charp \fP\fIuser_png_ver\fP\fB, png_voidp \fP\fIerror_ptr\fP\fB, png_error_ptr \fP\fIerror_fn\fP\fB, png_error_ptr \fP\fIwarn_fn\fP\fB, png_voidp \fP\fImem_ptr\fP\fB, png_malloc_ptr \fP\fImalloc_fn\fP\fB, png_free_ptr \fIfree_fn\fP\fB);\fP \fI\fB \fBpng_structp png_create_write_struct (png_const_charp \fP\fIuser_png_ver\fP\fB, png_voidp \fP\fIerror_ptr\fP\fB, png_error_ptr \fP\fIerror_fn\fP\fB, png_error_ptr \fIwarn_fn\fP\fB);\fP \fI\fB \fBpng_structp png_create_write_struct_2(png_const_charp \fP\fIuser_png_ver\fP\fB, png_voidp \fP\fIerror_ptr\fP\fB, png_error_ptr \fP\fIerror_fn\fP\fB, png_error_ptr \fP\fIwarn_fn\fP\fB, png_voidp \fP\fImem_ptr\fP\fB, png_malloc_ptr \fP\fImalloc_fn\fP\fB, png_free_ptr \fIfree_fn\fP\fB);\fP \fI\fB \fBvoid png_destroy_info_struct (png_structp \fP\fIpng_ptr\fP\fB, png_infopp \fIinfo_ptr_ptr\fP\fB);\fP \fI\fB \fBvoid png_destroy_read_struct (png_structpp \fP\fIpng_ptr_ptr\fP\fB, png_infopp \fP\fIinfo_ptr_ptr\fP\fB, png_infopp \fIend_info_ptr_ptr\fP\fB);\fP \fI\fB \fBvoid png_destroy_write_struct (png_structpp \fP\fIpng_ptr_ptr\fP\fB, png_infopp \fIinfo_ptr_ptr\fP\fB);\fP \fI\fB \fBvoid png_error (png_structp \fP\fIpng_ptr\fP\fB, png_const_charp \fIerror\fP\fB);\fP \fI\fB \fBvoid png_free (png_structp \fP\fIpng_ptr\fP\fB, png_voidp \fIptr\fP\fB);\fP \fI\fB \fBvoid png_free_chunk_list (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_free_default(png_structp \fP\fIpng_ptr\fP\fB, png_voidp \fIptr\fP\fB);\fP \fI\fB \fBvoid png_free_data (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, int \fInum\fP\fB);\fP \fI\fB \fBpng_byte png_get_bit_depth (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_bKGD (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_color_16p \fI*background\fP\fB);\fP \fI\fB \fBpng_byte png_get_channels (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_cHRM (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, double \fP\fI*white_x\fP\fB, double \fP\fI*white_y\fP\fB, double \fP\fI*red_x\fP\fB, double \fP\fI*red_y\fP\fB, double \fP\fI*green_x\fP\fB, double \fP\fI*green_y\fP\fB, double \fP\fI*blue_x\fP\fB, double \fI*blue_y\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_cHRM_fixed (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fP\fI*white_x\fP\fB, png_uint_32 \fP\fI*white_y\fP\fB, png_uint_32 \fP\fI*red_x\fP\fB, png_uint_32 \fP\fI*red_y\fP\fB, png_uint_32 \fP\fI*green_x\fP\fB, png_uint_32 \fP\fI*green_y\fP\fB, png_uint_32 \fP\fI*blue_x\fP\fB, png_uint_32 \fI*blue_y\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_chunk_cache_max (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_byte png_get_color_type (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_compression_buffer_size (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_byte png_get_compression_type (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_byte png_get_copyright (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_voidp png_get_error_ptr (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_byte png_get_filter_type (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_gAMA (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, double \fI*file_gamma\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_gAMA_fixed (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fI*int_file_gamma\fP\fB);\fP \fI\fB \fBpng_byte png_get_header_ver (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_byte png_get_header_version (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_hIST (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_16p \fI*hist\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_iCCP (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_charpp \fP\fIname\fP\fB, int \fP\fI*compression_type\fP\fB, png_charpp \fP\fIprofile\fP\fB, png_uint_32 \fI*proflen\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_IHDR (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fP\fI*width\fP\fB, png_uint_32 \fP\fI*height\fP\fB, int \fP\fI*bit_depth\fP\fB, int \fP\fI*color_type\fP\fB, int \fP\fI*interlace_type\fP\fB, int \fP\fI*compression_type\fP\fB, int \fI*filter_type\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_image_height (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_image_width (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_int_32 png_get_int_32 (png_bytep \fIbuf\fP\fB);\fP \fI\fB \fBpng_byte png_get_interlace_type (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_voidp png_get_io_ptr (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_byte png_get_libpng_ver (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_alloc_size_t png_get_chunk_malloc_max (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_voidp png_get_mem_ptr(png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_oFFs (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fP\fI*offset_x\fP\fB, png_uint_32 \fP\fI*offset_y\fP\fB, int \fI*unit_type\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_pCAL (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_charp \fP\fI*purpose\fP\fB, png_int_32 \fP\fI*X0\fP\fB, png_int_32 \fP\fI*X1\fP\fB, int \fP\fI*type\fP\fB, int \fP\fI*nparams\fP\fB, png_charp \fP\fI*units\fP\fB, png_charpp \fI*params\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_pHYs (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fP\fI*res_x\fP\fB, png_uint_32 \fP\fI*res_y\fP\fB, int \fI*unit_type\fP\fB);\fP \fI\fB \fBfloat png_get_pixel_aspect_ratio (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_pixels_per_meter (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_voidp png_get_progressive_ptr (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_PLTE (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_colorp \fP\fI*palette\fP\fB, int \fI*num_palette\fP\fB);\fP \fI\fB \fBpng_byte png_get_rgb_to_gray_status (png_structp \fIpng_ptr) \fBpng_uint_32 png_get_rowbytes (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_bytepp png_get_rows (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_sBIT (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_color_8p \fI*sig_bit\fP\fB);\fP \fI\fB \fBpng_bytep png_get_signature (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_sPLT (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_spalette_p \fI*splt_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_sRGB (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, int \fI*intent\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_text (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_textp \fP\fI*text_ptr\fP\fB, int \fI*num_text\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_tIME (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_timep \fI*mod_time\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_tRNS (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_bytep \fP\fI*trans\fP\fB, int \fP\fI*num_trans\fP\fB, png_color_16p \fI*trans_color\fP\fB);\fP \fI\fB \fB/* This function is really an inline macro. \fI*/ \fBpng_uint_16 png_get_uint_16 (png_bytep \fIbuf\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_uint_31 (png_bytep \fIbuf\fP\fB);\fP \fI\fB \fB/* This function is really an inline macro. \fI*/ \fBpng_uint_32 png_get_uint_32 (png_bytep \fIbuf\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_unknown_chunks (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_unknown_chunkpp \fIunknowns\fP\fB);\fP \fI\fB \fBpng_voidp png_get_user_chunk_ptr (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_user_height_max( png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_voidp png_get_user_transform_ptr (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_user_width_max (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_valid (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIflag\fP\fB);\fP \fI\fB \fBpng_int_32 png_get_x_offset_microns (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_int_32 png_get_x_offset_pixels (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_x_pixels_per_meter (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_int_32 png_get_y_offset_microns (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_int_32 png_get_y_offset_pixels (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_get_y_pixels_per_meter (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBint png_handle_as_unknown (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fIchunk_name\fP\fB);\fP \fI\fB \fBvoid png_init_io (png_structp \fP\fIpng_ptr\fP\fB, FILE \fI*fp\fP\fB);\fP \fI\fB \fBpng_voidp png_malloc (png_structp \fP\fIpng_ptr\fP\fB, png_alloc_size_t \fIsize\fP\fB);\fP \fI\fB \fBpng_voidp png_malloc_default(png_structp \fP\fIpng_ptr\fP\fB, png_alloc_size_t \fIsize\fP\fB);\fP \fI\fB \fBvoidp png_memcpy (png_voidp \fP\fIs1\fP\fB, png_voidp \fP\fIs2\fP\fB, png_size_t \fIsize\fP\fB);\fP \fI\fB \fBvoidp png_memset (png_voidp \fP\fIs1\fP\fB, int \fP\fIvalue\fP\fB, png_size_t \fIsize\fP\fB);\fP \fI\fB \fBvoid png_process_data (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_bytep \fP\fIbuffer\fP\fB, png_size_t \fIbuffer_size\fP\fB);\fP \fI\fB \fBvoid png_progressive_combine_row (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIold_row\fP\fB, png_bytep \fInew_row\fP\fB);\fP \fI\fB \fBvoid png_read_end (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBvoid png_read_image (png_structp \fP\fIpng_ptr\fP\fB, png_bytepp \fIimage\fP\fB);\fP \fI\fB \fBvoid png_read_info (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBvoid png_read_png (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, int \fP\fItransforms\fP\fB, png_voidp \fIparams\fP\fB);\fP \fI\fB \fBvoid png_read_row (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIrow\fP\fB, png_bytep \fIdisplay_row\fP\fB);\fP \fI\fB \fBvoid png_read_rows (png_structp \fP\fIpng_ptr\fP\fB, png_bytepp \fP\fIrow\fP\fB, png_bytepp \fP\fIdisplay_row\fP\fB, png_uint_32 \fInum_rows\fP\fB);\fP \fI\fB \fBvoid png_read_update_info (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBpng_save_int_32 (png_bytep \fP\fIbuf\fP\fB, png_int_32 \fIi\fP\fB);\fP \fI\fB \fBvoid png_save_uint_16 (png_bytep \fP\fIbuf\fP\fB, unsigned int \fIi\fP\fB);\fP \fI\fB \fBvoid png_save_uint_32 (png_bytep \fP\fIbuf\fP\fB, png_uint_32 \fIi\fP\fB);\fP \fI\fB \fBvoid png_set_add_alpha (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fP\fIfiller\fP\fB, int \fIflags\fP\fB);\fP \fI\fB \fBvoid png_set_background (png_structp \fP\fIpng_ptr\fP\fB, png_color_16p \fP\fIbackground_color\fP\fB, int \fP\fIbackground_gamma_code\fP\fB, int \fP\fIneed_expand\fP\fB, double \fIbackground_gamma\fP\fB);\fP \fI\fB \fBvoid png_set_bgr (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_bKGD (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_color_16p \fIbackground\fP\fB);\fP \fI\fB \fBvoid png_set_cHRM (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_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 \fI\fB \fBvoid png_set_cHRM_fixed (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fP\fIwhite_x\fP\fB, png_uint_32 \fP\fIwhite_y\fP\fB, png_uint_32 \fP\fIred_x\fP\fB, png_uint_32 \fP\fIred_y\fP\fB, png_uint_32 \fP\fIgreen_x\fP\fB, png_uint_32 \fP\fIgreen_y\fP\fB, png_uint_32 \fP\fIblue_x\fP\fB, png_uint_32 \fIblue_y\fP\fB);\fP \fI\fB \fBvoid png_set_chunk_cache_max (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fIuser_chunk_cache_max\fP\fB);\fP \fI\fB \fBvoid png_set_compression_level (png_structp \fP\fIpng_ptr\fP\fB, int \fIlevel\fP\fB);\fP \fI\fB \fBvoid png_set_compression_mem_level (png_structp \fP\fIpng_ptr\fP\fB, int \fImem_level\fP\fB);\fP \fI\fB \fBvoid png_set_compression_method (png_structp \fP\fIpng_ptr\fP\fB, int \fImethod\fP\fB);\fP \fI\fB \fBvoid png_set_compression_strategy (png_structp \fP\fIpng_ptr\fP\fB, int \fIstrategy\fP\fB);\fP \fI\fB \fBvoid png_set_compression_window_bits (png_structp \fP\fIpng_ptr\fP\fB, int \fIwindow_bits\fP\fB);\fP \fI\fB \fBvoid png_set_crc_action (png_structp \fP\fIpng_ptr\fP\fB, int \fP\fIcrit_action\fP\fB, int \fIancil_action\fP\fB);\fP \fI\fB \fBvoid png_set_error_fn (png_structp \fP\fIpng_ptr\fP\fB, png_voidp \fP\fIerror_ptr\fP\fB, png_error_ptr \fP\fIerror_fn\fP\fB, png_error_ptr \fIwarning_fn\fP\fB);\fP \fI\fB \fBvoid png_set_expand (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_expand_gray_1_2_4_to_8(png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_filler (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fP\fIfiller\fP\fB, int \fIflags\fP\fB);\fP \fI\fB \fBvoid png_set_filter (png_structp \fP\fIpng_ptr\fP\fB, int \fP\fImethod\fP\fB, int \fIfilters\fP\fB);\fP \fI\fB \fBvoid png_set_filter_heuristics (png_structp \fP\fIpng_ptr\fP\fB, int \fP\fIheuristic_method\fP\fB, int \fP\fInum_weights\fP\fB, png_doublep \fP\fIfilter_weights\fP\fB, png_doublep \fIfilter_costs\fP\fB);\fP \fI\fB \fBvoid png_set_flush (png_structp \fP\fIpng_ptr\fP\fB, int \fInrows\fP\fB);\fP \fI\fB \fBvoid png_set_gamma (png_structp \fP\fIpng_ptr\fP\fB, double \fP\fIscreen_gamma\fP\fB, double \fIdefault_file_gamma\fP\fB);\fP \fI\fB \fBvoid png_set_gAMA (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, double \fIfile_gamma\fP\fB);\fP \fI\fB \fBvoid png_set_gAMA_fixed (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fIfile_gamma\fP\fB);\fP \fI\fB \fBvoid png_set_gray_1_2_4_to_8(png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_gray_to_rgb (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_hIST (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_16p \fIhist\fP\fB);\fP \fI\fB \fBvoid png_set_iCCP (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_charp \fP\fIname\fP\fB, int \fP\fIcompression_type\fP\fB, png_charp \fP\fIprofile\fP\fB, png_uint_32 \fIproflen\fP\fB);\fP \fI\fB \fBint png_set_interlace_handling (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_invalid (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, int \fImask\fP\fB);\fP \fI\fB \fBvoid png_set_invert_alpha (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_invert_mono (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_IHDR (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_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\fIinterlace_type\fP\fB, int \fP\fIcompression_type\fP\fB, int \fIfilter_type\fP\fB);\fP \fI\fB \fBvoid png_set_keep_unknown_chunks (png_structp \fP\fIpng_ptr\fP\fB, int \fP\fIkeep\fP\fB, png_bytep \fP\fIchunk_list\fP\fB, int \fInum_chunks\fP\fB);\fP \fI\fB \fBjmp_buf* png_set_longjmp_fn (png_structp \fP\fIpng_ptr\fP\fB, png_longjmp_ptr \fP\fIlongjmp_fn\fP\fB, size_t \fIjmp_buf_size\fP\fB);\fP \fI\fB \fBvoid png_set_chunk_malloc_max (png_structp \fP\fIpng_ptr\fP\fB, png_alloc_size_t \fIuser_chunk_cache_max\fP\fB);\fP \fI\fB \fBvoid png_set_mem_fn(png_structp \fP\fIpng_ptr\fP\fB, png_voidp \fP\fImem_ptr\fP\fB, png_malloc_ptr \fP\fImalloc_fn\fP\fB, png_free_ptr \fIfree_fn\fP\fB);\fP \fI\fB \fBvoid png_set_oFFs (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fP\fIoffset_x\fP\fB, png_uint_32 \fP\fIoffset_y\fP\fB, int \fIunit_type\fP\fB);\fP \fI\fB \fBvoid png_set_packing (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_packswap (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_palette_to_rgb(png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_pCAL (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_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 \fI\fB \fBvoid png_set_pHYs (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_uint_32 \fP\fIres_x\fP\fB, png_uint_32 \fP\fIres_y\fP\fB, int \fIunit_type\fP\fB);\fP \fI\fB \fBvoid png_set_progressive_read_fn (png_structp \fP\fIpng_ptr\fP\fB, png_voidp \fP\fIprogressive_ptr\fP\fB, png_progressive_info_ptr \fP\fIinfo_fn\fP\fB, png_progressive_row_ptr \fP\fIrow_fn\fP\fB, png_progressive_end_ptr \fIend_fn\fP\fB);\fP \fI\fB \fBvoid png_set_PLTE (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_colorp \fP\fIpalette\fP\fB, int \fInum_palette\fP\fB);\fP \fI\fB \fBvoid png_set_quantize (png_structp \fP\fIpng_ptr\fP\fB, png_colorp \fP\fIpalette\fP\fB, int \fP\fInum_palette\fP\fB, int \fP\fImaximum_colors\fP\fB, png_uint_16p \fP\fIhistogram\fP\fB, int \fIfull_quantize\fP\fB);\fP \fI\fB \fBvoid png_set_read_fn (png_structp \fP\fIpng_ptr\fP\fB, png_voidp \fP\fIio_ptr\fP\fB, png_rw_ptr \fIread_data_fn\fP\fB);\fP \fI\fB \fBvoid png_set_read_status_fn (png_structp \fP\fIpng_ptr\fP\fB, png_read_status_ptr \fIread_row_fn\fP\fB);\fP \fI\fB \fBvoid png_set_read_user_transform_fn (png_structp \fP\fIpng_ptr\fP\fB, png_user_transform_ptr \fIread_user_transform_fn\fP\fB);\fP \fI\fB \fBvoid png_set_rgb_to_gray (png_structp \fP\fIpng_ptr\fP\fB, int \fP\fIerror_action\fP\fB, double \fP\fIred\fP\fB, double \fIgreen\fP\fB);\fP \fI\fB \fBvoid png_set_rgb_to_gray_fixed (png_structp \fP\fIpng_ptr\fP\fB, int error_action png_fixed_point \fP\fIred\fP\fB, png_fixed_point \fIgreen\fP\fB);\fP \fI\fB \fBvoid png_set_rows (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_bytepp \fIrow_pointers\fP\fB);\fP \fI\fB \fBvoid png_set_sBIT (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_color_8p \fIsig_bit\fP\fB);\fP \fI\fB \fBvoid png_set_sCAL (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_charp \fP\fIunit\fP\fB, double \fP\fIwidth\fP\fB, double \fIheight\fP\fB);\fP \fI\fB \fBvoid png_set_shift (png_structp \fP\fIpng_ptr\fP\fB, png_color_8p \fItrue_bits\fP\fB);\fP \fI\fB \fBvoid png_set_sig_bytes (png_structp \fP\fIpng_ptr\fP\fB, int \fInum_bytes\fP\fB);\fP \fI\fB \fBvoid png_set_sPLT (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_spalette_p \fP\fIsplt_ptr\fP\fB, int \fInum_spalettes\fP\fB);\fP \fI\fB \fBvoid png_set_sRGB (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, int \fIintent\fP\fB);\fP \fI\fB \fBvoid png_set_sRGB_gAMA_and_cHRM (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, int \fIintent\fP\fB);\fP \fI\fB \fBvoid png_set_strip_16 (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_strip_alpha (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_swap (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_swap_alpha (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_set_text (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_textp \fP\fItext_ptr\fP\fB, int \fInum_text\fP\fB);\fP \fI\fB \fBvoid png_set_tIME (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_timep \fImod_time\fP\fB);\fP \fI\fB \fBvoid png_set_tRNS (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_bytep \fP\fItrans\fP\fB, int \fP\fInum_trans\fP\fB, png_color_16p \fItrans_color\fP\fB);\fP \fI\fB \fBvoid png_set_tRNS_to_alpha(png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBpng_uint_32 png_set_unknown_chunks (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, png_unknown_chunkp \fP\fIunknowns\fP\fB, int \fP\fInum\fP\fB, int \fIlocation\fP\fB);\fP \fI\fB \fBvoid png_set_unknown_chunk_location(png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, int \fP\fIchunk\fP\fB, int \fIlocation\fP\fB);\fP \fI\fB \fBvoid png_set_read_user_chunk_fn (png_structp \fP\fIpng_ptr\fP\fB, png_voidp \fP\fIuser_chunk_ptr\fP\fB, png_user_chunk_ptr \fIread_user_chunk_fn\fP\fB);\fP \fI\fB \fBvoid png_set_user_limits (png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fP\fIuser_width_max\fP\fB, png_uint_32 \fIuser_height_max\fP\fB);\fP \fI\fB \fBvoid png_set_user_transform_info (png_structp \fP\fIpng_ptr\fP\fB, png_voidp \fP\fIuser_transform_ptr\fP\fB, int \fP\fIuser_transform_depth\fP\fB, int \fIuser_transform_channels\fP\fB);\fP \fI\fB \fBvoid png_set_write_fn (png_structp \fP\fIpng_ptr\fP\fB, png_voidp \fP\fIio_ptr\fP\fB, png_rw_ptr \fP\fIwrite_data_fn\fP\fB, png_flush_ptr \fIoutput_flush_fn\fP\fB);\fP \fI\fB \fBvoid png_set_write_status_fn (png_structp \fP\fIpng_ptr\fP\fB, png_write_status_ptr \fIwrite_row_fn\fP\fB);\fP \fI\fB \fBvoid png_set_write_user_transform_fn (png_structp \fP\fIpng_ptr\fP\fB, png_user_transform_ptr \fIwrite_user_transform_fn\fP\fB);\fP \fI\fB \fBvoid png_set_compression_buffer_size(png_structp \fP\fIpng_ptr\fP\fB, png_uint_32 \fIsize\fP\fB);\fP \fI\fB \fBint png_sig_cmp (png_bytep \fP\fIsig\fP\fB, png_size_t \fP\fIstart\fP\fB, png_size_t \fInum_to_check\fP\fB);\fP \fI\fB \fBvoid png_start_read_image (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_warning (png_structp \fP\fIpng_ptr\fP\fB, png_const_charp \fImessage\fP\fB);\fP \fI\fB \fBvoid png_write_chunk (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIchunk_name\fP\fB, png_bytep \fP\fIdata\fP\fB, png_size_t \fIlength\fP\fB);\fP \fI\fB \fBvoid png_write_chunk_data (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIdata\fP\fB, png_size_t \fIlength\fP\fB);\fP \fI\fB \fBvoid png_write_chunk_end (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_write_chunk_start (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fP\fIchunk_name\fP\fB, png_uint_32 \fIlength\fP\fB);\fP \fI\fB \fBvoid png_write_end (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBvoid png_write_flush (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoid png_write_image (png_structp \fP\fIpng_ptr\fP\fB, png_bytepp \fIimage\fP\fB);\fP \fI\fB \fBvoid png_write_info (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBvoid png_write_info_before_PLTE (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fIinfo_ptr\fP\fB);\fP \fI\fB \fBvoid png_write_png (png_structp \fP\fIpng_ptr\fP\fB, png_infop \fP\fIinfo_ptr\fP\fB, int \fP\fItransforms\fP\fB, png_voidp \fIparams\fP\fB);\fP \fI\fB \fBvoid png_write_row (png_structp \fP\fIpng_ptr\fP\fB, png_bytep \fIrow\fP\fB);\fP \fI\fB \fBvoid png_write_rows (png_structp \fP\fIpng_ptr\fP\fB, png_bytepp \fP\fIrow\fP\fB, png_uint_32 \fInum_rows\fP\fB);\fP \fI\fB \fBvoid png_write_sig (png_structp \fIpng_ptr\fP\fB);\fP \fI\fB \fBvoidpf png_zalloc (voidpf \fP\fIpng_ptr\fP\fB, uInt \fP\fIitems\fP\fB, uInt \fIsize\fP\fB);\fP \fI\fB \fBvoid png_zfree (voidpf \fP\fIpng_ptr\fP\fB, voidpf \fIptr\fP\fB);\fP \fI\fB .SH DESCRIPTION The .I libpng library supports encoding, decoding, and various manipulations of the Portable Network Graphics (PNG) format image files. It uses the .IR zlib(3) compression library. Following is a copy of the libpng.txt file that accompanies libpng. .SH LIBPNG.TXT libpng.txt - A description on how to use and modify libpng libpng version 1.4.3 - June 26, 2010 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2009 Glenn Randers-Pehrson This document is released under the libpng license. For conditions of distribution and use, see the disclaimer and license in png.h Based on: libpng versions 0.97, January 1998, through 1.4.3 - June 26, 2010 Updated and distributed by Glenn Randers-Pehrson Copyright (c) 1998-2009 Glenn Randers-Pehrson libpng 1.0 beta 6 version 0.96 May 28, 1997 Updated and distributed by Andreas Dilger Copyright (c) 1996, 1997 Andreas Dilger libpng 1.0 beta 2 - version 0.88 January 26, 1996 For conditions of distribution and use, see copyright notice in png.h. Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. Updated/rewritten per request in the libpng FAQ Copyright (c) 1995, 1996 Frank J. T. Wojcik December 18, 1995 & January 20, 1996 .SH I. Introduction This file describes how to use and modify the PNG reference library (known as libpng) for your own use. There are five sections to this file: introduction, structures, reading, writing, and modification and configuration notes for various special platforms. In addition to this file, example.c is a good starting point for using the library, as it is heavily commented and should include everything most people will need. We assume that libpng is already installed; see the INSTALL file for instructions on how to install libpng. For examples of libpng usage, see the files "example.c", "pngtest.c", and the files in the "contrib" directory, all of which are included in the libpng distribution. Libpng was written as a companion to the PNG specification, as a way of reducing the amount of time and effort it takes to support the PNG file format in application programs. The PNG specification (second edition), November 2003, is available as a W3C Recommendation and as an ISO Standard (ISO/IEC 15948:2003 (E)) at . It is technically equivalent to the PNG specification (second edition) but has some additional material. The PNG-1.0 specification is available as RFC 2083 and as a W3C Recommendation . Some additional chunks are described in the special-purpose public chunks documents at . Other information about PNG, and the latest version of libpng, can be found at the PNG home page, . Most users will not have to modify the library significantly; advanced users may want to modify it more. All attempts were made to make it as complete as possible, while keeping the code easy to understand. Currently, this library only supports C. Support for other languages is being considered. Libpng has been designed to handle multiple sessions at one time, to be easily modifiable, to be portable to the vast majority of machines (ANSI, K&R, 16-, 32-, and 64-bit) available, and to be easy to use. The ultimate goal of libpng is to promote the acceptance of the PNG file format in whatever way possible. While there is still work to be done (see the TODO file), libpng should cover the majority of the needs of its users. Libpng uses zlib for its compression and decompression of PNG files. Further information about zlib, and the latest version of zlib, can be found at the zlib home page, . The zlib compression utility is a general purpose utility that is useful for more than PNG files, and can be used without libpng. See the documentation delivered with zlib for more details. You can usually find the source files for the zlib utility wherever you find the libpng source files. Libpng is thread safe, provided the threads are using different instances of the structures. Each thread should have its own png_struct and png_info instances, and thus its own image. Libpng does not protect itself against two threads using the same instance of a structure. .SH II. Structures There are two main structures that are important to libpng, png_struct and png_info. The first, png_struct, is an internal structure that will not, for the most part, be used by a user except as the first variable passed to every libpng function call. The png_info structure is designed to provide information about the PNG file. At one time, the fields of png_info were intended to be directly accessible to the user. However, this tended to cause problems with applications using dynamically loaded libraries, and as a result a set of interface functions for png_info (the png_get_*() and png_set_*() functions) was developed. The fields of png_info are still available for older applications, but it is suggested that applications use the new interfaces if at all possible. Applications that do make direct access to the members of png_struct (except for png_ptr->jmpbuf) must be recompiled whenever the library is updated, and applications that make direct access to the members of png_info must be recompiled if they were compiled or loaded with libpng version 1.0.6, in which the members were in a different order. In version 1.0.7, the members of the png_info structure reverted to the old order, as they were in versions 0.97c through 1.0.5. Starting with version 2.0.0, both structures are going to be hidden, and the contents of the structures will only be accessible through the png_get/png_set functions. The png.h header file is an invaluable reference for programming with libpng. And while I'm on the topic, make sure you include the libpng header file: #include .SH III. Reading We'll now walk you through the possible functions to call when reading in a PNG file sequentially, briefly explaining the syntax and purpose of each one. See example.c and png.h for more detail. While progressive reading is covered in the next section, you will still need some of the functions discussed in this section to read a PNG file. .SS Setup You will want to do the I/O initialization(*) before you get into libpng, so if it doesn't work, you don't have much to undo. Of course, you will also want to insure that you are, in fact, dealing with a PNG file. Libpng provides a simple check to see if a file is a PNG file. To use it, pass in the first 1 to 8 bytes of the file to the function png_sig_cmp(), and it will return 0 (false) if the bytes match the corresponding bytes of the PNG signature, or nonzero (true) otherwise. Of course, the more bytes you pass in, the greater the accuracy of the prediction. If you are intending to keep the file pointer open for use in libpng, you must ensure you don't read more than 8 bytes from the beginning of the file, and you also have to make a call to png_set_sig_bytes_read() with the number of bytes you read from the beginning. Libpng will then only check the bytes (if any) that your program didn't read. (*): If you are not using the standard I/O functions, you will need to replace them with custom functions. See the discussion under Customizing libpng. FILE *fp = fopen(file_name, "rb"); if (!fp) { return (ERROR); } fread(header, 1, number, fp); is_png = !png_sig_cmp(header, 0, number); if (!is_png) { return (NOT_PNG); } Next, png_struct and png_info need to be allocated and initialized. In order to ensure that the size of these structures is correct even with a dynamically linked libpng, there are functions to initialize and allocate the structures. We also pass the library version, optional pointers to error handling functions, and a pointer to a data struct for use by the error functions, if necessary (the pointer and functions can be NULL if the default error handlers are to be used). See the section on Changes to Libpng below regarding the old initialization functions. The structure allocation functions quietly return NULL if they fail to create the structure, so your application should check for that. png_structp png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, (png_voidp)user_error_ptr, user_error_fn, user_warning_fn); if (!png_ptr) return (ERROR); png_infop info_ptr = png_create_info_struct(png_ptr); if (!info_ptr) { png_destroy_read_struct(&png_ptr, (png_infopp)NULL, (png_infopp)NULL); return (ERROR); } png_infop end_info = png_create_info_struct(png_ptr); if (!end_info) { png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); return (ERROR); } If you want to use your own memory allocation routines, define PNG_USER_MEM_SUPPORTED and use png_create_read_struct_2() instead of png_create_read_struct(): png_structp png_ptr = png_create_read_struct_2 (PNG_LIBPNG_VER_STRING, (png_voidp)user_error_ptr, user_error_fn, user_warning_fn, (png_voidp) user_mem_ptr, user_malloc_fn, user_free_fn); The error handling routines passed to png_create_read_struct() and the memory alloc/free routines passed to png_create_struct_2() are only necessary if you are not using the libpng supplied error handling and memory alloc/free functions. When libpng encounters an error, it expects to longjmp back to your routine. Therefore, you will need to call setjmp and pass your png_jmpbuf(png_ptr). If you read the file from different routines, you will need to update the jmpbuf field every time you enter a new routine that will call a png_*() function. See your documentation of setjmp/longjmp for your compiler for more information on setjmp/longjmp. See the discussion on libpng error handling in the Customizing Libpng section below for more information on the libpng error handling. If an error occurs, and libpng longjmp's back to your setjmp, you will want to call png_destroy_read_struct() to free any memory. if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_read_struct(&png_ptr, &info_ptr, &end_info); fclose(fp); return (ERROR); } If you would rather avoid the complexity of setjmp/longjmp issues, you can compile libpng with PNG_NO_SETJMP, in which case errors will result in a call to PNG_ABORT() which defaults to abort(). You can #define PNG_ABORT() to a function that does something more useful than abort(), as long as your function does not return. Now you need to set up the input code. The default for libpng is to use the C function fread(). If you use this, you will need to pass a valid FILE * in the function png_init_io(). Be sure that the file is opened in binary mode. If you wish to handle reading data in another way, you need not call the png_init_io() function, but you must then implement the libpng I/O methods discussed in the Customizing Libpng section below. png_init_io(png_ptr, fp); If you had previously opened the file and read any of the signature from the beginning in order to see if this was a PNG file, you need to let libpng know that there are some bytes missing from the start of the file. png_set_sig_bytes(png_ptr, number); You can change the zlib compression buffer size to be used while reading compressed data with png_set_compression_buffer_size(png_ptr, buffer_size); where the default size is 8192 bytes. Note that the buffer size is changed immediately and the buffer is reallocated immediately, instead of setting a flag to be acted upon later. .SS Setting up callback code You can set up a callback function to handle any unknown chunks in the input stream. You must supply the function read_chunk_callback(png_ptr ptr, png_unknown_chunkp chunk); { /* The unknown chunk structure contains your chunk data, along with similar data for any other unknown chunks: */ png_byte name[5]; png_byte *data; png_size_t size; /* Note that libpng has already taken care of the CRC handling */ /* put your code here. Search for your chunk in the unknown chunk structure, process it, and return one of the following: */ return (-n); /* chunk had an error */ return (0); /* did not recognize */ return (n); /* success */ } (You can give your function another name that you like instead of "read_chunk_callback") To inform libpng about your function, use png_set_read_user_chunk_fn(png_ptr, user_chunk_ptr, read_chunk_callback); This names not only the callback function, but also a user pointer that you can retrieve with png_get_user_chunk_ptr(png_ptr); If you call the png_set_read_user_chunk_fn() function, then all unknown chunks will be saved when read, in case your callback function will need one or more of them. This behavior can be changed with the png_set_keep_unknown_chunks() function, described below. At this point, you can set up a callback function that will be called after each row has been read, which you can use to control a progress meter or the like. It's demonstrated in pngtest.c. You must supply a function void read_row_callback(png_ptr ptr, png_uint_32 row, int pass); { /* put your code here */ } (You can give it another name that you like instead of "read_row_callback") To inform libpng about your function, use png_set_read_status_fn(png_ptr, read_row_callback); .SS Unknown-chunk handling Now you get to set the way the library processes unknown chunks in the input PNG stream. Both known and unknown chunks will be read. Normal behavior is that known chunks will be parsed into information in various info_ptr members while unknown chunks will be discarded. This behavior can be wasteful if your application will never use some known chunk types. To change this, you can call: png_set_keep_unknown_chunks(png_ptr, keep, chunk_list, num_chunks); keep - 0: default unknown chunk handling 1: ignore; do not keep 2: keep only if safe-to-copy 3: keep even if unsafe-to-copy You can use these definitions: PNG_HANDLE_CHUNK_AS_DEFAULT 0 PNG_HANDLE_CHUNK_NEVER 1 PNG_HANDLE_CHUNK_IF_SAFE 2 PNG_HANDLE_CHUNK_ALWAYS 3 chunk_list - list of chunks affected (a byte string, five bytes per chunk, NULL or '\0' if num_chunks is 0) num_chunks - number of chunks affected; if 0, all unknown chunks are affected. If nonzero, only the chunks in the list are affected Unknown chunks declared in this way will be saved as raw data onto a list of png_unknown_chunk structures. If a chunk that is normally known to libpng is named in the list, it will be handled as unknown, according to the "keep" directive. If a chunk is named in successive instances of png_set_keep_unknown_chunks(), the final instance will take precedence. The IHDR and IEND chunks should not be named in chunk_list; if they are, libpng will process them normally anyway. Here is an example of the usage of png_set_keep_unknown_chunks(), where the private "vpAg" chunk will later be processed by a user chunk callback function: png_byte vpAg[5]={118, 112, 65, 103, (png_byte) '\0'}; #if defined(PNG_UNKNOWN_CHUNKS_SUPPORTED) png_byte unused_chunks[]= { 104, 73, 83, 84, (png_byte) '\0', /* hIST */ 105, 84, 88, 116, (png_byte) '\0', /* iTXt */ 112, 67, 65, 76, (png_byte) '\0', /* pCAL */ 115, 67, 65, 76, (png_byte) '\0', /* sCAL */ 115, 80, 76, 84, (png_byte) '\0', /* sPLT */ 116, 73, 77, 69, (png_byte) '\0', /* tIME */ }; #endif ... #if defined(PNG_UNKNOWN_CHUNKS_SUPPORTED) /* ignore all unknown chunks: */ png_set_keep_unknown_chunks(read_ptr, 1, NULL, 0); /* except for vpAg: */ png_set_keep_unknown_chunks(read_ptr, 2, vpAg, 1); /* also ignore unused known chunks: */ png_set_keep_unknown_chunks(read_ptr, 1, unused_chunks, (int)sizeof(unused_chunks)/5); #endif .SS User limits The PNG specification allows the width and height of an image to be as large as 2^31-1 (0x7fffffff), or about 2.147 billion rows and columns. Since very few applications really need to process such large images, we have imposed an arbitrary 1-million limit on rows and columns. Larger images will be rejected immediately with a png_error() call. If you wish to override this limit, you can use png_set_user_limits(png_ptr, width_max, height_max); to set your own limits, or use width_max = height_max = 0x7fffffffL to allow all valid dimensions (libpng may reject some very large images anyway because of potential buffer overflow conditions). You should put this statement after you create the PNG structure and before calling png_read_info(), png_read_png(), or png_process_data(). If you need to retrieve the limits that are being applied, use width_max = png_get_user_width_max(png_ptr); height_max = png_get_user_height_max(png_ptr); The PNG specification sets no limit on the number of ancillary chunks allowed in a PNG datastream. You can impose a limit on the total number of sPLT, tEXt, iTXt, zTXt, and unknown chunks that will be stored, with png_set_chunk_cache_max(png_ptr, user_chunk_cache_max); where 0x7fffffffL means unlimited. You can retrieve this limit with chunk_cache_max = png_get_chunk_cache_max(png_ptr); This limit also applies to the number of buffers that can be allocated by png_decompress_chunk() while decompressing iTXt, zTXt, and iCCP chunks. You can also set a limit on the amount of memory that a compressed chunk other than IDAT can occupy, with png_set_chunk_malloc_max(png_ptr, user_chunk_malloc_max); and you can retrieve the limit with chunk_malloc_max = png_get_chunk_malloc_max(png_ptr); Any chunks that would cause either of these limits to be exceeded will be ignored. .SS The high-level read interface At this point there are two ways to proceed; through the high-level read interface, or through a sequence of low-level read operations. You can use the high-level interface if (a) you are willing to read the entire image into memory, and (b) the input transformations you want to do are limited to the following set: PNG_TRANSFORM_IDENTITY No transformation PNG_TRANSFORM_STRIP_16 Strip 16-bit samples to 8 bits PNG_TRANSFORM_STRIP_ALPHA Discard the alpha channel PNG_TRANSFORM_PACKING Expand 1, 2 and 4-bit samples to bytes PNG_TRANSFORM_PACKSWAP Change order of packed pixels to LSB first PNG_TRANSFORM_EXPAND Perform set_expand() PNG_TRANSFORM_INVERT_MONO Invert monochrome images PNG_TRANSFORM_SHIFT Normalize pixels to the sBIT depth PNG_TRANSFORM_BGR Flip RGB to BGR, RGBA to BGRA PNG_TRANSFORM_SWAP_ALPHA Flip RGBA to ARGB or GA to AG PNG_TRANSFORM_INVERT_ALPHA Change alpha from opacity to transparency PNG_TRANSFORM_SWAP_ENDIAN Byte-swap 16-bit samples PNG_TRANSFORM_GRAY_TO_RGB Expand grayscale samples to RGB (or GA to RGBA) (This excludes setting a background color, doing gamma transformation, quantizing, and setting filler.) If this is the case, simply do this: png_read_png(png_ptr, info_ptr, png_transforms, NULL) where png_transforms is an integer containing the bitwise OR of some set of transformation flags. This call is equivalent to png_read_info(), followed the set of transformations indicated by the transform mask, then png_read_image(), and finally png_read_end(). (The final parameter of this call is not yet used. Someday it might point to transformation parameters required by some future input transform.) You must use png_transforms and not call any png_set_transform() functions when you use png_read_png(). After you have called png_read_png(), you can retrieve the image data with row_pointers = png_get_rows(png_ptr, info_ptr); where row_pointers is an array of pointers to the pixel data for each row: png_bytep row_pointers[height]; If you know your image size and pixel size ahead of time, you can allocate row_pointers prior to calling png_read_png() with if (height > PNG_UINT_32_MAX/png_sizeof(png_byte)) png_error (png_ptr, "Image is too tall to process in memory"); if (width > PNG_UINT_32_MAX/pixel_size) png_error (png_ptr, "Image is too wide to process in memory"); row_pointers = png_malloc(png_ptr, height*png_sizeof(png_bytep)); for (int i=0; i) and png_get_(png_ptr, info_ptr, ...) functions return non-zero if the data has been read, or zero if it is missing. The parameters to the png_get_ are set directly if they are simple data types, or a pointer into the info_ptr is returned for any complex types. png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette); palette - the palette for the file (array of png_color) num_palette - number of entries in the palette png_get_gAMA(png_ptr, info_ptr, &gamma); gamma - the gamma the file is written at (PNG_INFO_gAMA) png_get_sRGB(png_ptr, info_ptr, &srgb_intent); srgb_intent - the rendering intent (PNG_INFO_sRGB) The presence of the sRGB chunk means that the pixel data is in the sRGB color space. This chunk also implies specific values of gAMA and cHRM. png_get_iCCP(png_ptr, info_ptr, &name, &compression_type, &profile, &proflen); name - The profile name. compression - The compression type; always PNG_COMPRESSION_TYPE_BASE for PNG 1.0. You may give NULL to this argument to ignore it. profile - International Color Consortium color profile data. May contain NULs. proflen - length of profile data in bytes. png_get_sBIT(png_ptr, info_ptr, &sig_bit); sig_bit - the number of significant bits for (PNG_INFO_sBIT) each of the gray, red, green, and blue channels, whichever are appropriate for the given color type (png_color_16) png_get_tRNS(png_ptr, info_ptr, &trans_alpha, &num_trans, &trans_color); trans_alpha - array of alpha (transparency) entries for palette (PNG_INFO_tRNS) trans_color - graylevel or color sample values of the single transparent color for non-paletted images (PNG_INFO_tRNS) num_trans - number of transparent entries (PNG_INFO_tRNS) png_get_hIST(png_ptr, info_ptr, &hist); (PNG_INFO_hIST) hist - histogram of palette (array of png_uint_16) png_get_tIME(png_ptr, info_ptr, &mod_time); mod_time - time image was last modified (PNG_VALID_tIME) png_get_bKGD(png_ptr, info_ptr, &background); background - background color (PNG_VALID_bKGD) valid 16-bit red, green and blue values, regardless of color_type num_comments = png_get_text(png_ptr, info_ptr, &text_ptr, &num_text); num_comments - number of comments text_ptr - array of png_text holding image comments text_ptr[i].compression - type of compression used on "text" PNG_TEXT_COMPRESSION_NONE PNG_TEXT_COMPRESSION_zTXt PNG_ITXT_COMPRESSION_NONE PNG_ITXT_COMPRESSION_zTXt text_ptr[i].key - keyword for comment. Must contain 1-79 characters. text_ptr[i].text - text comments for current keyword. Can be empty. text_ptr[i].text_length - length of text string, after decompression, 0 for iTXt text_ptr[i].itxt_length - length of itxt string, after decompression, 0 for tEXt/zTXt text_ptr[i].lang - language of comment (empty string for unknown). text_ptr[i].lang_key - keyword in UTF-8 (empty string for unknown). Note that the itxt_length, lang, and lang_key members of the text_ptr structure only exist when the library is built with iTXt chunk support. num_text - number of comments (same as num_comments; you can put NULL here to avoid the duplication) Note while png_set_text() will accept text, language, and translated keywords that can be NULL pointers, the structure returned by png_get_text will always contain regular zero-terminated C strings. They might be empty strings but they will never be NULL pointers. num_spalettes = png_get_sPLT(png_ptr, info_ptr, &palette_ptr); palette_ptr - array of palette structures holding contents of one or more sPLT chunks read. num_spalettes - number of sPLT chunks read. png_get_oFFs(png_ptr, info_ptr, &offset_x, &offset_y, &unit_type); offset_x - positive offset from the left edge of the screen offset_y - positive offset from the top edge of the screen unit_type - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, &unit_type); res_x - pixels/unit physical resolution in x direction res_y - pixels/unit physical resolution in x direction unit_type - PNG_RESOLUTION_UNKNOWN, PNG_RESOLUTION_METER png_get_sCAL(png_ptr, info_ptr, &unit, &width, &height) unit - physical scale units (an integer) width - width of a pixel in physical scale units height - height of a pixel in physical scale units (width and height are doubles) png_get_sCAL_s(png_ptr, info_ptr, &unit, &width, &height) unit - physical scale units (an integer) width - width of a pixel in physical scale units height - height of a pixel in physical scale units (width and height are strings like "2.54") num_unknown_chunks = png_get_unknown_chunks(png_ptr, info_ptr, &unknowns) unknowns - array of png_unknown_chunk structures holding unknown chunks unknowns[i].name - name of unknown chunk unknowns[i].data - data of unknown chunk unknowns[i].size - size of unknown chunk's data unknowns[i].location - position of chunk in file The value of "i" corresponds to the order in which the chunks were read from the PNG file or inserted with the png_set_unknown_chunks() function. The data from the pHYs chunk can be retrieved in several convenient forms: res_x = png_get_x_pixels_per_meter(png_ptr, info_ptr) res_y = png_get_y_pixels_per_meter(png_ptr, info_ptr) res_x_and_y = png_get_pixels_per_meter(png_ptr, info_ptr) res_x = png_get_x_pixels_per_inch(png_ptr, info_ptr) res_y = png_get_y_pixels_per_inch(png_ptr, info_ptr) res_x_and_y = png_get_pixels_per_inch(png_ptr, info_ptr) aspect_ratio = png_get_pixel_aspect_ratio(png_ptr, info_ptr) (Each of these returns 0 [signifying "unknown"] if the data is not present or if res_x is 0; res_x_and_y is 0 if res_x != res_y) The data from the oFFs chunk can be retrieved in several convenient forms: x_offset = png_get_x_offset_microns(png_ptr, info_ptr); y_offset = png_get_y_offset_microns(png_ptr, info_ptr); x_offset = png_get_x_offset_inches(png_ptr, info_ptr); y_offset = png_get_y_offset_inches(png_ptr, info_ptr); (Each of these returns 0 [signifying "unknown" if both x and y are 0] if the data is not present or if the chunk is present but the unit is the pixel) For more information, see the png_info definition in png.h and the PNG specification for chunk contents. Be careful with trusting rowbytes, as some of the transformations could increase the space needed to hold a row (expand, filler, gray_to_rgb, etc.). See png_read_update_info(), below. A quick word about text_ptr and num_text. PNG stores comments in keyword/text pairs, one pair per chunk, with no limit on the number of text chunks, and a 2^31 byte limit on their size. While there are suggested keywords, there is no requirement to restrict the use to these strings. It is strongly suggested that keywords and text be sensible to humans (that's the point), so don't use abbreviations. Non-printing symbols are not allowed. See the PNG specification for more details. There is also no requirement to have text after the keyword. Keywords should be limited to 79 Latin-1 characters without leading or trailing spaces, but non-consecutive spaces are allowed within the keyword. It is possible to have the same keyword any number of times. The text_ptr is an array of png_text structures, each holding a pointer to a language string, a pointer to a keyword and a pointer to a text string. The text string, language code, and translated keyword may be empty or NULL pointers. The keyword/text pairs are put into the array in the order that they are received. However, some or all of the text chunks may be after the image, so, to make sure you have read all the text chunks, don't mess with these until after you read the stuff after the image. This will be mentioned again below in the discussion that goes with png_read_end(). .SS Input transformations After you've read the header information, you can set up the library to handle any special transformations of the image data. The various ways to transform the data will be described in the order that they should occur. This is important, as some of these change the color type and/or bit depth of the data, and some others only work on certain color types and bit depths. Even though each transformation checks to see if it has data that it can do something with, you should make sure to only enable a transformation if it will be valid for the data. For example, don't swap red and blue on grayscale data. The colors used for the background and transparency values should be supplied in the same format/depth as the current image data. They are stored in the same format/depth as the image data in a bKGD or tRNS chunk, so this is what libpng expects for this data. The colors are transformed to keep in sync with the image data when an application calls the png_read_update_info() routine (see below). Data will be decoded into the supplied row buffers packed into bytes unless the library has been told to transform it into another format. For example, 4 bit/pixel paletted or grayscale data will be returned 2 pixels/byte with the leftmost pixel in the high-order bits of the byte, unless png_set_packing() is called. 8-bit RGB data will be stored in RGB RGB RGB format unless png_set_filler() or png_set_add_alpha() is called to insert filler bytes, either before or after each RGB triplet. 16-bit RGB data will be returned RRGGBB RRGGBB, with the most significant byte of the color value first, unless png_set_strip_16() is called to transform it to regular RGB RGB triplets, or png_set_filler() or png_set_add alpha() is called to insert filler bytes, either before or after each RRGGBB triplet. Similarly, 8-bit or 16-bit grayscale data can be modified with png_set_filler(), png_set_add_alpha(), or png_set_strip_16(). The following code transforms grayscale images of less than 8 to 8 bits, changes paletted images to RGB, and adds a full alpha channel if there is transparency information in a tRNS chunk. This is most useful on grayscale images with bit depths of 2 or 4 or if there is a multiple-image viewing application that wishes to treat all images in the same way. if (color_type == PNG_COLOR_TYPE_PALETTE) png_set_palette_to_rgb(png_ptr); if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) png_set_expand_gray_1_2_4_to_8(png_ptr); if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) png_set_tRNS_to_alpha(png_ptr); These three functions are actually aliases for png_set_expand(), added in libpng version 1.0.4, with the function names expanded to improve code readability. In some future version they may actually do different things. As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was added. It expands the sample depth without changing tRNS to alpha. As of libpng version 1.4.3, not all possible expansions are supported. In the following table, the 01 means grayscale with depth<8, 31 means indexed with depth<8, other numerals represent the color type, "T" means the tRNS chunk is present, A means an alpha channel is present, and O means tRNS or alpha is present but all pixels in the image are opaque. FROM 01 31 0 0T 0O 2 2T 2O 3 3T 3O 4A 4O 6A 6O TO 01 - 31 - 0 1 - 0T - 0O - 2 GX - 2T - 2O - 3 1 - 3T - 3O - 4A T - 4O - 6A GX TX TX - 6O GX TX - Within the matrix, "-" means the transformation is not supported. "X" means the transformation is obtained by png_set_expand(). "1" means the transformation is obtained by png_set_expand_gray_1_2_4_to_8 "G" means the transformation is obtained by png_set_gray_to_rgb(). "P" means the transformation is obtained by png_set_expand_palette_to_rgb(). "T" means the transformation is obtained by png_set_tRNS_to_alpha(). PNG can have files with 16 bits per channel. If you only can handle 8 bits per channel, this will strip the pixels down to 8 bit. if (bit_depth == 16) png_set_strip_16(png_ptr); If, for some reason, you don't need the alpha channel on an image, and you want to remove it rather than combining it with the background (but the image author certainly had in mind that you *would* combine it with the background, so that's what you should probably do): if (color_type & PNG_COLOR_MASK_ALPHA) png_set_strip_alpha(png_ptr); In PNG files, the alpha channel in an image is the level of opacity. If you need the alpha channel in an image to be the level of transparency instead of opacity, you can invert the alpha channel (or the tRNS chunk data) after it's read, so that 0 is fully opaque and 255 (in 8-bit or paletted images) or 65535 (in 16-bit images) is fully transparent, with png_set_invert_alpha(png_ptr); PNG files pack pixels of bit depths 1, 2, and 4 into bytes as small as they can, resulting in, for example, 8 pixels per byte for 1 bit files. This code expands to 1 pixel per byte without changing the values of the pixels: if (bit_depth < 8) png_set_packing(png_ptr); PNG files have possible bit depths of 1, 2, 4, 8, and 16. All pixels stored in a PNG image have been "scaled" or "shifted" up to the next higher possible bit depth (e.g. from 5 bits/sample in the range [0,31] to 8 bits/sample in the range [0, 255]). However, it is also possible to convert the PNG pixel data back to the original bit depth of the image. This call reduces the pixels back down to the original bit depth: png_color_8p sig_bit; if (png_get_sBIT(png_ptr, info_ptr, &sig_bit)) png_set_shift(png_ptr, sig_bit); PNG files store 3-color pixels in red, green, blue order. This code changes the storage of the pixels to blue, green, red: if (color_type == PNG_COLOR_TYPE_RGB || color_type == PNG_COLOR_TYPE_RGB_ALPHA) png_set_bgr(png_ptr); PNG files store RGB pixels packed into 3 or 6 bytes. This code expands them into 4 or 8 bytes for windowing systems that need them in this format: if (color_type == PNG_COLOR_TYPE_RGB) png_set_filler(png_ptr, filler, PNG_FILLER_BEFORE); where "filler" is the 8 or 16-bit number to fill with, and the location is either PNG_FILLER_BEFORE or PNG_FILLER_AFTER, depending upon whether you want the filler before the RGB or after. This transformation does not affect images that already have full alpha channels. To add an opaque alpha channel, use filler=0xff or 0xffff and PNG_FILLER_AFTER which will generate RGBA pixels. Note that png_set_filler() does not change the color type. If you want to do that, you can add a true alpha channel with if (color_type == PNG_COLOR_TYPE_RGB || color_type == PNG_COLOR_TYPE_GRAY) png_set_add_alpha(png_ptr, filler, PNG_FILLER_AFTER); where "filler" contains the alpha value to assign to each pixel. This function was added in libpng-1.2.7. If you are reading an image with an alpha channel, and you need the data as ARGB instead of the normal PNG format RGBA: if (color_type == PNG_COLOR_TYPE_RGB_ALPHA) png_set_swap_alpha(png_ptr); For some uses, you may want a grayscale image to be represented as RGB. This code will do that conversion: if (color_type == PNG_COLOR_TYPE_GRAY || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) png_set_gray_to_rgb(png_ptr); Conversely, you can convert an RGB or RGBA image to grayscale or grayscale with alpha. if (color_type == PNG_COLOR_TYPE_RGB || color_type == PNG_COLOR_TYPE_RGB_ALPHA) png_set_rgb_to_gray_fixed(png_ptr, error_action, int red_weight, int green_weight); error_action = 1: silently do the conversion error_action = 2: issue a warning if the original image has any pixel where red != green or red != blue error_action = 3: issue an error and abort the conversion if the original image has any pixel where red != green or red != blue red_weight: weight of red component times 100000 green_weight: weight of green component times 100000 If either weight is negative, default weights (21268, 71514) are used. If you have set error_action = 1 or 2, you can later check whether the image really was gray, after processing the image rows, with the png_get_rgb_to_gray_status(png_ptr) function. It will return a png_byte that is zero if the image was gray or 1 if there were any non-gray pixels. bKGD and sBIT data will be silently converted to grayscale, using the green channel data, regardless of the error_action setting. With red_weight+green_weight<=100000, the normalized graylevel is computed: int rw = red_weight * 65536; int gw = green_weight * 65536; int bw = 65536 - (rw + gw); gray = (rw*red + gw*green + bw*blue)/65536; The default values approximate those recommended in the Charles Poynton's Color FAQ, Copyright (c) 1998-01-04 Charles Poynton Y = 0.212671 * R + 0.715160 * G + 0.072169 * B Libpng approximates this with Y = 0.21268 * R + 0.7151 * G + 0.07217 * B which can be expressed with integers as Y = (6969 * R + 23434 * G + 2365 * B)/32768 The calculation is done in a linear colorspace, if the image gamma is known. If you have a grayscale and you are using png_set_expand_depth(), png_set_expand(), or png_set_gray_to_rgb to change to truecolor or to a higher bit-depth, you must either supply the background color as a gray value at the original file bit-depth (need_expand = 1) or else supply the background color as an RGB triplet at the final, expanded bit depth (need_expand = 0). Similarly, if you are reading a paletted image, you must either supply the background color as a palette index (need_expand = 1) or as an RGB triplet that may or may not be in the palette (need_expand = 0). png_color_16 my_background; png_color_16p image_background; if (png_get_bKGD(png_ptr, info_ptr, &image_background)) png_set_background(png_ptr, image_background, PNG_BACKGROUND_GAMMA_FILE, 1, 1.0); else png_set_background(png_ptr, &my_background, PNG_BACKGROUND_GAMMA_SCREEN, 0, 1.0); The png_set_background() function tells libpng to composite images with alpha or simple transparency against the supplied background color. If the PNG file contains a bKGD chunk (PNG_INFO_bKGD valid), you may use this color, or supply another color more suitable for the current display (e.g., the background color from a web page). You need to tell libpng whether the color is in the gamma space of the display (PNG_BACKGROUND_GAMMA_SCREEN for colors you supply), the file (PNG_BACKGROUND_GAMMA_FILE for colors from the bKGD chunk), or one that is neither of these gammas (PNG_BACKGROUND_GAMMA_UNIQUE - I don't know why anyone would use this, but it's here). To properly display PNG images on any kind of system, the application needs to know what the display gamma is. Ideally, the user will know this, and the application will allow them to set it. One method of allowing the user to set the display gamma separately for each system is to check for a SCREEN_GAMMA or DISPLAY_GAMMA environment variable, which will hopefully be correctly set. Note that display_gamma is the overall gamma correction required to produce pleasing results, which depends on the lighting conditions in the surrounding environment. In a dim or brightly lit room, no compensation other than the physical gamma exponent of the monitor is needed, while in a dark room a slightly smaller exponent is better. double gamma, screen_gamma; if (/* We have a user-defined screen gamma value */) { screen_gamma = user_defined_screen_gamma; } /* One way that applications can share the same screen gamma value */ else if ((gamma_str = getenv("SCREEN_GAMMA")) != NULL) { screen_gamma = (double)atof(gamma_str); } /* If we don't have another value */ else { screen_gamma = 2.2; /* A good guess for a PC monitor in a bright office or a dim room */ screen_gamma = 2.0; /* A good guess for a PC monitor in a dark room */ screen_gamma = 1.7 or 1.0; /* A good guess for Mac systems */ } The png_set_gamma() function handles gamma transformations of the data. Pass both the file gamma and the current screen_gamma. If the file does not have a gamma value, you can pass one anyway if you have an idea what it is (usually 0.45455 is a good guess for GIF images on PCs). Note that file gammas are inverted from screen gammas. See the discussions on gamma in the PNG specification for an excellent description of what gamma is, and why all applications should support it. It is strongly recommended that PNG viewers support gamma correction. if (png_get_gAMA(png_ptr, info_ptr, &gamma)) png_set_gamma(png_ptr, screen_gamma, gamma); else png_set_gamma(png_ptr, screen_gamma, 0.45455); If you need to reduce an RGB file to a paletted file, or if a paletted file has more entries then will fit on your screen, png_set_quantize() will do that. Note that this is a simple match dither that merely finds the closest color available. This should work fairly well with optimized palettes, and fairly badly with linear color cubes. If you pass a palette that is larger then maximum_colors, the file will reduce the number of colors in the palette so it will fit into maximum_colors. If there is a histogram, it will use it to make more intelligent choices when reducing the palette. If there is no histogram, it may not do as good a job. if (color_type & PNG_COLOR_MASK_COLOR) { if (png_get_valid(png_ptr, info_ptr, PNG_INFO_PLTE)) { png_uint_16p histogram = NULL; png_get_hIST(png_ptr, info_ptr, &histogram); png_set_quantize(png_ptr, palette, num_palette, max_screen_colors, histogram, 1); } else { png_color std_color_cube[MAX_SCREEN_COLORS] = { ... colors ... }; png_set_quantize(png_ptr, std_color_cube, MAX_SCREEN_COLORS, MAX_SCREEN_COLORS, NULL,0); } } PNG files describe monochrome as black being zero and white being one. The following code will reverse this (make black be one and white be zero): if (bit_depth == 1 && color_type == PNG_COLOR_TYPE_GRAY) png_set_invert_mono(png_ptr); This function can also be used to invert grayscale and gray-alpha images: if (color_type == PNG_COLOR_TYPE_GRAY || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) png_set_invert_mono(png_ptr); PNG files store 16 bit pixels in network byte order (big-endian, ie. most significant bits first). This code changes the storage to the other way (little-endian, i.e. least significant bits first, the way PCs store them): if (bit_depth == 16) png_set_swap(png_ptr); If you are using packed-pixel images (1, 2, or 4 bits/pixel), and you need to change the order the pixels are packed into bytes, you can use: if (bit_depth < 8) png_set_packswap(png_ptr); Finally, you can write your own transformation function if none of the existing ones meets your needs. This is done by setting a callback with png_set_read_user_transform_fn(png_ptr, read_transform_fn); You must supply the function void read_transform_fn(png_ptr ptr, row_info_ptr row_info, png_bytep data) See pngtest.c for a working example. Your function will be called after all of the other transformations have been processed. You can also set up a pointer to a user structure for use by your callback function, and you can inform libpng that your transform function will change the number of channels or bit depth with the function png_set_user_transform_info(png_ptr, user_ptr, user_depth, user_channels); The user's application, not libpng, is responsible for allocating and freeing any memory required for the user structure. You can retrieve the pointer via the function png_get_user_transform_ptr(). For example: voidp read_user_transform_ptr = png_get_user_transform_ptr(png_ptr); The last thing to handle is interlacing; this is covered in detail below, but you must call the function here if you want libpng to handle expansion of the interlaced image. number_of_passes = png_set_interlace_handling(png_ptr); After setting the transformations, libpng can update your png_info structure to reflect any transformations you've requested with this call. This is most useful to update the info structure's rowbytes field so you can use it to allocate your image memory. This function will also update your palette with the correct screen_gamma and background if these have been given with the calls above. png_read_update_info(png_ptr, info_ptr); After you call png_read_update_info(), you can allocate any memory you need to hold the image. The row data is simply raw byte data for all forms of images. As the actual allocation varies among applications, no example will be given. If you are allocating one large chunk, you will need to build an array of pointers to each row, as it will be needed for some of the functions below. .SS Reading image data After you've allocated memory, you can read the image data. The simplest way to do this is in one function call. If you are allocating enough memory to hold the whole image, you can just call png_read_image() and libpng will read in all the image data and put it in the memory area supplied. You will need to pass in an array of pointers to each row. This function automatically handles interlacing, so you don't need to call png_set_interlace_handling() or call this function multiple times, or any of that other stuff necessary with png_read_rows(). png_read_image(png_ptr, row_pointers); where row_pointers is: png_bytep row_pointers[height]; You can point to void or char or whatever you use for pixels. If you don't want to read in the whole image at once, you can use png_read_rows() instead. If there is no interlacing (check interlace_type == PNG_INTERLACE_NONE), this is simple: png_read_rows(png_ptr, row_pointers, NULL, number_of_rows); where row_pointers is the same as in the png_read_image() call. If you are doing this just one row at a time, you can do this with a single row_pointer instead of an array of row_pointers: png_bytep row_pointer = row; png_read_row(png_ptr, row_pointer, NULL); If the file is interlaced (interlace_type != 0 in the IHDR chunk), things get somewhat harder. The only current (PNG Specification version 1.2) interlacing type for PNG is (interlace_type == PNG_INTERLACE_ADAM7) is a somewhat complicated 2D interlace scheme, known as Adam7, that breaks down an image into seven smaller images of varying size, based on an 8x8 grid. libpng can fill out those images or it can give them to you "as is". If you want them filled out, there are two ways to do that. The one mentioned in the PNG specification is to expand each pixel to cover those pixels that have not been read yet (the "rectangle" method). This results in a blocky image for the first pass, which gradually smooths out as more pixels are read. The other method is the "sparkle" method, where pixels are drawn only in their final locations, with the rest of the image remaining whatever colors they were initialized to before the start of the read. The first method usually looks better, but tends to be slower, as there are more pixels to put in the rows. If you don't want libpng to handle the interlacing details, just call png_read_rows() seven times to read in all seven images. Each of the images is a valid image by itself, or they can all be combined on an 8x8 grid to form a single image (although if you intend to combine them you would be far better off using the libpng interlace handling). The first pass will return an image 1/8 as wide as the entire image (every 8th column starting in column 0) and 1/8 as high as the original (every 8th row starting in row 0), the second will be 1/8 as wide (starting in column 4) and 1/8 as high (also starting in row 0). The third pass will be 1/4 as wide (every 4th pixel starting in column 0) and 1/8 as high (every 8th row starting in row 4), and the fourth pass will be 1/4 as wide and 1/4 as high (every 4th column starting in column 2, and every 4th row starting in row 0). The fifth pass will return an image 1/2 as wide, and 1/4 as high (starting at column 0 and row 2), while the sixth pass will be 1/2 as wide and 1/2 as high as the original (starting in column 1 and row 0). The seventh and final pass will be as wide as the original, and 1/2 as high, containing all of the odd numbered scanlines. Phew! If you want libpng to expand the images, call this before calling png_start_read_image() or png_read_update_info(): if (interlace_type == PNG_INTERLACE_ADAM7) number_of_passes = png_set_interlace_handling(png_ptr); This will return the number of passes needed. Currently, this is seven, but may change if another interlace type is added. This function can be called even if the file is not interlaced, where it will return one pass. If you are not going to display the image after each pass, but are going to wait until the entire image is read in, use the sparkle effect. This effect is faster and the end result of either method is exactly the same. If you are planning on displaying the image after each pass, the "rectangle" effect is generally considered the better looking one. If you only want the "sparkle" effect, just call png_read_rows() as normal, with the third parameter NULL. Make sure you make pass over the image number_of_passes times, and you don't change the data in the rows between calls. You can change the locations of the data, just not the data. Each pass only writes the pixels appropriate for that pass, and assumes the data from previous passes is still valid. png_read_rows(png_ptr, row_pointers, NULL, number_of_rows); If you only want the first effect (the rectangles), do the same as before except pass the row buffer in the third parameter, and leave the second parameter NULL. png_read_rows(png_ptr, NULL, row_pointers, number_of_rows); .SS Finishing a sequential read After you are finished reading the image through the low-level interface, you can finish reading the file. If you are interested in comments or time, which may be stored either before or after the image data, you should pass the separate png_info struct if you want to keep the comments from before and after the image separate. If you are not interested, you can pass NULL. png_read_end(png_ptr, end_info); When you are done, you can free all memory allocated by libpng like this: png_destroy_read_struct(&png_ptr, &info_ptr, &end_info); It is also possible to individually free the info_ptr members that point to libpng-allocated storage with the following function: png_free_data(png_ptr, info_ptr, mask, seq) mask - identifies data to be freed, a mask containing the bitwise OR of one or more of PNG_FREE_PLTE, PNG_FREE_TRNS, PNG_FREE_HIST, PNG_FREE_ICCP, PNG_FREE_PCAL, PNG_FREE_ROWS, PNG_FREE_SCAL, PNG_FREE_SPLT, PNG_FREE_TEXT, PNG_FREE_UNKN, or simply PNG_FREE_ALL seq - sequence number of item to be freed (-1 for all items) This function may be safely called when the relevant storage has already been freed, or has not yet been allocated, or was allocated by the user and not by libpng, and will in those cases do nothing. The "seq" parameter is ignored if only one item of the selected data type, such as PLTE, is allowed. If "seq" is not -1, and multiple items are allowed for the data type identified in the mask, such as text or sPLT, only the n'th item in the structure is freed, where n is "seq". The default behavior is only to free data that was allocated internally by libpng. This can be changed, so that libpng will not free the data, or so that it will free data that was allocated by the user with png_malloc() or png_zalloc() and passed in via a png_set_*() function, with png_data_freer(png_ptr, info_ptr, freer, mask) mask - which data elements are affected same choices as in png_free_data() freer - one of PNG_DESTROY_WILL_FREE_DATA PNG_SET_WILL_FREE_DATA PNG_USER_WILL_FREE_DATA This function only affects data that has already been allocated. You can call this function after reading the PNG data but before calling any png_set_*() functions, to control whether the user or the png_set_*() function is responsible for freeing any existing data that might be present, and again after the png_set_*() functions to control whether the user or png_destroy_*() is supposed to free the data. When the user assumes responsibility for libpng-allocated data, the application must use png_free() to free it, and when the user transfers responsibility to libpng for data that the user has allocated, the user must have used png_malloc() or png_zalloc() to allocate it. If you allocated your row_pointers in a single block, as suggested above in the description of the high level read interface, you must not transfer responsibility for freeing it to the png_set_rows or png_read_destroy function, because they would also try to free the individual row_pointers[i]. If you allocated text_ptr.text, text_ptr.lang, and text_ptr.translated_keyword separately, do not transfer responsibility for freeing text_ptr to libpng, because when libpng fills a png_text structure it combines these members with the key member, and png_free_data() will free only text_ptr.key. Similarly, if you transfer responsibility for free'ing text_ptr from libpng to your application, your application must not separately free those members. The png_free_data() function will turn off the "valid" flag for anything it frees. If you need to turn the flag off for a chunk that was freed by your application instead of by libpng, you can use png_set_invalid(png_ptr, info_ptr, mask); mask - identifies the chunks to be made invalid, containing the bitwise OR of one or more of PNG_INFO_gAMA, PNG_INFO_sBIT, PNG_INFO_cHRM, PNG_INFO_PLTE, PNG_INFO_tRNS, PNG_INFO_bKGD, PNG_INFO_hIST, PNG_INFO_pHYs, PNG_INFO_oFFs, PNG_INFO_tIME, PNG_INFO_pCAL, PNG_INFO_sRGB, PNG_INFO_iCCP, PNG_INFO_sPLT, PNG_INFO_sCAL, PNG_INFO_IDAT For a more compact example of reading a PNG image, see the file example.c. .SS Reading PNG files progressively The progressive reader is slightly different then the non-progressive reader. Instead of calling png_read_info(), png_read_rows(), and png_read_end(), you make one call to png_process_data(), which calls callbacks when it has the info, a row, or the end of the image. You set up these callbacks with png_set_progressive_read_fn(). You don't have to worry about the input/output functions of libpng, as you are giving the library the data directly in png_process_data(). I will assume that you have read the section on reading PNG files above, so I will only highlight the differences (although I will show all of the code). png_structp png_ptr; png_infop info_ptr; /* An example code fragment of how you would initialize the progressive reader in your application. */ int initialize_png_reader() { png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, (png_voidp)user_error_ptr, user_error_fn, user_warning_fn); if (!png_ptr) return (ERROR); info_ptr = png_create_info_struct(png_ptr); if (!info_ptr) { png_destroy_read_struct(&png_ptr, (png_infopp)NULL, (png_infopp)NULL); return (ERROR); } if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); return (ERROR); } /* This one's new. You can provide functions to be called when the header info is valid, when each row is completed, and when the image is finished. If you aren't using all functions, you can specify NULL parameters. Even when all three functions are NULL, you need to call png_set_progressive_read_fn(). You can use any struct as the user_ptr (cast to a void pointer for the function call), and retrieve the pointer from inside the callbacks using the function png_get_progressive_ptr(png_ptr); which will return a void pointer, which you have to cast appropriately. */ png_set_progressive_read_fn(png_ptr, (void *)user_ptr, info_callback, row_callback, end_callback); return 0; } /* A code fragment that you call as you receive blocks of data */ int process_data(png_bytep buffer, png_uint_32 length) { if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL); return (ERROR); } /* This one's new also. Simply give it a chunk of data from the file stream (in order, of course). On machines with segmented memory models machines, don't give it any more than 64K. The library seems to run fine with sizes of 4K. Although you can give it much less if necessary (I assume you can give it chunks of 1 byte, I haven't tried less then 256 bytes yet). When this function returns, you may want to display any rows that were generated in the row callback if you don't already do so there. */ png_process_data(png_ptr, info_ptr, buffer, length); return 0; } /* This function is called (as set by png_set_progressive_read_fn() above) when enough data has been supplied so all of the header has been read. */ void info_callback(png_structp png_ptr, png_infop info) { /* Do any setup here, including setting any of the transformations mentioned in the Reading PNG files section. For now, you _must_ call either png_start_read_image() or png_read_update_info() after all the transformations are set (even if you don't set any). You may start getting rows before png_process_data() returns, so this is your last chance to prepare for that. */ } /* This function is called when each row of image data is complete */ void row_callback(png_structp png_ptr, png_bytep new_row, png_uint_32 row_num, int pass) { /* If the image is interlaced, and you turned on the interlace handler, this function will be called for every row in every pass. Some of these rows will not be changed from the previous pass. When the row is not changed, the new_row variable will be NULL. The rows and passes are called in order, so you don't really need the row_num and pass, but I'm supplying them because it may make your life easier. For the non-NULL rows of interlaced images, you must call png_progressive_combine_row() passing in the row and the old row. You can call this function for NULL rows (it will just return) and for non-interlaced images (it just does the memcpy for you) if it will make the code easier. Thus, you can just do this for all cases: */ png_progressive_combine_row(png_ptr, old_row, new_row); /* where old_row is what was displayed for previously for the row. Note that the first pass (pass == 0, really) will completely cover the old row, so the rows do not have to be initialized. After the first pass (and only for interlaced images), you will have to pass the current row, and the function will combine the old row and the new row. */ } void end_callback(png_structp png_ptr, png_infop info) { /* This function is called after the whole image has been read, including any chunks after the image (up to and including the IEND). You will usually have the same info chunk as you had in the header, although some data may have been added to the comments and time fields. Most people won't do much here, perhaps setting a flag that marks the image as finished. */ } .SH IV. Writing Much of this is very similar to reading. However, everything of importance is repeated here, so you won't have to constantly look back up in the reading section to understand writing. .SS Setup You will want to do the I/O initialization before you get into libpng, so if it doesn't work, you don't have anything to undo. If you are not using the standard I/O functions, you will need to replace them with custom writing functions. See the discussion under Customizing libpng. FILE *fp = fopen(file_name, "wb"); if (!fp) { return (ERROR); } Next, png_struct and png_info need to be allocated and initialized. As these can be both relatively large, you may not want to store these on the stack, unless you have stack space to spare. Of course, you will want to check if they return NULL. If you are also reading, you won't want to name your read structure and your write structure both "png_ptr"; you can call them anything you like, such as "read_ptr" and "write_ptr". Look at pngtest.c, for example. png_structp png_ptr = png_create_write_struct (PNG_LIBPNG_VER_STRING, (png_voidp)user_error_ptr, user_error_fn, user_warning_fn); if (!png_ptr) return (ERROR); png_infop info_ptr = png_create_info_struct(png_ptr); if (!info_ptr) { png_destroy_write_struct(&png_ptr, (png_infopp)NULL); return (ERROR); } If you want to use your own memory allocation routines, define PNG_USER_MEM_SUPPORTED and use png_create_write_struct_2() instead of png_create_write_struct(): png_structp png_ptr = png_create_write_struct_2 (PNG_LIBPNG_VER_STRING, (png_voidp)user_error_ptr, user_error_fn, user_warning_fn, (png_voidp) user_mem_ptr, user_malloc_fn, user_free_fn); After you have these structures, you will need to set up the error handling. When libpng encounters an error, it expects to longjmp() back to your routine. Therefore, you will need to call setjmp() and pass the png_jmpbuf(png_ptr). If you write the file from different routines, you will need to update the png_jmpbuf(png_ptr) every time you enter a new routine that will call a png_*() function. See your documentation of setjmp/longjmp for your compiler for more information on setjmp/longjmp. See the discussion on libpng error handling in the Customizing Libpng section below for more information on the libpng error handling. if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_write_struct(&png_ptr, &info_ptr); fclose(fp); return (ERROR); } ... return; If you would rather avoid the complexity of setjmp/longjmp issues, you can compile libpng with PNG_NO_SETJMP, in which case errors will result in a call to PNG_ABORT() which defaults to abort(). You can #define PNG_ABORT() to a function that does something more useful than abort(), as long as your function does not return. Now you need to set up the output code. The default for libpng is to use the C function fwrite(). If you use this, you will need to pass a valid FILE * in the function png_init_io(). Be sure that the file is opened in binary mode. Again, if you wish to handle writing data in another way, see the discussion on libpng I/O handling in the Customizing Libpng section below. png_init_io(png_ptr, fp); If you are embedding your PNG into a datastream such as MNG, and don't want libpng to write the 8-byte signature, or if you have already written the signature in your application, use png_set_sig_bytes(png_ptr, 8); to inform libpng that it should not write a signature. .SS Write callbacks At this point, you can set up a callback function that will be called after each row has been written, which you can use to control a progress meter or the like. It's demonstrated in pngtest.c. You must supply a function void write_row_callback(png_ptr, png_uint_32 row, int pass); { /* put your code here */ } (You can give it another name that you like instead of "write_row_callback") To inform libpng about your function, use png_set_write_status_fn(png_ptr, write_row_callback); You now have the option of modifying how the compression library will run. The following functions are mainly for testing, but may be useful in some cases, like if you need to write PNG files extremely fast and are willing to give up some compression, or if you want to get the maximum possible compression at the expense of slower writing. If you have no special needs in this area, let the library do what it wants by not calling this function at all, as it has been tuned to deliver a good speed/compression ratio. The second parameter to png_set_filter() is the filter method, for which the only valid values are 0 (as of the July 1999 PNG specification, version 1.2) or 64 (if you are writing a PNG datastream that is to be embedded in a MNG datastream). The third parameter is a flag that indicates which filter type(s) are to be tested for each scanline. See the PNG specification for details on the specific filter types. /* turn on or off filtering, and/or choose specific filters. You can use either a single PNG_FILTER_VALUE_NAME or the bitwise OR of one or more PNG_FILTER_NAME masks. */ png_set_filter(png_ptr, 0, PNG_FILTER_NONE | PNG_FILTER_VALUE_NONE | PNG_FILTER_SUB | PNG_FILTER_VALUE_SUB | PNG_FILTER_UP | PNG_FILTER_VALUE_UP | PNG_FILTER_AVG | PNG_FILTER_VALUE_AVG | PNG_FILTER_PAETH | PNG_FILTER_VALUE_PAETH| PNG_ALL_FILTERS); If an application wants to start and stop using particular filters during compression, it should start out with all of the filters (to ensure that the previous row of pixels will be stored in case it's needed later), and then add and remove them after the start of compression. If you are writing a PNG datastream that is to be embedded in a MNG datastream, the second parameter can be either 0 or 64. The png_set_compression_*() functions interface to the zlib compression library, and should mostly be ignored unless you really know what you are doing. The only generally useful call is png_set_compression_level() which changes how much time zlib spends on trying to compress the image data. See the Compression Library (zlib.h and algorithm.txt, distributed with zlib) for details on the compression levels. /* set the zlib compression level */ png_set_compression_level(png_ptr, Z_BEST_COMPRESSION); /* set other zlib parameters */ png_set_compression_mem_level(png_ptr, 8); png_set_compression_strategy(png_ptr, Z_DEFAULT_STRATEGY); png_set_compression_window_bits(png_ptr, 15); png_set_compression_method(png_ptr, 8); png_set_compression_buffer_size(png_ptr, 8192) extern PNG_EXPORT(void,png_set_zbuf_size) .SS Setting the contents of info for output You now need to fill in the png_info structure with all the data you wish to write before the actual image. Note that the only thing you are allowed to write after the image is the text chunks and the time chunk (as of PNG Specification 1.2, anyway). See png_write_end() and the latest PNG specification for more information on that. If you wish to write them before the image, fill them in now, and flag that data as being valid. If you want to wait until after the data, don't fill them until png_write_end(). For all the fields in png_info and their data types, see png.h. For explanations of what the fields contain, see the PNG specification. Some of the more important parts of the png_info are: png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, color_type, interlace_type, compression_type, filter_method) width - holds the width of the image in pixels (up to 2^31). height - holds the height of the image in pixels (up to 2^31). bit_depth - holds the bit depth of one of the image channels. (valid values are 1, 2, 4, 8, 16 and depend also on the color_type. See also significant bits (sBIT) below). color_type - describes which color/alpha channels are present. PNG_COLOR_TYPE_GRAY (bit depths 1, 2, 4, 8, 16) PNG_COLOR_TYPE_GRAY_ALPHA (bit depths 8, 16) PNG_COLOR_TYPE_PALETTE (bit depths 1, 2, 4, 8) PNG_COLOR_TYPE_RGB (bit_depths 8, 16) PNG_COLOR_TYPE_RGB_ALPHA (bit_depths 8, 16) PNG_COLOR_MASK_PALETTE PNG_COLOR_MASK_COLOR PNG_COLOR_MASK_ALPHA interlace_type - PNG_INTERLACE_NONE or PNG_INTERLACE_ADAM7 compression_type - (must be PNG_COMPRESSION_TYPE_DEFAULT) filter_method - (must be PNG_FILTER_TYPE_DEFAULT or, if you are writing a PNG to be embedded in a MNG datastream, can also be PNG_INTRAPIXEL_DIFFERENCING) If you call png_set_IHDR(), the call must appear before any of the other png_set_*() functions, because they might require access to some of the IHDR settings. The remaining png_set_*() functions can be called in any order. If you wish, you can reset the compression_type, interlace_type, or filter_method later by calling png_set_IHDR() again; if you do this, the width, height, bit_depth, and color_type must be the same in each call. png_set_PLTE(png_ptr, info_ptr, palette, num_palette); palette - the palette for the file (array of png_color) num_palette - number of entries in the palette png_set_gAMA(png_ptr, info_ptr, gamma); gamma - the gamma the image was created at (PNG_INFO_gAMA) png_set_sRGB(png_ptr, info_ptr, srgb_intent); srgb_intent - the rendering intent (PNG_INFO_sRGB) The presence of the sRGB chunk means that the pixel data is in the sRGB color space. This chunk also implies specific values of gAMA and cHRM. Rendering intent is the CSS-1 property that has been defined by the International Color Consortium (http://www.color.org). It can be one of PNG_sRGB_INTENT_SATURATION, PNG_sRGB_INTENT_PERCEPTUAL, PNG_sRGB_INTENT_ABSOLUTE, or PNG_sRGB_INTENT_RELATIVE. png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr, srgb_intent); srgb_intent - the rendering intent (PNG_INFO_sRGB) The presence of the sRGB chunk means that the pixel data is in the sRGB color space. This function also causes gAMA and cHRM chunks with the specific values that are consistent with sRGB to be written. png_set_iCCP(png_ptr, info_ptr, name, compression_type, profile, proflen); name - The profile name. compression - The compression type; always PNG_COMPRESSION_TYPE_BASE for PNG 1.0. You may give NULL to this argument to ignore it. profile - International Color Consortium color profile data. May contain NULs. proflen - length of profile data in bytes. png_set_sBIT(png_ptr, info_ptr, sig_bit); sig_bit - the number of significant bits for (PNG_INFO_sBIT) each of the gray, red, green, and blue channels, whichever are appropriate for the given color type (png_color_16) png_set_tRNS(png_ptr, info_ptr, trans_alpha, num_trans, trans_color); trans_alpha - array of alpha (transparency) entries for palette (PNG_INFO_tRNS) trans_color - graylevel or color sample values (in order red, green, blue) of the single transparent color for non-paletted images (PNG_INFO_tRNS) num_trans - number of transparent entries (PNG_INFO_tRNS) png_set_hIST(png_ptr, info_ptr, hist); (PNG_INFO_hIST) hist - histogram of palette (array of png_uint_16) png_set_tIME(png_ptr, info_ptr, mod_time); mod_time - time image was last modified (PNG_VALID_tIME) png_set_bKGD(png_ptr, info_ptr, background); background - background color (PNG_VALID_bKGD) png_set_text(png_ptr, info_ptr, text_ptr, num_text); text_ptr - array of png_text holding image comments text_ptr[i].compression - type of compression used on "text" PNG_TEXT_COMPRESSION_NONE PNG_TEXT_COMPRESSION_zTXt PNG_ITXT_COMPRESSION_NONE PNG_ITXT_COMPRESSION_zTXt text_ptr[i].key - keyword for comment. Must contain 1-79 characters. text_ptr[i].text - text comments for current keyword. Can be NULL or empty. text_ptr[i].text_length - length of text string, after decompression, 0 for iTXt text_ptr[i].itxt_length - length of itxt string, after decompression, 0 for tEXt/zTXt text_ptr[i].lang - language of comment (NULL or empty for unknown). text_ptr[i].translated_keyword - keyword in UTF-8 (NULL or empty for unknown). Note that the itxt_length, lang, and lang_key members of the text_ptr structure only exist when the library is built with iTXt chunk support. num_text - number of comments png_set_sPLT(png_ptr, info_ptr, &palette_ptr, num_spalettes); palette_ptr - array of png_sPLT_struct structures to be added to the list of palettes in the info structure. num_spalettes - number of palette structures to be added. png_set_oFFs(png_ptr, info_ptr, offset_x, offset_y, unit_type); offset_x - positive offset from the left edge of the screen offset_y - positive offset from the top edge of the screen unit_type - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type); res_x - pixels/unit physical resolution in x direction res_y - pixels/unit physical resolution in y direction unit_type - PNG_RESOLUTION_UNKNOWN, PNG_RESOLUTION_METER png_set_sCAL(png_ptr, info_ptr, unit, width, height) unit - physical scale units (an integer) width - width of a pixel in physical scale units height - height of a pixel in physical scale units (width and height are doubles) png_set_sCAL_s(png_ptr, info_ptr, unit, width, height) unit - physical scale units (an integer) width - width of a pixel in physical scale units height - height of a pixel in physical scale units (width and height are strings like "2.54") png_set_unknown_chunks(png_ptr, info_ptr, &unknowns, num_unknowns) unknowns - array of png_unknown_chunk structures holding unknown chunks unknowns[i].name - name of unknown chunk unknowns[i].data - data of unknown chunk unknowns[i].size - size of unknown chunk's data unknowns[i].location - position to write chunk in file 0: do not write chunk PNG_HAVE_IHDR: before PLTE PNG_HAVE_PLTE: before IDAT PNG_AFTER_IDAT: after IDAT The "location" member is set automatically according to what part of the output file has already been written. You can change its value after calling png_set_unknown_chunks() as demonstrated in pngtest.c. Within each of the "locations", the chunks are sequenced according to their position in the structure (that is, the value of "i", which is the order in which the chunk was either read from the input file or defined with png_set_unknown_chunks). A quick word about text and num_text. text is an array of png_text structures. num_text is the number of valid structures in the array. Each png_text structure holds a language code, a keyword, a text value, and a compression type. The compression types have the same valid numbers as the compression types of the image data. Currently, the only valid number is zero. However, you can store text either compressed or uncompressed, unlike images, which always have to be compressed. So if you don't want the text compressed, set the compression type to PNG_TEXT_COMPRESSION_NONE. Because tEXt and zTXt chunks don't have a language field, if you specify PNG_TEXT_COMPRESSION_NONE or PNG_TEXT_COMPRESSION_zTXt any language code or translated keyword will not be written out. Until text gets around 1000 bytes, it is not worth compressing it. After the text has been written out to the file, the compression type is set to PNG_TEXT_COMPRESSION_NONE_WR or PNG_TEXT_COMPRESSION_zTXt_WR, so that it isn't written out again at the end (in case you are calling png_write_end() with the same struct. The keywords that are given in the PNG Specification are: Title Short (one line) title or caption for image Author Name of image's creator Description Description of image (possibly long) Copyright Copyright notice Creation Time Time of original image creation (usually RFC 1123 format, see below) Software Software used to create the image Disclaimer Legal disclaimer Warning Warning of nature of content Source Device used to create the image Comment Miscellaneous comment; conversion from other image format The keyword-text pairs work like this. Keywords should be short simple descriptions of what the comment is about. Some typical keywords are found in the PNG specification, as is some recommendations on keywords. You can repeat keywords in a file. You can even write some text before the image and some after. For example, you may want to put a description of the image before the image, but leave the disclaimer until after, so viewers working over modem connections don't have to wait for the disclaimer to go over the modem before they start seeing the image. Finally, keywords should be full words, not abbreviations. Keywords and text are in the ISO 8859-1 (Latin-1) character set (a superset of regular ASCII) and can not contain NUL characters, and should not contain control or other unprintable characters. To make the comments widely readable, stick with basic ASCII, and avoid machine specific character set extensions like the IBM-PC character set. The keyword must be present, but you can leave off the text string on non-compressed pairs. Compressed pairs must have a text string, as only the text string is compressed anyway, so the compression would be meaningless. PNG supports modification time via the png_time structure. Two conversion routines are provided, png_convert_from_time_t() for time_t and png_convert_from_struct_tm() for struct tm. The time_t routine uses gmtime(). You don't have to use either of these, but if you wish to fill in the png_time structure directly, you should provide the time in universal time (GMT) if possible instead of your local time. Note that the year number is the full year (e.g. 1998, rather than 98 - PNG is year 2000 compliant!), and that months start with 1. If you want to store the time of the original image creation, you should use a plain tEXt chunk with the "Creation Time" keyword. This is necessary because the "creation time" of a PNG image is somewhat vague, depending on whether you mean the PNG file, the time the image was created in a non-PNG format, a still photo from which the image was scanned, or possibly the subject matter itself. In order to facilitate machine-readable dates, it is recommended that the "Creation Time" tEXt chunk use RFC 1123 format dates (e.g. "22 May 1997 18:07:10 GMT"), although this isn't a requirement. Unlike the tIME chunk, the "Creation Time" tEXt chunk is not expected to be automatically changed by the software. To facilitate the use of RFC 1123 dates, a function png_convert_to_rfc1123(png_timep) is provided to convert from PNG time to an RFC 1123 format string. .SS Writing unknown chunks You can use the png_set_unknown_chunks function to queue up chunks for writing. You give it a chunk name, raw data, and a size; that's all there is to it. The chunks will be written by the next following png_write_info_before_PLTE, png_write_info, or png_write_end function. Any chunks previously read into the info structure's unknown-chunk list will also be written out in a sequence that satisfies the PNG specification's ordering rules. .SS The high-level write interface At this point there are two ways to proceed; through the high-level write interface, or through a sequence of low-level write operations. You can use the high-level interface if your image data is present in the info structure. All defined output transformations are permitted, enabled by the following masks. PNG_TRANSFORM_IDENTITY No transformation PNG_TRANSFORM_PACKING Pack 1, 2 and 4-bit samples PNG_TRANSFORM_PACKSWAP Change order of packed pixels to LSB first PNG_TRANSFORM_INVERT_MONO Invert monochrome images PNG_TRANSFORM_SHIFT Normalize pixels to the sBIT depth PNG_TRANSFORM_BGR Flip RGB to BGR, RGBA to BGRA PNG_TRANSFORM_SWAP_ALPHA Flip RGBA to ARGB or GA to AG PNG_TRANSFORM_INVERT_ALPHA Change alpha from opacity to transparency PNG_TRANSFORM_SWAP_ENDIAN Byte-swap 16-bit samples PNG_TRANSFORM_STRIP_FILLER Strip out filler bytes (deprecated). PNG_TRANSFORM_STRIP_FILLER_BEFORE Strip out leading filler bytes PNG_TRANSFORM_STRIP_FILLER_AFTER Strip out trailing filler bytes If you have valid image data in the info structure (you can use png_set_rows() to put image data in the info structure), simply do this: png_write_png(png_ptr, info_ptr, png_transforms, NULL) where png_transforms is an integer containing the bitwise OR of some set of transformation flags. This call is equivalent to png_write_info(), followed the set of transformations indicated by the transform mask, then png_write_image(), and finally png_write_end(). (The final parameter of this call is not yet used. Someday it might point to transformation parameters required by some future output transform.) You must use png_transforms and not call any png_set_transform() functions when you use png_write_png(). .SS The low-level write interface If you are going the low-level route instead, you are now ready to write all the file information up to the actual image data. You do this with a call to png_write_info(). png_write_info(png_ptr, info_ptr); Note that there is one transformation you may need to do before png_write_info(). In PNG files, the alpha channel in an image is the level of opacity. If your data is supplied as a level of transparency, you can invert the alpha channel before you write it, so that 0 is fully transparent and 255 (in 8-bit or paletted images) or 65535 (in 16-bit images) is fully opaque, with png_set_invert_alpha(png_ptr); This must appear before png_write_info() instead of later with the other transformations because in the case of paletted images the tRNS chunk data has to be inverted before the tRNS chunk is written. If your image is not a paletted image, the tRNS data (which in such cases represents a single color to be rendered as transparent) won't need to be changed, and you can safely do this transformation after your png_write_info() call. If you need to write a private chunk that you want to appear before the PLTE chunk when PLTE is present, you can write the PNG info in two steps, and insert code to write your own chunk between them: png_write_info_before_PLTE(png_ptr, info_ptr); png_set_unknown_chunks(png_ptr, info_ptr, ...); png_write_info(png_ptr, info_ptr); After you've written the file information, you can set up the library to handle any special transformations of the image data. The various ways to transform the data will be described in the order that they should occur. This is important, as some of these change the color type and/or bit depth of the data, and some others only work on certain color types and bit depths. Even though each transformation checks to see if it has data that it can do something with, you should make sure to only enable a transformation if it will be valid for the data. For example, don't swap red and blue on grayscale data. PNG files store RGB pixels packed into 3 or 6 bytes. This code tells the library to strip input data that has 4 or 8 bytes per pixel down to 3 or 6 bytes (or strip 2 or 4-byte grayscale+filler data to 1 or 2 bytes per pixel). png_set_filler(png_ptr, 0, PNG_FILLER_BEFORE); where the 0 is unused, and the location is either PNG_FILLER_BEFORE or PNG_FILLER_AFTER, depending upon whether the filler byte in the pixel is stored XRGB or RGBX. PNG files pack pixels of bit depths 1, 2, and 4 into bytes as small as they can, resulting in, for example, 8 pixels per byte for 1 bit files. If the data is supplied at 1 pixel per byte, use this code, which will correctly pack the pixels into a single byte: png_set_packing(png_ptr); PNG files reduce possible bit depths to 1, 2, 4, 8, and 16. If your data is of another bit depth, you can write an sBIT chunk into the file so that decoders can recover the original data if desired. /* Set the true bit depth of the image data */ if (color_type & PNG_COLOR_MASK_COLOR) { sig_bit.red = true_bit_depth; sig_bit.green = true_bit_depth; sig_bit.blue = true_bit_depth; } else { sig_bit.gray = true_bit_depth; } if (color_type & PNG_COLOR_MASK_ALPHA) { sig_bit.alpha = true_bit_depth; } png_set_sBIT(png_ptr, info_ptr, &sig_bit); If the data is stored in the row buffer in a bit depth other than one supported by PNG (e.g. 3 bit data in the range 0-7 for a 4-bit PNG), this will scale the values to appear to be the correct bit depth as is required by PNG. png_set_shift(png_ptr, &sig_bit); PNG files store 16 bit pixels in network byte order (big-endian, ie. most significant bits first). This code would be used if they are supplied the other way (little-endian, i.e. least significant bits first, the way PCs store them): if (bit_depth > 8) png_set_swap(png_ptr); If you are using packed-pixel images (1, 2, or 4 bits/pixel), and you need to change the order the pixels are packed into bytes, you can use: if (bit_depth < 8) png_set_packswap(png_ptr); PNG files store 3 color pixels in red, green, blue order. This code would be used if they are supplied as blue, green, red: png_set_bgr(png_ptr); PNG files describe monochrome as black being zero and white being one. This code would be used if the pixels are supplied with this reversed (black being one and white being zero): png_set_invert_mono(png_ptr); Finally, you can write your own transformation function if none of the existing ones meets your needs. This is done by setting a callback with png_set_write_user_transform_fn(png_ptr, write_transform_fn); You must supply the function void write_transform_fn(png_ptr ptr, row_info_ptr row_info, png_bytep data) See pngtest.c for a working example. Your function will be called before any of the other transformations are processed. You can also set up a pointer to a user structure for use by your callback function. png_set_user_transform_info(png_ptr, user_ptr, 0, 0); The user_channels and user_depth parameters of this function are ignored when writing; you can set them to zero as shown. You can retrieve the pointer via the function png_get_user_transform_ptr(). For example: voidp write_user_transform_ptr = png_get_user_transform_ptr(png_ptr); It is possible to have libpng flush any pending output, either manually, or automatically after a certain number of lines have been written. To flush the output stream a single time call: png_write_flush(png_ptr); and to have libpng flush the output stream periodically after a certain number of scanlines have been written, call: png_set_flush(png_ptr, nrows); Note that the distance between rows is from the last time png_write_flush() was called, or the first row of the image if it has never been called. So if you write 50 lines, and then png_set_flush 25, it will flush the output on the next scanline, and every 25 lines thereafter, unless png_write_flush() is called before 25 more lines have been written. If nrows is too small (less than about 10 lines for a 640 pixel wide RGB image) the image compression may decrease noticeably (although this may be acceptable for real-time applications). Infrequent flushing will only degrade the compression performance by a few percent over images that do not use flushing. .SS Writing the image data That's it for the transformations. Now you can write the image data. The simplest way to do this is in one function call. If you have the whole image in memory, you can just call png_write_image() and libpng will write the image. You will need to pass in an array of pointers to each row. This function automatically handles interlacing, so you don't need to call png_set_interlace_handling() or call this function multiple times, or any of that other stuff necessary with png_write_rows(). png_write_image(png_ptr, row_pointers); where row_pointers is: png_byte *row_pointers[height]; You can point to void or char or whatever you use for pixels. If you don't want to write the whole image at once, you can use png_write_rows() instead. If the file is not interlaced, this is simple: png_write_rows(png_ptr, row_pointers, number_of_rows); row_pointers is the same as in the png_write_image() call. If you are just writing one row at a time, you can do this with a single row_pointer instead of an array of row_pointers: png_bytep row_pointer = row; png_write_row(png_ptr, row_pointer); When the file is interlaced, things can get a good deal more complicated. The only currently (as of the PNG Specification version 1.2, dated July 1999) defined interlacing scheme for PNG files is the "Adam7" interlace scheme, that breaks down an image into seven smaller images of varying size. libpng will build these images for you, or you can do them yourself. If you want to build them yourself, see the PNG specification for details of which pixels to write when. If you don't want libpng to handle the interlacing details, just use png_set_interlace_handling() and call png_write_rows() the correct number of times to write all seven sub-images. If you want libpng to build the sub-images, call this before you start writing any rows: number_of_passes = png_set_interlace_handling(png_ptr); This will return the number of passes needed. Currently, this is seven, but may change if another interlace type is added. Then write the complete image number_of_passes times. png_write_rows(png_ptr, row_pointers, number_of_rows); As some of these rows are not used, and thus return immediately, you may want to read about interlacing in the PNG specification, and only update the rows that are actually used. .SS Finishing a sequential write After you are finished writing the image, you should finish writing the file. If you are interested in writing comments or time, you should pass an appropriately filled png_info pointer. If you are not interested, you can pass NULL. png_write_end(png_ptr, info_ptr); When you are done, you can free all memory used by libpng like this: png_destroy_write_struct(&png_ptr, &info_ptr); It is also possible to individually free the info_ptr members that point to libpng-allocated storage with the following function: png_free_data(png_ptr, info_ptr, mask, seq) mask - identifies data to be freed, a mask containing the bitwise OR of one or more of PNG_FREE_PLTE, PNG_FREE_TRNS, PNG_FREE_HIST, PNG_FREE_ICCP, PNG_FREE_PCAL, PNG_FREE_ROWS, PNG_FREE_SCAL, PNG_FREE_SPLT, PNG_FREE_TEXT, PNG_FREE_UNKN, or simply PNG_FREE_ALL seq - sequence number of item to be freed (-1 for all items) This function may be safely called when the relevant storage has already been freed, or has not yet been allocated, or was allocated by the user and not by libpng, and will in those cases do nothing. The "seq" parameter is ignored if only one item of the selected data type, such as PLTE, is allowed. If "seq" is not -1, and multiple items are allowed for the data type identified in the mask, such as text or sPLT, only the n'th item in the structure is freed, where n is "seq". If you allocated data such as a palette that you passed in to libpng with png_set_*, you must not free it until just before the call to png_destroy_write_struct(). The default behavior is only to free data that was allocated internally by libpng. This can be changed, so that libpng will not free the data, or so that it will free data that was allocated by the user with png_malloc() or png_zalloc() and passed in via a png_set_*() function, with png_data_freer(png_ptr, info_ptr, freer, mask) mask - which data elements are affected same choices as in png_free_data() freer - one of PNG_DESTROY_WILL_FREE_DATA PNG_SET_WILL_FREE_DATA PNG_USER_WILL_FREE_DATA For example, to transfer responsibility for some data from a read structure to a write structure, you could use png_data_freer(read_ptr, read_info_ptr, PNG_USER_WILL_FREE_DATA, PNG_FREE_PLTE|PNG_FREE_tRNS|PNG_FREE_hIST) png_data_freer(write_ptr, write_info_ptr, PNG_DESTROY_WILL_FREE_DATA, PNG_FREE_PLTE|PNG_FREE_tRNS|PNG_FREE_hIST) thereby briefly reassigning responsibility for freeing to the user but immediately afterwards reassigning it once more to the write_destroy function. Having done this, it would then be safe to destroy the read structure and continue to use the PLTE, tRNS, and hIST data in the write structure. This function only affects data that has already been allocated. You can call this function before calling after the png_set_*() functions to control whether the user or png_destroy_*() is supposed to free the data. When the user assumes responsibility for libpng-allocated data, the application must use png_free() to free it, and when the user transfers responsibility to libpng for data that the user has allocated, the user must have used png_malloc() or png_zalloc() to allocate it. If you allocated text_ptr.text, text_ptr.lang, and text_ptr.translated_keyword separately, do not transfer responsibility for freeing text_ptr to libpng, because when libpng fills a png_text structure it combines these members with the key member, and png_free_data() will free only text_ptr.key. Similarly, if you transfer responsibility for free'ing text_ptr from libpng to your application, your application must not separately free those members. For a more compact example of writing a PNG image, see the file example.c. .SH V. Modifying/Customizing libpng: There are two issues here. The first is changing how libpng does standard things like memory allocation, input/output, and error handling. The second deals with more complicated things like adding new chunks, adding new transformations, and generally changing how libpng works. Both of those are compile-time issues; that is, they are generally determined at the time the code is written, and there is rarely a need to provide the user with a means of changing them. Memory allocation, input/output, and error handling All of the memory allocation, input/output, and error handling in libpng goes through callbacks that are user-settable. The default routines are in pngmem.c, pngrio.c, pngwio.c, and pngerror.c, respectively. To change these functions, call the appropriate png_set_*_fn() function. Memory allocation is done through the functions png_malloc(), png_calloc(), and png_free(). These currently just call the standard C functions. png_calloc() calls png_malloc() and then png_memset() to clear the newly allocated memory to zero. If your pointers can't access more then 64K at a time, you will want to set MAXSEG_64K in zlib.h. Since it is unlikely that the method of handling memory allocation on a platform will change between applications, these functions must be modified in the library at compile time. If you prefer to use a different method of allocating and freeing data, you can use png_create_read_struct_2() or png_create_write_struct_2() to register your own functions as described above. These functions also provide a void pointer that can be retrieved via mem_ptr=png_get_mem_ptr(png_ptr); Your replacement memory functions must have prototypes as follows: png_voidp malloc_fn(png_structp png_ptr, png_alloc_size_t size); void free_fn(png_structp png_ptr, png_voidp ptr); Your malloc_fn() must return NULL in case of failure. The png_malloc() function will normally call png_error() if it receives a NULL from the system memory allocator or from your replacement malloc_fn(). Your free_fn() will never be called with a NULL ptr, since libpng's png_free() checks for NULL before calling free_fn(). Input/Output in libpng is done through png_read() and png_write(), which currently just call fread() and fwrite(). The FILE * is stored in png_struct and is initialized via png_init_io(). If you wish to change the method of I/O, the library supplies callbacks that you can set through the function png_set_read_fn() and png_set_write_fn() at run time, instead of calling the png_init_io() function. These functions also provide a void pointer that can be retrieved via the function png_get_io_ptr(). For example: png_set_read_fn(png_structp read_ptr, voidp read_io_ptr, png_rw_ptr read_data_fn) png_set_write_fn(png_structp write_ptr, voidp write_io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn); voidp read_io_ptr = png_get_io_ptr(read_ptr); voidp write_io_ptr = png_get_io_ptr(write_ptr); The replacement I/O functions must have prototypes as follows: void user_read_data(png_structp png_ptr, png_bytep data, png_size_t length); void user_write_data(png_structp png_ptr, png_bytep data, png_size_t length); void user_flush_data(png_structp png_ptr); The user_read_data() function is responsible for detecting and handling end-of-data errors. Supplying NULL for the read, write, or flush functions sets them back to using the default C stream functions, which expect the io_ptr to point to a standard *FILE structure. It is probably a mistake to use NULL for one of write_data_fn and output_flush_fn but not both of them, unless you have built libpng with PNG_NO_WRITE_FLUSH defined. It is an error to read from a write stream, and vice versa. Error handling in libpng is done through png_error() and png_warning(). Errors handled through png_error() are fatal, meaning that png_error() should never return to its caller. Currently, this is handled via setjmp() and longjmp() (unless you have compiled libpng with PNG_NO_SETJMP, in which case it is handled via PNG_ABORT()), but you could change this to do things like exit() if you should wish, as long as your function does not return. On non-fatal errors, png_warning() is called to print a warning message, and then control returns to the calling code. By default png_error() and png_warning() print a message on stderr via fprintf() unless the library is compiled with PNG_NO_CONSOLE_IO defined (because you don't want the messages) or PNG_NO_STDIO defined (because fprintf() isn't available). If you wish to change the behavior of the error functions, you will need to set up your own message callbacks. These functions are normally supplied at the time that the png_struct is created. It is also possible to redirect errors and warnings to your own replacement functions after png_create_*_struct() has been called by calling: png_set_error_fn(png_structp png_ptr, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warning_fn); png_voidp error_ptr = png_get_error_ptr(png_ptr); If NULL is supplied for either error_fn or warning_fn, then the libpng default function will be used, calling fprintf() and/or longjmp() if a problem is encountered. The replacement error functions should have parameters as follows: void user_error_fn(png_structp png_ptr, png_const_charp error_msg); void user_warning_fn(png_structp png_ptr, png_const_charp warning_msg); The motivation behind using setjmp() and longjmp() is the C++ throw and catch exception handling methods. This makes the code much easier to write, as there is no need to check every return code of every function call. However, there are some uncertainties about the status of local variables after a longjmp, so the user may want to be careful about doing anything after setjmp returns non-zero besides returning itself. Consult your compiler documentation for more details. For an alternative approach, you may wish to use the "cexcept" facility (see http://cexcept.sourceforge.net). .SS Custom chunks If you need to read or write custom chunks, you may need to get deeper into the libpng code. The library now has mechanisms for storing and writing chunks of unknown type; you can even declare callbacks for custom chunks. However, this may not be good enough if the library code itself needs to know about interactions between your chunk and existing `intrinsic' chunks. If you need to write a new intrinsic chunk, first read the PNG specification. Acquire a first level of understanding of how it works. Pay particular attention to the sections that describe chunk names, and look at how other chunks were designed, so you can do things similarly. Second, check out the sections of libpng that read and write chunks. Try to find a chunk that is similar to yours and use it as a template. More details can be found in the comments inside the code. It is best to handle unknown chunks in a generic method, via callback functions, instead of by modifying libpng functions. If you wish to write your own transformation for the data, look through the part of the code that does the transformations, and check out some of the simpler ones to get an idea of how they work. Try to find a similar transformation to the one you want to add and copy off of it. More details can be found in the comments inside the code itself. .SS Configuring for 16 bit platforms You will want to look into zconf.h to tell zlib (and thus libpng) that it cannot allocate more then 64K at a time. Even if you can, the memory won't be accessible. So limit zlib and libpng to 64K by defining MAXSEG_64K. .SS Configuring for DOS For DOS users who only have access to the lower 640K, you will have to limit zlib's memory usage via a png_set_compression_mem_level() call. See zlib.h or zconf.h in the zlib library for more information. .SS Configuring for Medium Model Libpng's support for medium model has been tested on most of the popular compilers. Make sure MAXSEG_64K gets defined, USE_FAR_KEYWORD gets defined, and FAR gets defined to far in pngconf.h, and you should be all set. Everything in the library (except for zlib's structure) is expecting far data. You must use the typedefs with the p or pp on the end for pointers (or at least look at them and be careful). Make note that the rows of data are defined as png_bytepp, which is an unsigned char far * far *. .SS Configuring for gui/windowing platforms: You will need to write new error and warning functions that use the GUI interface, as described previously, and set them to be the error and warning functions at the time that png_create_*_struct() is called, in order to have them available during the structure initialization. They can be changed later via png_set_error_fn(). On some compilers, you may also have to change the memory allocators (png_malloc, etc.). .SS Configuring for compiler xxx: All includes for libpng are in pngconf.h. If you need to add, change or delete an include, this is the place to do it. The includes that are not needed outside libpng are placed in pngpriv.h, which is only used by the routines inside libpng itself. The files in libpng proper only include pngpriv.h and png.h, which in turn includes pngconf.h. .SS Configuring zlib: There are special functions to configure the compression. Perhaps the most useful one changes the compression level, which currently uses input compression values in the range 0 - 9. The library normally uses the default compression level (Z_DEFAULT_COMPRESSION = 6). Tests have shown that for a large majority of images, compression values in the range 3-6 compress nearly as well as higher levels, and do so much faster. For online applications it may be desirable to have maximum speed (Z_BEST_SPEED = 1). With versions of zlib after v0.99, you can also specify no compression (Z_NO_COMPRESSION = 0), but this would create files larger than just storing the raw bitmap. You can specify the compression level by calling: png_set_compression_level(png_ptr, level); Another useful one is to reduce the memory level used by the library. The memory level defaults to 8, but it can be lowered if you are short on memory (running DOS, for example, where you only have 640K). Note that the memory level does have an effect on compression; among other things, lower levels will result in sections of incompressible data being emitted in smaller stored blocks, with a correspondingly larger relative overhead of up to 15% in the worst case. png_set_compression_mem_level(png_ptr, level); The other functions are for configuring zlib. They are not recommended for normal use and may result in writing an invalid PNG file. See zlib.h for more information on what these mean. png_set_compression_strategy(png_ptr, strategy); png_set_compression_window_bits(png_ptr, window_bits); png_set_compression_method(png_ptr, method); png_set_compression_buffer_size(png_ptr, size); .SS Controlling row filtering If you want to control whether libpng uses filtering or not, which filters are used, and how it goes about picking row filters, you can call one of these functions. The selection and configuration of row filters can have a significant impact on the size and encoding speed and a somewhat lesser impact on the decoding speed of an image. Filtering is enabled by default for RGB and grayscale images (with and without alpha), but not for paletted images nor for any images with bit depths less than 8 bits/pixel. The 'method' parameter sets the main filtering method, which is currently only '0' in the PNG 1.2 specification. The 'filters' parameter sets which filter(s), if any, should be used for each scanline. Possible values are PNG_ALL_FILTERS and PNG_NO_FILTERS to turn filtering on and off, respectively. Individual filter types are PNG_FILTER_NONE, PNG_FILTER_SUB, PNG_FILTER_UP, PNG_FILTER_AVG, PNG_FILTER_PAETH, which can be bitwise ORed together with '|' to specify one or more filters to use. These filters are described in more detail in the PNG specification. If you intend to change the filter type during the course of writing the image, you should start with flags set for all of the filters you intend to use so that libpng can initialize its internal structures appropriately for all of the filter types. (Note that this means the first row must always be adaptively filtered, because libpng currently does not allocate the filter buffers until png_write_row() is called for the first time.) filters = PNG_FILTER_NONE | PNG_FILTER_SUB PNG_FILTER_UP | PNG_FILTER_AVG | PNG_FILTER_PAETH | PNG_ALL_FILTERS; png_set_filter(png_ptr, PNG_FILTER_TYPE_BASE, filters); The second parameter can also be PNG_INTRAPIXEL_DIFFERENCING if you are writing a PNG to be embedded in a MNG datastream. This parameter must be the same as the value of filter_method used in png_set_IHDR(). It is also possible to influence how libpng chooses from among the available filters. This is done in one or both of two ways - by telling it how important it is to keep the same filter for successive rows, and by telling it the relative computational costs of the filters. double weights[3] = {1.5, 1.3, 1.1}, costs[PNG_FILTER_VALUE_LAST] = {1.0, 1.3, 1.3, 1.5, 1.7}; png_set_filter_heuristics(png_ptr, PNG_FILTER_HEURISTIC_WEIGHTED, 3, weights, costs); The weights are multiplying factors that indicate to libpng that the row filter should be the same for successive rows unless another row filter is that many times better than the previous filter. In the above example, if the previous 3 filters were SUB, SUB, NONE, the SUB filter could have a "sum of absolute differences" 1.5 x 1.3 times higher than other filters and still be chosen, while the NONE filter could have a sum 1.1 times higher than other filters and still be chosen. Unspecified weights are taken to be 1.0, and the specified weights should probably be declining like those above in order to emphasize recent filters over older filters. The filter costs specify for each filter type a relative decoding cost to be considered when selecting row filters. This means that filters with higher costs are less likely to be chosen over filters with lower costs, unless their "sum of absolute differences" is that much smaller. The costs do not necessarily reflect the exact computational speeds of the various filters, since this would unduly influence the final image size. Note that the numbers above were invented purely for this example and are given only to help explain the function usage. Little testing has been done to find optimum values for either the costs or the weights. .SS Removing unwanted object code There are a bunch of #define's in pngconf.h that control what parts of libpng are compiled. All the defines end in _SUPPORTED. If you are never going to use a capability, you can change the #define to #undef before recompiling libpng and save yourself code and data space, or you can turn off individual capabilities with defines that begin with PNG_NO_. You can also turn all of the transforms and ancillary chunk capabilities off en masse with compiler directives that define PNG_NO_READ[or WRITE]_TRANSFORMS, or PNG_NO_READ[or WRITE]_ANCILLARY_CHUNKS, or all four, along with directives to turn on any of the capabilities that you do want. The PNG_NO_READ[or WRITE]_TRANSFORMS directives disable the extra transformations but still leave the library fully capable of reading and writing PNG files with all known public chunks. Use of the PNG_NO_READ[or WRITE]_ANCILLARY_CHUNKS directive produces a library that is incapable of reading or writing ancillary chunks. If you are not using the progressive reading capability, you can turn that off with PNG_NO_PROGRESSIVE_READ (don't confuse this with the INTERLACING capability, which you'll still have). All the reading and writing specific code are in separate files, so the linker should only grab the files it needs. However, if you want to make sure, or if you are building a stand alone library, all the reading files start with pngr and all the writing files start with pngw. The files that don't match either (like png.c, pngtrans.c, etc.) are used for both reading and writing, and always need to be included. The progressive reader is in pngpread.c If you are creating or distributing a dynamically linked library (a .so or DLL file), you should not remove or disable any parts of the library, as this will cause applications linked with different versions of the library to fail if they call functions not available in your library. The size of the library itself should not be an issue, because only those sections that are actually used will be loaded into memory. .SS Requesting debug printout The macro definition PNG_DEBUG can be used to request debugging printout. Set it to an integer value in the range 0 to 3. Higher numbers result in increasing amounts of debugging information. The information is printed to the "stderr" file, unless another file name is specified in the PNG_DEBUG_FILE macro definition. When PNG_DEBUG > 0, the following functions (macros) become available: png_debug(level, message) png_debug1(level, message, p1) png_debug2(level, message, p1, p2) in which "level" is compared to PNG_DEBUG to decide whether to print the message, "message" is the formatted string to be printed, and p1 and p2 are parameters that are to be embedded in the string according to printf-style formatting directives. For example, png_debug1(2, "foo=%d\n", foo); is expanded to if(PNG_DEBUG > 2) fprintf(PNG_DEBUG_FILE, "foo=%d\n", foo); When PNG_DEBUG is defined but is zero, the macros aren't defined, but you can still use PNG_DEBUG to control your own debugging: #ifdef PNG_DEBUG fprintf(stderr, ... #endif When PNG_DEBUG = 1, the macros are defined, but only png_debug statements having level = 0 will be printed. There aren't any such statements in this version of libpng, but if you insert some they will be printed. .SH VI. MNG support The MNG specification (available at http://www.libpng.org/pub/mng) allows certain extensions to PNG for PNG images that are embedded in MNG datastreams. Libpng can support some of these extensions. To enable them, use the png_permit_mng_features() function: feature_set = png_permit_mng_features(png_ptr, mask) mask is a png_uint_32 containing the bitwise OR of the features you want to enable. These include PNG_FLAG_MNG_EMPTY_PLTE PNG_FLAG_MNG_FILTER_64 PNG_ALL_MNG_FEATURES feature_set is a png_uint_32 that is the bitwise AND of your mask with the set of MNG features that is supported by the version of libpng that you are using. It is an error to use this function when reading or writing a standalone PNG file with the PNG 8-byte signature. The PNG datastream must be wrapped in a MNG datastream. As a minimum, it must have the MNG 8-byte signature and the MHDR and MEND chunks. Libpng does not provide support for these or any other MNG chunks; your application must provide its own support for them. You may wish to consider using libmng (available at http://www.libmng.com) instead. .SH VII. Changes to Libpng from version 0.88 It should be noted that versions of libpng later than 0.96 are not distributed by the original libpng author, Guy Schalnat, nor by Andreas Dilger, who had taken over from Guy during 1996 and 1997, and distributed versions 0.89 through 0.96, but rather by another member of the original PNG Group, Glenn Randers-Pehrson. Guy and Andreas are still alive and well, but they have moved on to other things. The old libpng functions png_read_init(), png_write_init(), png_info_init(), png_read_destroy(), and png_write_destroy() have been moved to PNG_INTERNAL in version 0.95 to discourage their use. These functions will be removed from libpng version 2.0.0. The preferred method of creating and initializing the libpng structures is via the png_create_read_struct(), png_create_write_struct(), and png_create_info_struct() because they isolate the size of the structures from the application, allow version error checking, and also allow the use of custom error handling routines during the initialization, which the old functions do not. The functions png_read_destroy() and png_write_destroy() do not actually free the memory that libpng allocated for these structs, but just reset the data structures, so they can be used instead of png_destroy_read_struct() and png_destroy_write_struct() if you feel there is too much system overhead allocating and freeing the png_struct for each image read. Setting the error callbacks via png_set_message_fn() before png_read_init() as was suggested in libpng-0.88 is no longer supported because this caused applications that do not use custom error functions to fail if the png_ptr was not initialized to zero. It is still possible to set the error callbacks AFTER png_read_init(), or to change them with png_set_error_fn(), which is essentially the same function, but with a new name to force compilation errors with applications that try to use the old method. Starting with version 1.0.7, you can find out which version of the library you are using at run-time: png_uint_32 libpng_vn = png_access_version_number(); The number libpng_vn is constructed from the major version, minor version with leading zero, and release number with leading zero, (e.g., libpng_vn for version 1.0.7 is 10007). You can also check which version of png.h you used when compiling your application: png_uint_32 application_vn = PNG_LIBPNG_VER; .SH VIII. Changes to Libpng from version 1.0.x to 1.2.x Support for user memory management was enabled by default. To accomplish this, the functions png_create_read_struct_2(), png_create_write_struct_2(), png_set_mem_fn(), png_get_mem_ptr(), png_malloc_default(), and png_free_default() were added. Support for the iTXt chunk has been enabled by default as of version 1.2.41. Support for certain MNG features was enabled. Support for numbered error messages was added. However, we never got around to actually numbering the error messages. The function png_set_strip_error_numbers() was added (Note: the prototype for this function was inadvertently removed from png.h in PNG_NO_ASSEMBLER_CODE builds of libpng-1.2.15. It was restored in libpng-1.2.36). The png_malloc_warn() function was added at libpng-1.2.3. This issues a png_warning and returns NULL instead of aborting when it fails to acquire the requested memory allocation. Support for setting user limits on image width and height was enabled by default. The functions png_set_user_limits(), png_get_user_width_max(), and png_get_user_height_max() were added at libpng-1.2.6. The png_set_add_alpha() function was added at libpng-1.2.7. The function png_set_expand_gray_1_2_4_to_8() was added at libpng-1.2.9. Unlike png_set_gray_1_2_4_to_8(), the new function does not expand the tRNS chunk to alpha. The png_set_gray_1_2_4_to_8() function is deprecated. A number of macro definitions in support of runtime selection of assembler code features (especially Intel MMX code support) were added at libpng-1.2.0: PNG_ASM_FLAG_MMX_SUPPORT_COMPILED PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU 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 PNG_ASM_FLAGS_INITIALIZED PNG_MMX_READ_FLAGS PNG_MMX_FLAGS PNG_MMX_WRITE_FLAGS PNG_MMX_FLAGS We added the following functions in support of runtime selection of assembler code features: png_get_mmx_flagmask() png_set_mmx_thresholds() png_get_asm_flags() png_get_mmx_bitdepth_threshold() png_get_mmx_rowbytes_threshold() png_set_asm_flags() We replaced all of these functions with simple stubs in libpng-1.2.20, when the Intel assembler code was removed due to a licensing issue. These macros are deprecated: PNG_READ_TRANSFORMS_NOT_SUPPORTED PNG_PROGRESSIVE_READ_NOT_SUPPORTED PNG_NO_SEQUENTIAL_READ_SUPPORTED PNG_WRITE_TRANSFORMS_NOT_SUPPORTED PNG_READ_ANCILLARY_CHUNKS_NOT_SUPPORTED PNG_WRITE_ANCILLARY_CHUNKS_NOT_SUPPORTED They have been replaced, respectively, by: PNG_NO_READ_TRANSFORMS PNG_NO_PROGRESSIVE_READ PNG_NO_SEQUENTIAL_READ PNG_NO_WRITE_TRANSFORMS PNG_NO_READ_ANCILLARY_CHUNKS PNG_NO_WRITE_ANCILLARY_CHUNKS PNG_MAX_UINT was replaced with PNG_UINT_31_MAX. It has been deprecated since libpng-1.0.16 and libpng-1.2.6. The function png_check_sig(sig, num) was replaced with !png_sig_cmp(sig, 0, num) It has been deprecated since libpng-0.90. The function png_set_gray_1_2_4_to_8() which also expands tRNS to alpha was replaced with png_set_expand_gray_1_2_4_to_8() which does not. It has been deprecated since libpng-1.0.18 and 1.2.9. .SH IX. Changes to Libpng from version 1.0.x/1.2.x to 1.4.x Private libpng prototypes and macro definitions were moved from png.h and pngconf.h into a new pngpriv.h header file. Functions png_set_benign_errors(), png_benign_error(), and png_chunk_benign_error() were added. Support for setting the maximum amount of memory that the application will allocate for reading chunks was added, as a security measure. The functions png_set_chunk_cache_max() and png_get_chunk_cache_max() were added to the library. We implemented support for I/O states by adding png_ptr member io_state and functions png_get_io_chunk_name() and png_get_io_state() in pngget.c We added PNG_TRANSFORM_GRAY_TO_RGB to the available high-level input transforms. Checking for and reporting of errors in the IHDR chunk is more thorough. Support for global arrays was removed, to improve thread safety. Some obsolete/deprecated macros and functions have been removed. Typecasted NULL definitions such as #define png_voidp_NULL (png_voidp)NULL were eliminated. If you used these in your application, just use NULL instead. The png_struct and info_struct members "trans" and "trans_values" were changed to "trans_alpha" and "trans_color", respectively. The obsolete, unused pnggccrd.c and pngvcrd.c files and related makefiles were removed. The PNG_1_0_X and PNG_1_2_X macros were eliminated. The PNG_LEGACY_SUPPORTED macro was eliminated. Many WIN32_WCE #ifdefs were removed. The functions png_read_init(info_ptr), png_write_init(info_ptr), png_info_init(info_ptr), png_read_destroy(), and png_write_destroy() have been removed. They have been deprecated since libpng-0.95. The png_permit_empty_plte() was removed. It has been deprecated since libpng-1.0.9. Use png_permit_mng_features() instead. We removed the obsolete stub functions png_get_mmx_flagmask(), png_set_mmx_thresholds(), png_get_asm_flags(), png_get_mmx_bitdepth_threshold(), png_get_mmx_rowbytes_threshold(), png_set_asm_flags(), and png_mmx_supported() We removed the obsolete png_check_sig(), png_memcpy_check(), and png_memset_check() functions. Instead use !png_sig_cmp(), png_memcpy(), and png_memset(), respectively. The function png_set_gray_1_2_4_to_8() was removed. It has been deprecated since libpng-1.0.18 and 1.2.9, when it was replaced with png_set_expand_gray_1_2_4_to_8() because the former function also expanded palette images. We changed the prototype for png_malloc() from png_malloc(png_structp png_ptr, png_uint_32 size) to png_malloc(png_structp png_ptr, png_alloc_size_t size) This also applies to the prototype for the user replacement malloc_fn(). The png_calloc() function was added and is used in place of of "png_malloc(); png_memset();" except in the case in png_read_png() where the array consists of pointers; in this case a "for" loop is used after the png_malloc() to set the pointers to NULL, to give robust. behavior in case the application runs out of memory part-way through the process. We changed the prototypes of png_get_compression_buffer_size() and png_set_compression_buffer_size() to work with png_size_t instead of png_uint_32. Support for numbered error messages was removed by default, since we never got around to actually numbering the error messages. The function png_set_strip_error_numbers() was removed from the library by default. The png_zalloc() and png_zfree() functions are no longer exported. The png_zalloc() function no longer zeroes out the memory that it allocates. Support for dithering was disabled by default in libpng-1.4.0, because been well tested and doesn't actually "dither". The code was not removed, however, and could be enabled by building libpng with PNG_READ_DITHER_SUPPORTED defined. In libpng-1.4.2, this support was reenabled, but the function was renamed png_set_quantize() to reflect more accurately what it actually does. At the same time, the PNG_DITHER_[RED,GREEN_BLUE]_BITS macros were also renamed to PNG_QUANTIZE_[RED,GREEN,BLUE]_BITS. We removed the trailing '.' from the warning and error messages. .SH X. Detecting libpng The png_get_io_ptr() function has been present since libpng-0.88, has never changed, and is unaffected by conditional compilation macros. It is the best choice for use in configure scripts for detecting the presence of any libpng version since 0.88. In an autoconf "configure.in" you could use AC_CHECK_LIB(png, png_get_io_ptr, ... .SH XI. Source code repository Since about February 2009, version 1.2.34, libpng has been under "git" source control. The git repository was built from old libpng-x.y.z.tar.gz files going back to version 0.70. You can access the git repository (read only) at git://libpng.git.sourceforge.net/gitroot/libpng or you can browse it via "gitweb" at http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng Patches can be sent to glennrp at users.sourceforge.net or to png-mng-implement at lists.sourceforge.net or you can upload them to the libpng bug tracker at http://libpng.sourceforge.net .SH XII. Coding style Our coding style is similar to the "Allman" style, with curly braces on separate lines: if (condition) { action; } else if (another condition) { another action; } The braces can be omitted from simple one-line actions: if (condition) return (0); We use 3-space indentation, except for continued statements which are usually indented the same as the first line of the statement plus four more spaces. For macro definitions we use 2-space indentation, always leaving the "#" in the first column. #ifndef PNG_NO_FEATURE # ifndef PNG_FEATURE_SUPPORTED # define PNG_FEATURE_SUPPORTED # endif #endif Comments appear with the leading "/*" at the same indentation as the statement that follows the comment: /* Single-line comment */ statement; /* This is a multiple-line * comment. */ statement; Very short comments can be placed after the end of the statement to which they pertain: statement; /* comment */ We don't use C++ style ("//") comments. We have, however, used them in the past in some now-abandoned MMX assembler code. Functions and their curly braces are not indented, and exported functions are marked with PNGAPI: /* This is a public function that is visible to * application programers. It does thus-and-so. */ void PNGAPI png_exported_function(png_ptr, png_info, foo) { body; } The prototypes for all exported functions appear in png.h, above the comment that says /* Maintainer: Put new public prototypes here ... */ We mark all non-exported functions with "/* PRIVATE */"": void /* PRIVATE */ png_non_exported_function(png_ptr, png_info, foo) { body; } The prototypes for non-exported functions (except for those in pngtest) appear in pngpriv.h above the comment that says /* Maintainer: Put new private prototypes here ^ and in libpngpf.3 */ The names of all exported functions and variables begin with "png_", and all publicly visible C preprocessor macros begin with "PNG_". We put a space after each comma and after each semicolon in "for" statments, and we put spaces before and after each C binary operator and after "for" or "while", and before "?". We don't put a space between a typecast and the expression being cast, nor do we put one between a function name and the left parenthesis that follows it: for (i = 2; i > 0; --i) y[i] = a(x) + (int)b; We prefer #ifdef and #ifndef to #if defined() and if !defined() when there is only one macro being tested. We do not use the TAB character for indentation in the C sources. Lines do not exceed 80 characters. Other rules can be inferred by inspecting the libpng source. .SH XIII. Y2K Compliance in libpng June 26, 2010 Since the PNG Development group is an ad-hoc body, we can't make an official declaration. This is your unofficial assurance that libpng from version 0.71 and upward through 1.4.3 are Y2K compliant. It is my belief that earlier versions were also Y2K compliant. Libpng only has three year fields. One is a 2-byte unsigned integer that will hold years up to 65535. The other two hold the date in text format, and will hold years up to 9999. The integer is "png_uint_16 year" in png_time_struct. The strings are "png_charp time_buffer" in png_struct and "near_time_buffer", which is a local character string in png.c. There are seven time-related functions: png_convert_to_rfc_1123() in png.c (formerly png_convert_to_rfc_1152() in error) png_convert_from_struct_tm() in pngwrite.c, called in pngwrite.c png_convert_from_time_t() in pngwrite.c png_get_tIME() in pngget.c png_handle_tIME() in pngrutil.c, called in pngread.c png_set_tIME() in pngset.c png_write_tIME() in pngwutil.c, called in pngwrite.c All appear to handle dates properly in a Y2K environment. The png_convert_from_time_t() function calls gmtime() to convert from system clock time, which returns (year - 1900), which we properly convert to the full 4-digit year. There is a possibility that applications using libpng are not passing 4-digit years into the png_convert_to_rfc_1123() function, or that they are incorrectly passing only a 2-digit year instead of "year - 1900" into the png_convert_from_struct_tm() function, but this is not under our control. The libpng documentation has always stated that it works with 4-digit years, and the APIs have been documented as such. The tIME chunk itself is also Y2K compliant. It uses a 2-byte unsigned integer to hold the year, and can hold years as large as 65535. zlib, upon which libpng depends, is also Y2K compliant. It contains no date-related code. Glenn Randers-Pehrson libpng maintainer PNG Development Group .SH NOTE Note about libpng version numbers: Due to various miscommunications, unforeseen code incompatibilities and occasional factors outside the authors' control, version numbering on the library has not always been consistent and straightforward. The following table summarizes matters since version 0.89c, which was the first widely used release: source png.h png.h shared-lib version string int version ------- ------ ----- ---------- 0.89c ("beta 3") 0.89 89 1.0.89 0.90 ("beta 4") 0.90 90 0.90 0.95 ("beta 5") 0.95 95 0.95 0.96 ("beta 6") 0.96 96 0.96 0.97b ("beta 7") 1.00.97 97 1.0.1 0.97c 0.97 97 2.0.97 0.98 0.98 98 2.0.98 0.99 0.99 98 2.0.99 0.99a-m 0.99 99 2.0.99 1.00 1.00 100 2.1.0 1.0.0 1.0.0 100 2.1.0 1.0.0 (from here on, the 100 2.1.0 1.0.1 png.h string is 10001 2.1.0 1.0.1a-e identical to the 10002 from here on, the 1.0.2 source version) 10002 shared library is 2.V 1.0.2a-b 10003 where V is the source 1.0.1 10001 code version except as 1.0.1a-e 10002 2.1.0.1a-e noted. 1.0.2 10002 2.1.0.2 1.0.2a-b 10003 2.1.0.2a-b 1.0.3 10003 2.1.0.3 1.0.3a-d 10004 2.1.0.3a-d 1.0.4 10004 2.1.0.4 1.0.4a-f 10005 2.1.0.4a-f 1.0.5 (+ 2 patches) 10005 2.1.0.5 1.0.5a-d 10006 2.1.0.5a-d 1.0.5e-r 10100 2.1.0.5e-r 1.0.5s-v 10006 2.1.0.5s-v 1.0.6 (+ 3 patches) 10006 2.1.0.6 1.0.6d-g 10007 2.1.0.6d-g 1.0.6h 10007 10.6h 1.0.6i 10007 10.6i 1.0.6j 10007 2.1.0.6j 1.0.7beta11-14 DLLNUM 10007 2.1.0.7beta11-14 1.0.7beta15-18 1 10007 2.1.0.7beta15-18 1.0.7rc1-2 1 10007 2.1.0.7rc1-2 1.0.7 1 10007 2.1.0.7 1.0.8beta1-4 1 10008 2.1.0.8beta1-4 1.0.8rc1 1 10008 2.1.0.8rc1 1.0.8 1 10008 2.1.0.8 1.0.9beta1-6 1 10009 2.1.0.9beta1-6 1.0.9rc1 1 10009 2.1.0.9rc1 1.0.9beta7-10 1 10009 2.1.0.9beta7-10 1.0.9rc2 1 10009 2.1.0.9rc2 1.0.9 1 10009 2.1.0.9 1.0.10beta1 1 10010 2.1.0.10beta1 1.0.10rc1 1 10010 2.1.0.10rc1 1.0.10 1 10010 2.1.0.10 1.0.11beta1-3 1 10011 2.1.0.11beta1-3 1.0.11rc1 1 10011 2.1.0.11rc1 1.0.11 1 10011 2.1.0.11 1.0.12beta1-2 2 10012 2.1.0.12beta1-2 1.0.12rc1 2 10012 2.1.0.12rc1 1.0.12 2 10012 2.1.0.12 1.1.0a-f - 10100 2.1.1.0a-f abandoned 1.2.0beta1-2 2 10200 2.1.2.0beta1-2 1.2.0beta3-5 3 10200 3.1.2.0beta3-5 1.2.0rc1 3 10200 3.1.2.0rc1 1.2.0 3 10200 3.1.2.0 1.2.1beta-4 3 10201 3.1.2.1beta1-4 1.2.1rc1-2 3 10201 3.1.2.1rc1-2 1.2.1 3 10201 3.1.2.1 1.2.2beta1-6 12 10202 12.so.0.1.2.2beta1-6 1.0.13beta1 10 10013 10.so.0.1.0.13beta1 1.0.13rc1 10 10013 10.so.0.1.0.13rc1 1.2.2rc1 12 10202 12.so.0.1.2.2rc1 1.0.13 10 10013 10.so.0.1.0.13 1.2.2 12 10202 12.so.0.1.2.2 1.2.3rc1-6 12 10203 12.so.0.1.2.3rc1-6 1.2.3 12 10203 12.so.0.1.2.3 1.2.4beta1-3 13 10204 12.so.0.1.2.4beta1-3 1.2.4rc1 13 10204 12.so.0.1.2.4rc1 1.0.14 10 10014 10.so.0.1.0.14 1.2.4 13 10204 12.so.0.1.2.4 1.2.5beta1-2 13 10205 12.so.0.1.2.5beta1-2 1.0.15rc1 10 10015 10.so.0.1.0.15rc1 1.0.15 10 10015 10.so.0.1.0.15 1.2.5 13 10205 12.so.0.1.2.5 1.2.6beta1-4 13 10206 12.so.0.1.2.6beta1-4 1.2.6rc1-5 13 10206 12.so.0.1.2.6rc1-5 1.0.16 10 10016 10.so.0.1.0.16 1.2.6 13 10206 12.so.0.1.2.6 1.2.7beta1-2 13 10207 12.so.0.1.2.7beta1-2 1.0.17rc1 10 10017 12.so.0.1.0.17rc1 1.2.7rc1 13 10207 12.so.0.1.2.7rc1 1.0.17 10 10017 12.so.0.1.0.17 1.2.7 13 10207 12.so.0.1.2.7 1.2.8beta1-5 13 10208 12.so.0.1.2.8beta1-5 1.0.18rc1-5 10 10018 12.so.0.1.0.18rc1-5 1.2.8rc1-5 13 10208 12.so.0.1.2.8rc1-5 1.0.18 10 10018 12.so.0.1.0.18 1.2.8 13 10208 12.so.0.1.2.8 1.2.9beta1-3 13 10209 12.so.0.1.2.9beta1-3 1.2.9beta4-11 13 10209 12.so.0.9[.0] 1.2.9rc1 13 10209 12.so.0.9[.0] 1.2.9 13 10209 12.so.0.9[.0] 1.2.10beta1-7 13 10210 12.so.0.10[.0] 1.2.10rc1-2 13 10210 12.so.0.10[.0] 1.2.10 13 10210 12.so.0.10[.0] 1.4.0beta1-6 14 10400 14.so.0.0[.0] 1.2.11beta1-4 13 10210 12.so.0.11[.0] 1.4.0beta7-8 14 10400 14.so.0.0[.0] 1.2.11 13 10211 12.so.0.11[.0] 1.2.12 13 10212 12.so.0.12[.0] 1.4.0beta9-14 14 10400 14.so.0.0[.0] 1.2.13 13 10213 12.so.0.13[.0] 1.4.0beta15-36 14 10400 14.so.0.0[.0] 1.4.0beta37-87 14 10400 14.so.14.0[.0] 1.4.0rc01 14 10400 14.so.14.0[.0] 1.4.0beta88-109 14 10400 14.so.14.0[.0] 1.4.0rc02-08 14 10400 14.so.14.0[.0] 1.4.0 14 10400 14.so.14.0[.0] 1.4.1beta01-03 14 10401 14.so.14.1[.0] 1.4.1rc01 14 10401 14.so.14.1[.0] 1.4.1beta04-12 14 10401 14.so.14.1[.0] 1.4.1rc02-04 14 10401 14.so.14.1[.0] 1.4.1 14 10401 14.so.14.1[.0] 1.4.2beta01 14 10402 14.so.14.2[.0] 1.4.2rc02-06 14 10402 14.so.14.2[.0] 1.4.2 14 10402 14.so.14.2[.0] 1.4.3beta01-05 14 10403 14.so.14.3[.0] 1.4.3rc01-03 14 10403 14.so.14.3[.0] 1.4.3 14 10403 14.so.14.3[.0] Henceforth the source version will match the shared-library minor and patch numbers; the shared-library major version number will be used for changes in backward compatibility, as it is intended. The PNG_PNGLIB_VER macro, which is not used within libpng but is available for applications, is an unsigned integer of the form xyyzz corresponding to the source version x.y.z (leading zeros in y and z). Beta versions were given the previous public release number plus a letter, until version 1.0.6j; from then on they were given the upcoming public release number plus "betaNN" or "rcN". .SH "SEE ALSO" libpngpf(3), png(5) .LP .IR libpng : .IP http://libpng.sourceforge.net (follow the [DOWNLOAD] link) http://www.libpng.org/pub/png .LP .IR zlib : .IP (generally) at the same location as .I libpng or at .br ftp://ftp.info-zip.org/pub/infozip/zlib .LP .IR PNG specification: RFC 2083 .IP (generally) at the same location as .I libpng or at .br ftp://ds.internic.net/rfc/rfc2083.txt .br or (as a W3C Recommendation) at .br http://www.w3.org/TR/REC-png.html .LP In the case of any inconsistency between the PNG specification and this library, the specification takes precedence. .SH AUTHORS This man page: Glenn Randers-Pehrson The contributing authors would like to thank all those who helped with testing, bug fixes, and patience. This wouldn't have been possible without all of you. Thanks to Frank J. T. Wojcik for helping with the documentation. Libpng version 1.4.3 - June 26, 2010: Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc. Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net). Supported by the PNG development group .br png-mng-implement at lists.sf.net (subscription required; visit png-mng-implement at lists.sourceforge.net (subscription required; visit https://lists.sourceforge.net/lists/listinfo/png-mng-implement to subscribe). .SH COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: (This copy of the libpng notices is provided for your convenience. In case of any discrepancy between this copy and the notices in the file png.h that is included in the libpng distribution, the latter shall prevail.) If you modify libpng you may insert additional notices immediately following this sentence. This code is released under the libpng license. libpng versions 1.2.6, August 15, 2004, through 1.4.3, June 26, 2010, are Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.2.5 with the following individual added to the list of Contributing Authors Cosmin Truta libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.0.6 with the following individuals added to the list of Contributing Authors Simon-Pierre Cadieux Eric S. Raymond Gilles Vollant and with the following additions to the disclaimer: There is no warranty against interference with your enjoyment of the library or against infringement. There is no warranty that our efforts or the library will fulfill any of your particular purposes or needs. This library is provided with all faults, and the entire risk of satisfactory quality, performance, accuracy, and effort is with the user. libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are Copyright (c) 1998, 1999 Glenn Randers-Pehrson Distributed according to the same disclaimer and license as libpng-0.96, with the following individuals added to the list of Contributing Authors: Tom Lane Glenn Randers-Pehrson Willem van Schaik libpng versions 0.89, June 1996, through 0.96, May 1997, are Copyright (c) 1996, 1997 Andreas Dilger Distributed according to the same disclaimer and license as libpng-0.88, with the following individuals added to the list of Contributing Authors: John Bowler Kevin Bracey Sam Bushell Magnus Holmgren Greg Roelofs Tom Tanner libpng versions 0.5, May 1995, through 0.88, January 1996, are Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. For the purposes of this copyright and license, "Contributing Authors" is defined as the following set of individuals: Andreas Dilger Dave Martindale Guy Eric Schalnat Paul Schmidt Tim Wegner The PNG Reference Library is supplied "AS IS". The Contributing Authors and Group 42, Inc. disclaim all warranties, expressed or implied, including, without limitation, the warranties of merchantability and of fitness for any purpose. The Contributing Authors and Group 42, Inc. assume no liability for direct, indirect, incidental, special, exemplary, or consequential damages, which may result from the use of the PNG Reference Library, even if advised of the possibility of such damage. Permission is hereby granted to use, copy, modify, and distribute this source code, or portions hereof, for any purpose, without fee, subject to the following restrictions: 1. The origin of this source code must not be misrepresented. 2. Altered versions must be plainly marked as such and must not be misrepresented as being the original source. 3. This Copyright notice may not be removed or altered from any source or altered source distribution. The Contributing Authors and Group 42, Inc. specifically permit, without fee, and encourage the use of this source code as a component to supporting the PNG file format in commercial products. If you use this source code in a product, acknowledgment is not required but would be appreciated. A "png_get_copyright" function is available, for convenient use in "about" boxes and the like: printf("%s",png_get_copyright(NULL)); Also, the PNG logo (in PNG format, of course) is supplied in the files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a certification mark of the Open Source Initiative. Glenn Randers-Pehrson glennrp at users.sourceforge.net June 26, 2010 .\" end of man page 070701000a97a5000041ed0000000000000000000000024cc10e4800000000000000b600010002ffffffffffffffff0000001e00000000root/usr/local/share/man/man5070701000a97a6000081a40000000000000000000000014cc10ccf0000094a000000b600010002ffffffffffffffff0000002400000000root/usr/local/share/man/man5/png.5.TH PNG 5 "June 26, 2010" .SH NAME png \- Portable Network Graphics (PNG) format .SH DESCRIPTION PNG (Portable Network Graphics) is an extensible file format for the lossless, portable, well-compressed storage of raster images. PNG provides a patent-free replacement for GIF and can also replace many common uses of TIFF. Indexed-color, grayscale, and truecolor images are supported, plus an optional alpha channel. Sample depths range from 1 to 16 bits. .br PNG is designed to work well in online viewing applications, such as the World Wide Web, so it is fully streamable with a progressive display option. PNG is robust, providing both full file integrity checking and fast, simple detection of common transmission errors. Also, PNG can store gamma and chromaticity data for improved color matching on heterogeneous platforms. .SH "SEE ALSO" .IR libpng(3), zlib(3), deflate(5), and zlib(5) .LP PNG specification (second edition), November 2003: .IP .br