upgrade libpng to 1.6.35 (latest official release, yet.)
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 04 Nov 2018 22:11:11 +0300
changeset 62734a3f499aff4
parent 626 a901993c964f
child 628 e1ef82a58dc8
upgrade libpng to 1.6.35 (latest official release, yet.)

fixes an issue reported at https://discourse.libsdl.org/t/25241
libpng-1.6.32-to-1.6.33 changelog mentions the following:
- Compute a larger limit on IDAT because some applications write
a deflate buffer for each row
Android.mk
VisualC/external/include/png.h
VisualC/external/include/pngconf.h
VisualC/external/include/pnglibconf.h
VisualC/external/lib/x64/LICENSE.png.txt
VisualC/external/lib/x64/libpng16-16.dll
VisualC/external/lib/x86/LICENSE.png.txt
VisualC/external/lib/x86/libpng16-16.dll
external/libpng-1.6.32.patch
external/libpng-1.6.32/ANNOUNCE
external/libpng-1.6.32/Android.mk
external/libpng-1.6.32/CHANGES
external/libpng-1.6.32/CMakeLists.txt
external/libpng-1.6.32/INSTALL
external/libpng-1.6.32/LICENSE
external/libpng-1.6.32/Makefile.am
external/libpng-1.6.32/Makefile.in
external/libpng-1.6.32/README
external/libpng-1.6.32/TODO
external/libpng-1.6.32/aclocal.m4
external/libpng-1.6.32/arm/arm_init.c
external/libpng-1.6.32/arm/filter_neon.S
external/libpng-1.6.32/arm/filter_neon_intrinsics.c
external/libpng-1.6.32/autogen.sh
external/libpng-1.6.32/compile
external/libpng-1.6.32/config.guess
external/libpng-1.6.32/config.h.in
external/libpng-1.6.32/config.sub
external/libpng-1.6.32/configure
external/libpng-1.6.32/configure.ac
external/libpng-1.6.32/contrib/README.txt
external/libpng-1.6.32/contrib/arm-neon/README
external/libpng-1.6.32/contrib/arm-neon/android-ndk.c
external/libpng-1.6.32/contrib/arm-neon/linux-auxv.c
external/libpng-1.6.32/contrib/arm-neon/linux.c
external/libpng-1.6.32/contrib/conftest/README
external/libpng-1.6.32/contrib/conftest/pngcp.dfa
external/libpng-1.6.32/contrib/conftest/read.dfa
external/libpng-1.6.32/contrib/conftest/s_read.dfa
external/libpng-1.6.32/contrib/conftest/s_write.dfa
external/libpng-1.6.32/contrib/conftest/simple.dfa
external/libpng-1.6.32/contrib/conftest/write.dfa
external/libpng-1.6.32/contrib/examples/README.txt
external/libpng-1.6.32/contrib/examples/iccfrompng.c
external/libpng-1.6.32/contrib/examples/pngpixel.c
external/libpng-1.6.32/contrib/examples/pngtopng.c
external/libpng-1.6.32/contrib/examples/simpleover.c
external/libpng-1.6.32/contrib/gregbook/COPYING
external/libpng-1.6.32/contrib/gregbook/LICENSE
external/libpng-1.6.32/contrib/gregbook/Makefile.mingw32
external/libpng-1.6.32/contrib/gregbook/Makefile.sgi
external/libpng-1.6.32/contrib/gregbook/Makefile.unx
external/libpng-1.6.32/contrib/gregbook/Makefile.w32
external/libpng-1.6.32/contrib/gregbook/README
external/libpng-1.6.32/contrib/gregbook/makevms.com
external/libpng-1.6.32/contrib/gregbook/readpng.c
external/libpng-1.6.32/contrib/gregbook/readpng.h
external/libpng-1.6.32/contrib/gregbook/readpng2.c
external/libpng-1.6.32/contrib/gregbook/readpng2.h
external/libpng-1.6.32/contrib/gregbook/readppm.c
external/libpng-1.6.32/contrib/gregbook/rpng-win.c
external/libpng-1.6.32/contrib/gregbook/rpng-x.c
external/libpng-1.6.32/contrib/gregbook/rpng2-win.c
external/libpng-1.6.32/contrib/gregbook/rpng2-x.c
external/libpng-1.6.32/contrib/gregbook/toucan.png
external/libpng-1.6.32/contrib/gregbook/wpng.c
external/libpng-1.6.32/contrib/gregbook/writepng.c
external/libpng-1.6.32/contrib/gregbook/writepng.h
external/libpng-1.6.32/contrib/libtests/fakepng.c
external/libpng-1.6.32/contrib/libtests/gentests.sh
external/libpng-1.6.32/contrib/libtests/makepng.c
external/libpng-1.6.32/contrib/libtests/pngimage.c
external/libpng-1.6.32/contrib/libtests/pngstest-errors.h
external/libpng-1.6.32/contrib/libtests/pngstest.c
external/libpng-1.6.32/contrib/libtests/pngunknown.c
external/libpng-1.6.32/contrib/libtests/pngvalid.c
external/libpng-1.6.32/contrib/libtests/readpng.c
external/libpng-1.6.32/contrib/libtests/tarith.c
external/libpng-1.6.32/contrib/libtests/timepng.c
external/libpng-1.6.32/contrib/mips-msa/README
external/libpng-1.6.32/contrib/mips-msa/linux.c
external/libpng-1.6.32/contrib/oss-fuzz/README.txt
external/libpng-1.6.32/contrib/oss-fuzz/build.sh
external/libpng-1.6.32/contrib/oss-fuzz/libpng_read_fuzzer.cc
external/libpng-1.6.32/contrib/oss-fuzz/libpng_read_fuzzer.options
external/libpng-1.6.32/contrib/oss-fuzz/png.dict
external/libpng-1.6.32/contrib/pngminim/README
external/libpng-1.6.32/contrib/pngminim/decoder/README
external/libpng-1.6.32/contrib/pngminim/decoder/makefile
external/libpng-1.6.32/contrib/pngminim/decoder/pngusr.dfa
external/libpng-1.6.32/contrib/pngminim/decoder/pngusr.h
external/libpng-1.6.32/contrib/pngminim/encoder/README
external/libpng-1.6.32/contrib/pngminim/encoder/makefile
external/libpng-1.6.32/contrib/pngminim/encoder/pngusr.dfa
external/libpng-1.6.32/contrib/pngminim/encoder/pngusr.h
external/libpng-1.6.32/contrib/pngminim/preader/README
external/libpng-1.6.32/contrib/pngminim/preader/makefile
external/libpng-1.6.32/contrib/pngminim/preader/pngusr.dfa
external/libpng-1.6.32/contrib/pngminim/preader/pngusr.h
external/libpng-1.6.32/contrib/pngminus/README
external/libpng-1.6.32/contrib/pngminus/makefile.std
external/libpng-1.6.32/contrib/pngminus/makefile.tc3
external/libpng-1.6.32/contrib/pngminus/makevms.com
external/libpng-1.6.32/contrib/pngminus/png2pnm.bat
external/libpng-1.6.32/contrib/pngminus/png2pnm.c
external/libpng-1.6.32/contrib/pngminus/png2pnm.sh
external/libpng-1.6.32/contrib/pngminus/pngminus.bat
external/libpng-1.6.32/contrib/pngminus/pngminus.sh
external/libpng-1.6.32/contrib/pngminus/pnm2png.bat
external/libpng-1.6.32/contrib/pngminus/pnm2png.c
external/libpng-1.6.32/contrib/pngminus/pnm2png.sh
external/libpng-1.6.32/contrib/pngsuite/README
external/libpng-1.6.32/contrib/pngsuite/basn0g01.png
external/libpng-1.6.32/contrib/pngsuite/basn0g02.png
external/libpng-1.6.32/contrib/pngsuite/basn0g04.png
external/libpng-1.6.32/contrib/pngsuite/basn0g08.png
external/libpng-1.6.32/contrib/pngsuite/basn0g16.png
external/libpng-1.6.32/contrib/pngsuite/basn2c08.png
external/libpng-1.6.32/contrib/pngsuite/basn2c16.png
external/libpng-1.6.32/contrib/pngsuite/basn3p01.png
external/libpng-1.6.32/contrib/pngsuite/basn3p02.png
external/libpng-1.6.32/contrib/pngsuite/basn3p04.png
external/libpng-1.6.32/contrib/pngsuite/basn3p08.png
external/libpng-1.6.32/contrib/pngsuite/basn4a08.png
external/libpng-1.6.32/contrib/pngsuite/basn4a16.png
external/libpng-1.6.32/contrib/pngsuite/basn6a08.png
external/libpng-1.6.32/contrib/pngsuite/basn6a16.png
external/libpng-1.6.32/contrib/pngsuite/ftbbn0g01.png
external/libpng-1.6.32/contrib/pngsuite/ftbbn0g02.png
external/libpng-1.6.32/contrib/pngsuite/ftbbn0g04.png
external/libpng-1.6.32/contrib/pngsuite/ftbbn2c16.png
external/libpng-1.6.32/contrib/pngsuite/ftbbn3p08.png
external/libpng-1.6.32/contrib/pngsuite/ftbgn2c16.png
external/libpng-1.6.32/contrib/pngsuite/ftbgn3p08.png
external/libpng-1.6.32/contrib/pngsuite/ftbrn2c08.png
external/libpng-1.6.32/contrib/pngsuite/ftbwn0g16.png
external/libpng-1.6.32/contrib/pngsuite/ftbwn3p08.png
external/libpng-1.6.32/contrib/pngsuite/ftbyn3p08.png
external/libpng-1.6.32/contrib/pngsuite/ftp0n0g08.png
external/libpng-1.6.32/contrib/pngsuite/ftp0n2c08.png
external/libpng-1.6.32/contrib/pngsuite/ftp0n3p08.png
external/libpng-1.6.32/contrib/pngsuite/ftp1n3p08.png
external/libpng-1.6.32/contrib/powerpc-vsx/README
external/libpng-1.6.32/contrib/powerpc-vsx/linux.c
external/libpng-1.6.32/contrib/powerpc-vsx/linux_aux.c
external/libpng-1.6.32/contrib/testpngs/crashers/bad_iCCP.png
external/libpng-1.6.32/contrib/testpngs/crashers/badadler.png
external/libpng-1.6.32/contrib/testpngs/crashers/badcrc.png
external/libpng-1.6.32/contrib/testpngs/crashers/empty_ancillary_chunks.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_IDAT.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_bKGD_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_cHRM_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_eXIf_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_gAMA_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_hIST_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_iCCP_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_iTXt_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_pCAL_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_pHYs_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_sCAL_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_sPLT_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_sRGB_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_sTER_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_tEXt_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_tIME_chunk.png
external/libpng-1.6.32/contrib/testpngs/crashers/huge_zTXt_chunk.png
external/libpng-1.6.32/contrib/testpngs/gray-1-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-1-1.8.png
external/libpng-1.6.32/contrib/testpngs/gray-1-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-1-linear.png
external/libpng-1.6.32/contrib/testpngs/gray-1-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-1-sRGB.png
external/libpng-1.6.32/contrib/testpngs/gray-1-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-1.png
external/libpng-1.6.32/contrib/testpngs/gray-16-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-16-1.8.png
external/libpng-1.6.32/contrib/testpngs/gray-16-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-16-linear.png
external/libpng-1.6.32/contrib/testpngs/gray-16-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-16-sRGB.png
external/libpng-1.6.32/contrib/testpngs/gray-16-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-16.png
external/libpng-1.6.32/contrib/testpngs/gray-2-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-2-1.8.png
external/libpng-1.6.32/contrib/testpngs/gray-2-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-2-linear.png
external/libpng-1.6.32/contrib/testpngs/gray-2-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-2-sRGB.png
external/libpng-1.6.32/contrib/testpngs/gray-2-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-2.png
external/libpng-1.6.32/contrib/testpngs/gray-4-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-4-1.8.png
external/libpng-1.6.32/contrib/testpngs/gray-4-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-4-linear.png
external/libpng-1.6.32/contrib/testpngs/gray-4-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-4-sRGB.png
external/libpng-1.6.32/contrib/testpngs/gray-4-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-4.png
external/libpng-1.6.32/contrib/testpngs/gray-8-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-8-1.8.png
external/libpng-1.6.32/contrib/testpngs/gray-8-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-8-linear.png
external/libpng-1.6.32/contrib/testpngs/gray-8-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-8-sRGB.png
external/libpng-1.6.32/contrib/testpngs/gray-8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/gray-8.png
external/libpng-1.6.32/contrib/testpngs/gray-alpha-16-1.8.png
external/libpng-1.6.32/contrib/testpngs/gray-alpha-16-linear.png
external/libpng-1.6.32/contrib/testpngs/gray-alpha-16-sRGB.png
external/libpng-1.6.32/contrib/testpngs/gray-alpha-16.png
external/libpng-1.6.32/contrib/testpngs/gray-alpha-8-1.8.png
external/libpng-1.6.32/contrib/testpngs/gray-alpha-8-linear.png
external/libpng-1.6.32/contrib/testpngs/gray-alpha-8-sRGB.png
external/libpng-1.6.32/contrib/testpngs/gray-alpha-8.png
external/libpng-1.6.32/contrib/testpngs/makepngs.sh
external/libpng-1.6.32/contrib/testpngs/palette-1-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-1-1.8.png
external/libpng-1.6.32/contrib/testpngs/palette-1-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-1-linear.png
external/libpng-1.6.32/contrib/testpngs/palette-1-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-1-sRGB.png
external/libpng-1.6.32/contrib/testpngs/palette-1-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-1.png
external/libpng-1.6.32/contrib/testpngs/palette-2-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-2-1.8.png
external/libpng-1.6.32/contrib/testpngs/palette-2-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-2-linear.png
external/libpng-1.6.32/contrib/testpngs/palette-2-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-2-sRGB.png
external/libpng-1.6.32/contrib/testpngs/palette-2-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-2.png
external/libpng-1.6.32/contrib/testpngs/palette-4-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-4-1.8.png
external/libpng-1.6.32/contrib/testpngs/palette-4-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-4-linear.png
external/libpng-1.6.32/contrib/testpngs/palette-4-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-4-sRGB.png
external/libpng-1.6.32/contrib/testpngs/palette-4-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-4.png
external/libpng-1.6.32/contrib/testpngs/palette-8-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-8-1.8.png
external/libpng-1.6.32/contrib/testpngs/palette-8-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-8-linear.png
external/libpng-1.6.32/contrib/testpngs/palette-8-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-8-sRGB.png
external/libpng-1.6.32/contrib/testpngs/palette-8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/palette-8.png
external/libpng-1.6.32/contrib/testpngs/rgb-16-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/rgb-16-1.8.png
external/libpng-1.6.32/contrib/testpngs/rgb-16-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/rgb-16-linear.png
external/libpng-1.6.32/contrib/testpngs/rgb-16-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/rgb-16-sRGB.png
external/libpng-1.6.32/contrib/testpngs/rgb-16-tRNS.png
external/libpng-1.6.32/contrib/testpngs/rgb-16.png
external/libpng-1.6.32/contrib/testpngs/rgb-8-1.8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/rgb-8-1.8.png
external/libpng-1.6.32/contrib/testpngs/rgb-8-linear-tRNS.png
external/libpng-1.6.32/contrib/testpngs/rgb-8-linear.png
external/libpng-1.6.32/contrib/testpngs/rgb-8-sRGB-tRNS.png
external/libpng-1.6.32/contrib/testpngs/rgb-8-sRGB.png
external/libpng-1.6.32/contrib/testpngs/rgb-8-tRNS.png
external/libpng-1.6.32/contrib/testpngs/rgb-8.png
external/libpng-1.6.32/contrib/testpngs/rgb-alpha-16-1.8.png
external/libpng-1.6.32/contrib/testpngs/rgb-alpha-16-linear.png
external/libpng-1.6.32/contrib/testpngs/rgb-alpha-16-sRGB.png
external/libpng-1.6.32/contrib/testpngs/rgb-alpha-16.png
external/libpng-1.6.32/contrib/testpngs/rgb-alpha-8-1.8.png
external/libpng-1.6.32/contrib/testpngs/rgb-alpha-8-linear.png
external/libpng-1.6.32/contrib/testpngs/rgb-alpha-8-sRGB.png
external/libpng-1.6.32/contrib/testpngs/rgb-alpha-8.png
external/libpng-1.6.32/contrib/tools/README.txt
external/libpng-1.6.32/contrib/tools/checksum-icc.c
external/libpng-1.6.32/contrib/tools/chkfmt
external/libpng-1.6.32/contrib/tools/cvtcolor.c
external/libpng-1.6.32/contrib/tools/genpng.c
external/libpng-1.6.32/contrib/tools/intgamma.sh
external/libpng-1.6.32/contrib/tools/makesRGB.c
external/libpng-1.6.32/contrib/tools/png-fix-itxt.c
external/libpng-1.6.32/contrib/tools/pngcp.c
external/libpng-1.6.32/contrib/tools/pngfix.c
external/libpng-1.6.32/contrib/tools/reindent
external/libpng-1.6.32/contrib/tools/sRGB.h
external/libpng-1.6.32/contrib/visupng/PngFile.c
external/libpng-1.6.32/contrib/visupng/PngFile.h
external/libpng-1.6.32/contrib/visupng/README.txt
external/libpng-1.6.32/contrib/visupng/VisualPng.c
external/libpng-1.6.32/contrib/visupng/VisualPng.dsp
external/libpng-1.6.32/contrib/visupng/VisualPng.dsw
external/libpng-1.6.32/contrib/visupng/VisualPng.ico
external/libpng-1.6.32/contrib/visupng/VisualPng.png
external/libpng-1.6.32/contrib/visupng/VisualPng.rc
external/libpng-1.6.32/contrib/visupng/cexcept.h
external/libpng-1.6.32/contrib/visupng/resource.h
external/libpng-1.6.32/depcomp
external/libpng-1.6.32/example.c
external/libpng-1.6.32/install-sh
external/libpng-1.6.32/intel/filter_sse2_intrinsics.c
external/libpng-1.6.32/intel/intel_init.c
external/libpng-1.6.32/libpng-config.in
external/libpng-1.6.32/libpng-manual.txt
external/libpng-1.6.32/libpng.3
external/libpng-1.6.32/libpng.pc.in
external/libpng-1.6.32/libpngpf.3
external/libpng-1.6.32/ltmain.sh
external/libpng-1.6.32/mips/filter_msa_intrinsics.c
external/libpng-1.6.32/mips/mips_init.c
external/libpng-1.6.32/missing
external/libpng-1.6.32/png.5
external/libpng-1.6.32/png.c
external/libpng-1.6.32/png.h
external/libpng-1.6.32/pngbar.jpg
external/libpng-1.6.32/pngbar.png
external/libpng-1.6.32/pngconf.h
external/libpng-1.6.32/pngdebug.h
external/libpng-1.6.32/pngerror.c
external/libpng-1.6.32/pngget.c
external/libpng-1.6.32/pnginfo.h
external/libpng-1.6.32/pnglibconf.h
external/libpng-1.6.32/pngmem.c
external/libpng-1.6.32/pngnow.png
external/libpng-1.6.32/pngpread.c
external/libpng-1.6.32/pngpriv.h
external/libpng-1.6.32/pngread.c
external/libpng-1.6.32/pngrio.c
external/libpng-1.6.32/pngrtran.c
external/libpng-1.6.32/pngrutil.c
external/libpng-1.6.32/pngset.c
external/libpng-1.6.32/pngstruct.h
external/libpng-1.6.32/pngtest.c
external/libpng-1.6.32/pngtest.png
external/libpng-1.6.32/pngtrans.c
external/libpng-1.6.32/pngusr.dfa
external/libpng-1.6.32/pngwio.c
external/libpng-1.6.32/pngwrite.c
external/libpng-1.6.32/pngwtran.c
external/libpng-1.6.32/pngwutil.c
external/libpng-1.6.32/powerpc/filter_vsx_intrinsics.c
external/libpng-1.6.32/powerpc/powerpc_init.c
external/libpng-1.6.32/projects/owatcom/libpng.tgt
external/libpng-1.6.32/projects/owatcom/libpng.wpj
external/libpng-1.6.32/projects/owatcom/pngconfig.mak
external/libpng-1.6.32/projects/owatcom/pngstest.tgt
external/libpng-1.6.32/projects/owatcom/pngtest.tgt
external/libpng-1.6.32/projects/owatcom/pngvalid.tgt
external/libpng-1.6.32/projects/visualc71/PRJ0041.mak
external/libpng-1.6.32/projects/visualc71/README.txt
external/libpng-1.6.32/projects/visualc71/README_zlib.txt
external/libpng-1.6.32/projects/visualc71/libpng.sln
external/libpng-1.6.32/projects/visualc71/libpng.vcproj
external/libpng-1.6.32/projects/visualc71/pngtest.vcproj
external/libpng-1.6.32/projects/visualc71/zlib.vcproj
external/libpng-1.6.32/projects/vstudio/README.txt
external/libpng-1.6.32/projects/vstudio/libpng/libpng.vcxproj
external/libpng-1.6.32/projects/vstudio/pnglibconf/pnglibconf.vcxproj
external/libpng-1.6.32/projects/vstudio/pngstest/pngstest.vcxproj
external/libpng-1.6.32/projects/vstudio/pngtest/pngtest.vcxproj
external/libpng-1.6.32/projects/vstudio/pngunknown/pngunknown.vcxproj
external/libpng-1.6.32/projects/vstudio/pngvalid/pngvalid.vcxproj
external/libpng-1.6.32/projects/vstudio/vstudio.sln
external/libpng-1.6.32/projects/vstudio/zlib.props
external/libpng-1.6.32/projects/vstudio/zlib/zlib.vcxproj
external/libpng-1.6.32/scripts/README.txt
external/libpng-1.6.32/scripts/SCOPTIONS.ppc
external/libpng-1.6.32/scripts/checksym.awk
external/libpng-1.6.32/scripts/def.c
external/libpng-1.6.32/scripts/descrip.mms
external/libpng-1.6.32/scripts/dfn.awk
external/libpng-1.6.32/scripts/genchk.cmake.in
external/libpng-1.6.32/scripts/genout.cmake.in
external/libpng-1.6.32/scripts/gensrc.cmake.in
external/libpng-1.6.32/scripts/intprefix.c
external/libpng-1.6.32/scripts/libpng-config-body.in
external/libpng-1.6.32/scripts/libpng-config-head.in
external/libpng-1.6.32/scripts/libpng.pc.in
external/libpng-1.6.32/scripts/libtool.m4
external/libpng-1.6.32/scripts/ltoptions.m4
external/libpng-1.6.32/scripts/ltsugar.m4
external/libpng-1.6.32/scripts/ltversion.m4
external/libpng-1.6.32/scripts/lt~obsolete.m4
external/libpng-1.6.32/scripts/macro.lst
external/libpng-1.6.32/scripts/makefile.32sunu
external/libpng-1.6.32/scripts/makefile.64sunu
external/libpng-1.6.32/scripts/makefile.acorn
external/libpng-1.6.32/scripts/makefile.aix
external/libpng-1.6.32/scripts/makefile.amiga
external/libpng-1.6.32/scripts/makefile.atari
external/libpng-1.6.32/scripts/makefile.bc32
external/libpng-1.6.32/scripts/makefile.beos
external/libpng-1.6.32/scripts/makefile.bor
external/libpng-1.6.32/scripts/makefile.cegcc
external/libpng-1.6.32/scripts/makefile.darwin
external/libpng-1.6.32/scripts/makefile.dec
external/libpng-1.6.32/scripts/makefile.dj2
external/libpng-1.6.32/scripts/makefile.freebsd
external/libpng-1.6.32/scripts/makefile.gcc
external/libpng-1.6.32/scripts/makefile.hp64
external/libpng-1.6.32/scripts/makefile.hpgcc
external/libpng-1.6.32/scripts/makefile.hpux
external/libpng-1.6.32/scripts/makefile.ibmc
external/libpng-1.6.32/scripts/makefile.intel
external/libpng-1.6.32/scripts/makefile.knr
external/libpng-1.6.32/scripts/makefile.linux
external/libpng-1.6.32/scripts/makefile.linux-opt
external/libpng-1.6.32/scripts/makefile.mips
external/libpng-1.6.32/scripts/makefile.msc
external/libpng-1.6.32/scripts/makefile.msys
external/libpng-1.6.32/scripts/makefile.ne12bsd
external/libpng-1.6.32/scripts/makefile.netbsd
external/libpng-1.6.32/scripts/makefile.openbsd
external/libpng-1.6.32/scripts/makefile.sco
external/libpng-1.6.32/scripts/makefile.sggcc
external/libpng-1.6.32/scripts/makefile.sgi
external/libpng-1.6.32/scripts/makefile.so9
external/libpng-1.6.32/scripts/makefile.solaris
external/libpng-1.6.32/scripts/makefile.solaris-x86
external/libpng-1.6.32/scripts/makefile.std
external/libpng-1.6.32/scripts/makefile.sunos
external/libpng-1.6.32/scripts/makefile.tc3
external/libpng-1.6.32/scripts/makefile.vcwin32
external/libpng-1.6.32/scripts/makevms.com
external/libpng-1.6.32/scripts/options.awk
external/libpng-1.6.32/scripts/pnglibconf.dfa
external/libpng-1.6.32/scripts/pnglibconf.h.prebuilt
external/libpng-1.6.32/scripts/pnglibconf.mak
external/libpng-1.6.32/scripts/pngwin.rc
external/libpng-1.6.32/scripts/prefix.c
external/libpng-1.6.32/scripts/smakefile.ppc
external/libpng-1.6.32/scripts/sym.c
external/libpng-1.6.32/scripts/symbols.c
external/libpng-1.6.32/scripts/symbols.def
external/libpng-1.6.32/scripts/test.cmake.in
external/libpng-1.6.32/scripts/vers.c
external/libpng-1.6.32/test-driver
external/libpng-1.6.32/tests/pngimage-full
external/libpng-1.6.32/tests/pngimage-quick
external/libpng-1.6.32/tests/pngstest
external/libpng-1.6.32/tests/pngstest-1.8
external/libpng-1.6.32/tests/pngstest-1.8-alpha
external/libpng-1.6.32/tests/pngstest-linear
external/libpng-1.6.32/tests/pngstest-linear-alpha
external/libpng-1.6.32/tests/pngstest-none
external/libpng-1.6.32/tests/pngstest-none-alpha
external/libpng-1.6.32/tests/pngstest-sRGB
external/libpng-1.6.32/tests/pngstest-sRGB-alpha
external/libpng-1.6.32/tests/pngtest
external/libpng-1.6.32/tests/pngtest-badpngs
external/libpng-1.6.32/tests/pngunknown-IDAT
external/libpng-1.6.32/tests/pngunknown-discard
external/libpng-1.6.32/tests/pngunknown-if-safe
external/libpng-1.6.32/tests/pngunknown-sAPI
external/libpng-1.6.32/tests/pngunknown-sTER
external/libpng-1.6.32/tests/pngunknown-save
external/libpng-1.6.32/tests/pngunknown-vpAg
external/libpng-1.6.32/tests/pngvalid-gamma-16-to-8
external/libpng-1.6.32/tests/pngvalid-gamma-alpha-mode
external/libpng-1.6.32/tests/pngvalid-gamma-background
external/libpng-1.6.32/tests/pngvalid-gamma-expand16-alpha-mode
external/libpng-1.6.32/tests/pngvalid-gamma-expand16-background
external/libpng-1.6.32/tests/pngvalid-gamma-expand16-transform
external/libpng-1.6.32/tests/pngvalid-gamma-sbit
external/libpng-1.6.32/tests/pngvalid-gamma-threshold
external/libpng-1.6.32/tests/pngvalid-gamma-transform
external/libpng-1.6.32/tests/pngvalid-progressive-interlace-standard
external/libpng-1.6.32/tests/pngvalid-progressive-size
external/libpng-1.6.32/tests/pngvalid-progressive-standard
external/libpng-1.6.32/tests/pngvalid-standard
external/libpng-1.6.32/tests/pngvalid-transform
external/libpng-1.6.35.patch
external/libpng-1.6.35/ANNOUNCE
external/libpng-1.6.35/Android.mk
external/libpng-1.6.35/CHANGES
external/libpng-1.6.35/CMakeLists.txt
external/libpng-1.6.35/INSTALL
external/libpng-1.6.35/LICENSE
external/libpng-1.6.35/Makefile.am
external/libpng-1.6.35/Makefile.in
external/libpng-1.6.35/README
external/libpng-1.6.35/TODO
external/libpng-1.6.35/aclocal.m4
external/libpng-1.6.35/arm/arm_init.c
external/libpng-1.6.35/arm/filter_neon.S
external/libpng-1.6.35/arm/filter_neon_intrinsics.c
external/libpng-1.6.35/autogen.sh
external/libpng-1.6.35/compile
external/libpng-1.6.35/config.guess
external/libpng-1.6.35/config.h.in
external/libpng-1.6.35/config.sub
external/libpng-1.6.35/configure
external/libpng-1.6.35/configure.ac
external/libpng-1.6.35/contrib/README.txt
external/libpng-1.6.35/contrib/arm-neon/README
external/libpng-1.6.35/contrib/arm-neon/android-ndk.c
external/libpng-1.6.35/contrib/arm-neon/linux-auxv.c
external/libpng-1.6.35/contrib/arm-neon/linux.c
external/libpng-1.6.35/contrib/conftest/README
external/libpng-1.6.35/contrib/conftest/pngcp.dfa
external/libpng-1.6.35/contrib/conftest/read.dfa
external/libpng-1.6.35/contrib/conftest/s_read.dfa
external/libpng-1.6.35/contrib/conftest/s_write.dfa
external/libpng-1.6.35/contrib/conftest/simple.dfa
external/libpng-1.6.35/contrib/conftest/write.dfa
external/libpng-1.6.35/contrib/examples/README.txt
external/libpng-1.6.35/contrib/examples/iccfrompng.c
external/libpng-1.6.35/contrib/examples/pngpixel.c
external/libpng-1.6.35/contrib/examples/pngtopng.c
external/libpng-1.6.35/contrib/examples/simpleover.c
external/libpng-1.6.35/contrib/gregbook/COPYING
external/libpng-1.6.35/contrib/gregbook/LICENSE
external/libpng-1.6.35/contrib/gregbook/Makefile.mingw32
external/libpng-1.6.35/contrib/gregbook/Makefile.sgi
external/libpng-1.6.35/contrib/gregbook/Makefile.unx
external/libpng-1.6.35/contrib/gregbook/Makefile.w32
external/libpng-1.6.35/contrib/gregbook/README
external/libpng-1.6.35/contrib/gregbook/makevms.com
external/libpng-1.6.35/contrib/gregbook/readpng.c
external/libpng-1.6.35/contrib/gregbook/readpng.h
external/libpng-1.6.35/contrib/gregbook/readpng2.c
external/libpng-1.6.35/contrib/gregbook/readpng2.h
external/libpng-1.6.35/contrib/gregbook/readppm.c
external/libpng-1.6.35/contrib/gregbook/rpng-win.c
external/libpng-1.6.35/contrib/gregbook/rpng-x.c
external/libpng-1.6.35/contrib/gregbook/rpng2-win.c
external/libpng-1.6.35/contrib/gregbook/rpng2-x.c
external/libpng-1.6.35/contrib/gregbook/toucan.png
external/libpng-1.6.35/contrib/gregbook/wpng.c
external/libpng-1.6.35/contrib/gregbook/writepng.c
external/libpng-1.6.35/contrib/gregbook/writepng.h
external/libpng-1.6.35/contrib/libtests/fakepng.c
external/libpng-1.6.35/contrib/libtests/gentests.sh
external/libpng-1.6.35/contrib/libtests/makepng.c
external/libpng-1.6.35/contrib/libtests/pngimage.c
external/libpng-1.6.35/contrib/libtests/pngstest-errors.h
external/libpng-1.6.35/contrib/libtests/pngstest.c
external/libpng-1.6.35/contrib/libtests/pngunknown.c
external/libpng-1.6.35/contrib/libtests/pngvalid.c
external/libpng-1.6.35/contrib/libtests/readpng.c
external/libpng-1.6.35/contrib/libtests/tarith.c
external/libpng-1.6.35/contrib/libtests/timepng.c
external/libpng-1.6.35/contrib/mips-msa/README
external/libpng-1.6.35/contrib/mips-msa/linux.c
external/libpng-1.6.35/contrib/oss-fuzz/Dockerfile
external/libpng-1.6.35/contrib/oss-fuzz/README.txt
external/libpng-1.6.35/contrib/oss-fuzz/build.sh
external/libpng-1.6.35/contrib/oss-fuzz/libpng_read_fuzzer.cc
external/libpng-1.6.35/contrib/oss-fuzz/libpng_read_fuzzer.options
external/libpng-1.6.35/contrib/oss-fuzz/png.dict
external/libpng-1.6.35/contrib/pngminim/README
external/libpng-1.6.35/contrib/pngminim/decoder/README
external/libpng-1.6.35/contrib/pngminim/decoder/makefile
external/libpng-1.6.35/contrib/pngminim/decoder/pngusr.dfa
external/libpng-1.6.35/contrib/pngminim/decoder/pngusr.h
external/libpng-1.6.35/contrib/pngminim/encoder/README
external/libpng-1.6.35/contrib/pngminim/encoder/makefile
external/libpng-1.6.35/contrib/pngminim/encoder/pngusr.dfa
external/libpng-1.6.35/contrib/pngminim/encoder/pngusr.h
external/libpng-1.6.35/contrib/pngminim/preader/README
external/libpng-1.6.35/contrib/pngminim/preader/makefile
external/libpng-1.6.35/contrib/pngminim/preader/pngusr.dfa
external/libpng-1.6.35/contrib/pngminim/preader/pngusr.h
external/libpng-1.6.35/contrib/pngminus/README
external/libpng-1.6.35/contrib/pngminus/makefile.std
external/libpng-1.6.35/contrib/pngminus/makefile.tc3
external/libpng-1.6.35/contrib/pngminus/makevms.com
external/libpng-1.6.35/contrib/pngminus/png2pnm.bat
external/libpng-1.6.35/contrib/pngminus/png2pnm.c
external/libpng-1.6.35/contrib/pngminus/png2pnm.sh
external/libpng-1.6.35/contrib/pngminus/pngminus.bat
external/libpng-1.6.35/contrib/pngminus/pngminus.sh
external/libpng-1.6.35/contrib/pngminus/pnm2png.bat
external/libpng-1.6.35/contrib/pngminus/pnm2png.c
external/libpng-1.6.35/contrib/pngminus/pnm2png.sh
external/libpng-1.6.35/contrib/pngsuite/README
external/libpng-1.6.35/contrib/pngsuite/bad_interlace_conversions.txt
external/libpng-1.6.35/contrib/pngsuite/basn0g01.png
external/libpng-1.6.35/contrib/pngsuite/basn0g02.png
external/libpng-1.6.35/contrib/pngsuite/basn0g04.png
external/libpng-1.6.35/contrib/pngsuite/basn0g08.png
external/libpng-1.6.35/contrib/pngsuite/basn0g16.png
external/libpng-1.6.35/contrib/pngsuite/basn2c08.png
external/libpng-1.6.35/contrib/pngsuite/basn2c16.png
external/libpng-1.6.35/contrib/pngsuite/basn3p01.png
external/libpng-1.6.35/contrib/pngsuite/basn3p02.png
external/libpng-1.6.35/contrib/pngsuite/basn3p04.png
external/libpng-1.6.35/contrib/pngsuite/basn3p08.png
external/libpng-1.6.35/contrib/pngsuite/basn4a08.png
external/libpng-1.6.35/contrib/pngsuite/basn4a16.png
external/libpng-1.6.35/contrib/pngsuite/basn6a08.png
external/libpng-1.6.35/contrib/pngsuite/basn6a16.png
external/libpng-1.6.35/contrib/pngsuite/ftbbn0g01.png
external/libpng-1.6.35/contrib/pngsuite/ftbbn0g02.png
external/libpng-1.6.35/contrib/pngsuite/ftbbn0g04.png
external/libpng-1.6.35/contrib/pngsuite/ftbbn2c16.png
external/libpng-1.6.35/contrib/pngsuite/ftbbn3p08.png
external/libpng-1.6.35/contrib/pngsuite/ftbgn2c16.png
external/libpng-1.6.35/contrib/pngsuite/ftbgn3p08.png
external/libpng-1.6.35/contrib/pngsuite/ftbrn2c08.png
external/libpng-1.6.35/contrib/pngsuite/ftbwn0g16.png
external/libpng-1.6.35/contrib/pngsuite/ftbwn3p08.png
external/libpng-1.6.35/contrib/pngsuite/ftbyn3p08.png
external/libpng-1.6.35/contrib/pngsuite/ftp0n0g08.png
external/libpng-1.6.35/contrib/pngsuite/ftp0n2c08.png
external/libpng-1.6.35/contrib/pngsuite/ftp0n3p08.png
external/libpng-1.6.35/contrib/pngsuite/ftp1n3p08.png
external/libpng-1.6.35/contrib/pngsuite/ibasn0g08.png
external/libpng-1.6.35/contrib/pngsuite/ibasn0g16.png
external/libpng-1.6.35/contrib/pngsuite/ibasn2c08.png
external/libpng-1.6.35/contrib/pngsuite/ibasn2c16.png
external/libpng-1.6.35/contrib/pngsuite/ibasn3p08.png
external/libpng-1.6.35/contrib/pngsuite/ibasn4a08.png
external/libpng-1.6.35/contrib/pngsuite/ibasn4a16.png
external/libpng-1.6.35/contrib/pngsuite/ibasn6a08.png
external/libpng-1.6.35/contrib/pngsuite/ibasn6a16.png
external/libpng-1.6.35/contrib/pngsuite/iftbbn2c16.png
external/libpng-1.6.35/contrib/pngsuite/iftbbn3p08.png
external/libpng-1.6.35/contrib/pngsuite/iftbgn2c16.png
external/libpng-1.6.35/contrib/pngsuite/iftbgn3p08.png
external/libpng-1.6.35/contrib/pngsuite/iftbrn2c08.png
external/libpng-1.6.35/contrib/pngsuite/iftbwn0g16.png
external/libpng-1.6.35/contrib/pngsuite/iftbwn3p08.png
external/libpng-1.6.35/contrib/pngsuite/iftbyn3p08.png
external/libpng-1.6.35/contrib/pngsuite/iftp0n0g08.png
external/libpng-1.6.35/contrib/pngsuite/iftp0n2c08.png
external/libpng-1.6.35/contrib/pngsuite/iftp0n3p08.png
external/libpng-1.6.35/contrib/pngsuite/iftp1n3p08.png
external/libpng-1.6.35/contrib/pngsuite/interlaced/README
external/libpng-1.6.35/contrib/pngsuite/interlaced/ibasn0g01.png
external/libpng-1.6.35/contrib/pngsuite/interlaced/ibasn0g02.png
external/libpng-1.6.35/contrib/pngsuite/interlaced/ibasn0g04.png
external/libpng-1.6.35/contrib/pngsuite/interlaced/ibasn3p01.png
external/libpng-1.6.35/contrib/pngsuite/interlaced/ibasn3p02.png
external/libpng-1.6.35/contrib/pngsuite/interlaced/ibasn3p04.png
external/libpng-1.6.35/contrib/pngsuite/interlaced/iftbbn0g01.png
external/libpng-1.6.35/contrib/pngsuite/interlaced/iftbbn0g02.png
external/libpng-1.6.35/contrib/pngsuite/interlaced/iftbbn0g04.png
external/libpng-1.6.35/contrib/powerpc-vsx/README
external/libpng-1.6.35/contrib/powerpc-vsx/linux.c
external/libpng-1.6.35/contrib/powerpc-vsx/linux_aux.c
external/libpng-1.6.35/contrib/testpngs/crashers/bad_iCCP.png
external/libpng-1.6.35/contrib/testpngs/crashers/badadler.png
external/libpng-1.6.35/contrib/testpngs/crashers/badcrc.png
external/libpng-1.6.35/contrib/testpngs/crashers/empty_ancillary_chunks.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_IDAT.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_bKGD_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_cHRM_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_eXIf_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_gAMA_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_hIST_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_iCCP_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_iTXt_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_pCAL_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_pHYs_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_sCAL_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_sPLT_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_sRGB_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_sTER_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_tEXt_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_tIME_chunk.png
external/libpng-1.6.35/contrib/testpngs/crashers/huge_zTXt_chunk.png
external/libpng-1.6.35/contrib/testpngs/gray-1-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-1-1.8.png
external/libpng-1.6.35/contrib/testpngs/gray-1-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-1-linear.png
external/libpng-1.6.35/contrib/testpngs/gray-1-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-1-sRGB.png
external/libpng-1.6.35/contrib/testpngs/gray-1-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-1.png
external/libpng-1.6.35/contrib/testpngs/gray-16-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-16-1.8.png
external/libpng-1.6.35/contrib/testpngs/gray-16-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-16-linear.png
external/libpng-1.6.35/contrib/testpngs/gray-16-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-16-sRGB.png
external/libpng-1.6.35/contrib/testpngs/gray-16-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-16.png
external/libpng-1.6.35/contrib/testpngs/gray-2-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-2-1.8.png
external/libpng-1.6.35/contrib/testpngs/gray-2-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-2-linear.png
external/libpng-1.6.35/contrib/testpngs/gray-2-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-2-sRGB.png
external/libpng-1.6.35/contrib/testpngs/gray-2-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-2.png
external/libpng-1.6.35/contrib/testpngs/gray-4-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-4-1.8.png
external/libpng-1.6.35/contrib/testpngs/gray-4-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-4-linear.png
external/libpng-1.6.35/contrib/testpngs/gray-4-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-4-sRGB.png
external/libpng-1.6.35/contrib/testpngs/gray-4-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-4.png
external/libpng-1.6.35/contrib/testpngs/gray-8-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-8-1.8.png
external/libpng-1.6.35/contrib/testpngs/gray-8-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-8-linear.png
external/libpng-1.6.35/contrib/testpngs/gray-8-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-8-sRGB.png
external/libpng-1.6.35/contrib/testpngs/gray-8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/gray-8.png
external/libpng-1.6.35/contrib/testpngs/gray-alpha-16-1.8.png
external/libpng-1.6.35/contrib/testpngs/gray-alpha-16-linear.png
external/libpng-1.6.35/contrib/testpngs/gray-alpha-16-sRGB.png
external/libpng-1.6.35/contrib/testpngs/gray-alpha-16.png
external/libpng-1.6.35/contrib/testpngs/gray-alpha-8-1.8.png
external/libpng-1.6.35/contrib/testpngs/gray-alpha-8-linear.png
external/libpng-1.6.35/contrib/testpngs/gray-alpha-8-sRGB.png
external/libpng-1.6.35/contrib/testpngs/gray-alpha-8.png
external/libpng-1.6.35/contrib/testpngs/makepngs.sh
external/libpng-1.6.35/contrib/testpngs/palette-1-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-1-1.8.png
external/libpng-1.6.35/contrib/testpngs/palette-1-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-1-linear.png
external/libpng-1.6.35/contrib/testpngs/palette-1-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-1-sRGB.png
external/libpng-1.6.35/contrib/testpngs/palette-1-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-1.png
external/libpng-1.6.35/contrib/testpngs/palette-2-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-2-1.8.png
external/libpng-1.6.35/contrib/testpngs/palette-2-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-2-linear.png
external/libpng-1.6.35/contrib/testpngs/palette-2-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-2-sRGB.png
external/libpng-1.6.35/contrib/testpngs/palette-2-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-2.png
external/libpng-1.6.35/contrib/testpngs/palette-4-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-4-1.8.png
external/libpng-1.6.35/contrib/testpngs/palette-4-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-4-linear.png
external/libpng-1.6.35/contrib/testpngs/palette-4-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-4-sRGB.png
external/libpng-1.6.35/contrib/testpngs/palette-4-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-4.png
external/libpng-1.6.35/contrib/testpngs/palette-8-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-8-1.8.png
external/libpng-1.6.35/contrib/testpngs/palette-8-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-8-linear.png
external/libpng-1.6.35/contrib/testpngs/palette-8-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-8-sRGB.png
external/libpng-1.6.35/contrib/testpngs/palette-8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/palette-8.png
external/libpng-1.6.35/contrib/testpngs/rgb-16-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/rgb-16-1.8.png
external/libpng-1.6.35/contrib/testpngs/rgb-16-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/rgb-16-linear.png
external/libpng-1.6.35/contrib/testpngs/rgb-16-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/rgb-16-sRGB.png
external/libpng-1.6.35/contrib/testpngs/rgb-16-tRNS.png
external/libpng-1.6.35/contrib/testpngs/rgb-16.png
external/libpng-1.6.35/contrib/testpngs/rgb-8-1.8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/rgb-8-1.8.png
external/libpng-1.6.35/contrib/testpngs/rgb-8-linear-tRNS.png
external/libpng-1.6.35/contrib/testpngs/rgb-8-linear.png
external/libpng-1.6.35/contrib/testpngs/rgb-8-sRGB-tRNS.png
external/libpng-1.6.35/contrib/testpngs/rgb-8-sRGB.png
external/libpng-1.6.35/contrib/testpngs/rgb-8-tRNS.png
external/libpng-1.6.35/contrib/testpngs/rgb-8.png
external/libpng-1.6.35/contrib/testpngs/rgb-alpha-16-1.8.png
external/libpng-1.6.35/contrib/testpngs/rgb-alpha-16-linear.png
external/libpng-1.6.35/contrib/testpngs/rgb-alpha-16-sRGB.png
external/libpng-1.6.35/contrib/testpngs/rgb-alpha-16.png
external/libpng-1.6.35/contrib/testpngs/rgb-alpha-8-1.8.png
external/libpng-1.6.35/contrib/testpngs/rgb-alpha-8-linear.png
external/libpng-1.6.35/contrib/testpngs/rgb-alpha-8-sRGB.png
external/libpng-1.6.35/contrib/testpngs/rgb-alpha-8.png
external/libpng-1.6.35/contrib/tools/README.txt
external/libpng-1.6.35/contrib/tools/checksum-icc.c
external/libpng-1.6.35/contrib/tools/chkfmt
external/libpng-1.6.35/contrib/tools/cvtcolor.c
external/libpng-1.6.35/contrib/tools/genpng.c
external/libpng-1.6.35/contrib/tools/intgamma.sh
external/libpng-1.6.35/contrib/tools/makesRGB.c
external/libpng-1.6.35/contrib/tools/png-fix-itxt.c
external/libpng-1.6.35/contrib/tools/pngcp.c
external/libpng-1.6.35/contrib/tools/pngfix.c
external/libpng-1.6.35/contrib/tools/reindent
external/libpng-1.6.35/contrib/tools/sRGB.h
external/libpng-1.6.35/contrib/visupng/PngFile.c
external/libpng-1.6.35/contrib/visupng/PngFile.h
external/libpng-1.6.35/contrib/visupng/README.txt
external/libpng-1.6.35/contrib/visupng/VisualPng.c
external/libpng-1.6.35/contrib/visupng/VisualPng.dsp
external/libpng-1.6.35/contrib/visupng/VisualPng.dsw
external/libpng-1.6.35/contrib/visupng/VisualPng.ico
external/libpng-1.6.35/contrib/visupng/VisualPng.png
external/libpng-1.6.35/contrib/visupng/VisualPng.rc
external/libpng-1.6.35/contrib/visupng/cexcept.h
external/libpng-1.6.35/contrib/visupng/resource.h
external/libpng-1.6.35/depcomp
external/libpng-1.6.35/example.c
external/libpng-1.6.35/install-sh
external/libpng-1.6.35/intel/filter_sse2_intrinsics.c
external/libpng-1.6.35/intel/intel_init.c
external/libpng-1.6.35/libpng-config.in
external/libpng-1.6.35/libpng-manual.txt
external/libpng-1.6.35/libpng.3
external/libpng-1.6.35/libpng.pc.in
external/libpng-1.6.35/libpngpf.3
external/libpng-1.6.35/ltmain.sh
external/libpng-1.6.35/mips/filter_msa_intrinsics.c
external/libpng-1.6.35/mips/mips_init.c
external/libpng-1.6.35/missing
external/libpng-1.6.35/png.5
external/libpng-1.6.35/png.c
external/libpng-1.6.35/png.h
external/libpng-1.6.35/pngbar.jpg
external/libpng-1.6.35/pngbar.png
external/libpng-1.6.35/pngconf.h
external/libpng-1.6.35/pngdebug.h
external/libpng-1.6.35/pngerror.c
external/libpng-1.6.35/pngget.c
external/libpng-1.6.35/pnginfo.h
external/libpng-1.6.35/pnglibconf.h
external/libpng-1.6.35/pngmem.c
external/libpng-1.6.35/pngnow.png
external/libpng-1.6.35/pngpread.c
external/libpng-1.6.35/pngpriv.h
external/libpng-1.6.35/pngread.c
external/libpng-1.6.35/pngrio.c
external/libpng-1.6.35/pngrtran.c
external/libpng-1.6.35/pngrutil.c
external/libpng-1.6.35/pngset.c
external/libpng-1.6.35/pngstruct.h
external/libpng-1.6.35/pngtest.c
external/libpng-1.6.35/pngtest.png
external/libpng-1.6.35/pngtrans.c
external/libpng-1.6.35/pngusr.dfa
external/libpng-1.6.35/pngwio.c
external/libpng-1.6.35/pngwrite.c
external/libpng-1.6.35/pngwtran.c
external/libpng-1.6.35/pngwutil.c
external/libpng-1.6.35/powerpc/filter_vsx_intrinsics.c
external/libpng-1.6.35/powerpc/powerpc_init.c
external/libpng-1.6.35/projects/owatcom/libpng.tgt
external/libpng-1.6.35/projects/owatcom/libpng.wpj
external/libpng-1.6.35/projects/owatcom/pngconfig.mak
external/libpng-1.6.35/projects/owatcom/pngstest.tgt
external/libpng-1.6.35/projects/owatcom/pngtest.tgt
external/libpng-1.6.35/projects/owatcom/pngvalid.tgt
external/libpng-1.6.35/projects/visualc71/PRJ0041.mak
external/libpng-1.6.35/projects/visualc71/README.txt
external/libpng-1.6.35/projects/visualc71/README_zlib.txt
external/libpng-1.6.35/projects/visualc71/libpng.sln
external/libpng-1.6.35/projects/visualc71/libpng.vcproj
external/libpng-1.6.35/projects/visualc71/pngtest.vcproj
external/libpng-1.6.35/projects/visualc71/zlib.vcproj
external/libpng-1.6.35/projects/vstudio/README.txt
external/libpng-1.6.35/projects/vstudio/libpng/libpng.vcxproj
external/libpng-1.6.35/projects/vstudio/pnglibconf/pnglibconf.vcxproj
external/libpng-1.6.35/projects/vstudio/pngstest/pngstest.vcxproj
external/libpng-1.6.35/projects/vstudio/pngtest/pngtest.vcxproj
external/libpng-1.6.35/projects/vstudio/pngunknown/pngunknown.vcxproj
external/libpng-1.6.35/projects/vstudio/pngvalid/pngvalid.vcxproj
external/libpng-1.6.35/projects/vstudio/vstudio.sln
external/libpng-1.6.35/projects/vstudio/zlib.props
external/libpng-1.6.35/projects/vstudio/zlib/zlib.vcxproj
external/libpng-1.6.35/scripts/README.txt
external/libpng-1.6.35/scripts/SCOPTIONS.ppc
external/libpng-1.6.35/scripts/checksym.awk
external/libpng-1.6.35/scripts/def.c
external/libpng-1.6.35/scripts/descrip.mms
external/libpng-1.6.35/scripts/dfn.awk
external/libpng-1.6.35/scripts/genchk.cmake.in
external/libpng-1.6.35/scripts/genout.cmake.in
external/libpng-1.6.35/scripts/gensrc.cmake.in
external/libpng-1.6.35/scripts/intprefix.c
external/libpng-1.6.35/scripts/libpng-config-body.in
external/libpng-1.6.35/scripts/libpng-config-head.in
external/libpng-1.6.35/scripts/libpng.pc.in
external/libpng-1.6.35/scripts/libtool.m4
external/libpng-1.6.35/scripts/ltoptions.m4
external/libpng-1.6.35/scripts/ltsugar.m4
external/libpng-1.6.35/scripts/ltversion.m4
external/libpng-1.6.35/scripts/lt~obsolete.m4
external/libpng-1.6.35/scripts/macro.lst
external/libpng-1.6.35/scripts/makefile.32sunu
external/libpng-1.6.35/scripts/makefile.64sunu
external/libpng-1.6.35/scripts/makefile.acorn
external/libpng-1.6.35/scripts/makefile.aix
external/libpng-1.6.35/scripts/makefile.amiga
external/libpng-1.6.35/scripts/makefile.atari
external/libpng-1.6.35/scripts/makefile.bc32
external/libpng-1.6.35/scripts/makefile.beos
external/libpng-1.6.35/scripts/makefile.bor
external/libpng-1.6.35/scripts/makefile.cegcc
external/libpng-1.6.35/scripts/makefile.darwin
external/libpng-1.6.35/scripts/makefile.dec
external/libpng-1.6.35/scripts/makefile.dj2
external/libpng-1.6.35/scripts/makefile.freebsd
external/libpng-1.6.35/scripts/makefile.gcc
external/libpng-1.6.35/scripts/makefile.hp64
external/libpng-1.6.35/scripts/makefile.hpgcc
external/libpng-1.6.35/scripts/makefile.hpux
external/libpng-1.6.35/scripts/makefile.ibmc
external/libpng-1.6.35/scripts/makefile.intel
external/libpng-1.6.35/scripts/makefile.knr
external/libpng-1.6.35/scripts/makefile.linux
external/libpng-1.6.35/scripts/makefile.linux-opt
external/libpng-1.6.35/scripts/makefile.mips
external/libpng-1.6.35/scripts/makefile.msc
external/libpng-1.6.35/scripts/makefile.msys
external/libpng-1.6.35/scripts/makefile.ne12bsd
external/libpng-1.6.35/scripts/makefile.netbsd
external/libpng-1.6.35/scripts/makefile.openbsd
external/libpng-1.6.35/scripts/makefile.sco
external/libpng-1.6.35/scripts/makefile.sggcc
external/libpng-1.6.35/scripts/makefile.sgi
external/libpng-1.6.35/scripts/makefile.so9
external/libpng-1.6.35/scripts/makefile.solaris
external/libpng-1.6.35/scripts/makefile.solaris-x86
external/libpng-1.6.35/scripts/makefile.std
external/libpng-1.6.35/scripts/makefile.sunos
external/libpng-1.6.35/scripts/makefile.tc3
external/libpng-1.6.35/scripts/makefile.vcwin32
external/libpng-1.6.35/scripts/makevms.com
external/libpng-1.6.35/scripts/options.awk
external/libpng-1.6.35/scripts/pnglibconf.dfa
external/libpng-1.6.35/scripts/pnglibconf.h.prebuilt
external/libpng-1.6.35/scripts/pnglibconf.mak
external/libpng-1.6.35/scripts/pngwin.rc
external/libpng-1.6.35/scripts/prefix.c
external/libpng-1.6.35/scripts/smakefile.ppc
external/libpng-1.6.35/scripts/sym.c
external/libpng-1.6.35/scripts/symbols.c
external/libpng-1.6.35/scripts/symbols.def
external/libpng-1.6.35/scripts/test.cmake.in
external/libpng-1.6.35/scripts/vers.c
external/libpng-1.6.35/test-driver
external/libpng-1.6.35/tests/pngimage-full
external/libpng-1.6.35/tests/pngimage-quick
external/libpng-1.6.35/tests/pngstest
external/libpng-1.6.35/tests/pngstest-1.8
external/libpng-1.6.35/tests/pngstest-1.8-alpha
external/libpng-1.6.35/tests/pngstest-linear
external/libpng-1.6.35/tests/pngstest-linear-alpha
external/libpng-1.6.35/tests/pngstest-none
external/libpng-1.6.35/tests/pngstest-none-alpha
external/libpng-1.6.35/tests/pngstest-sRGB
external/libpng-1.6.35/tests/pngstest-sRGB-alpha
external/libpng-1.6.35/tests/pngtest
external/libpng-1.6.35/tests/pngtest-badpngs
external/libpng-1.6.35/tests/pngunknown-IDAT
external/libpng-1.6.35/tests/pngunknown-discard
external/libpng-1.6.35/tests/pngunknown-if-safe
external/libpng-1.6.35/tests/pngunknown-sAPI
external/libpng-1.6.35/tests/pngunknown-sTER
external/libpng-1.6.35/tests/pngunknown-save
external/libpng-1.6.35/tests/pngunknown-vpAg
external/libpng-1.6.35/tests/pngvalid-gamma-16-to-8
external/libpng-1.6.35/tests/pngvalid-gamma-alpha-mode
external/libpng-1.6.35/tests/pngvalid-gamma-background
external/libpng-1.6.35/tests/pngvalid-gamma-expand16-alpha-mode
external/libpng-1.6.35/tests/pngvalid-gamma-expand16-background
external/libpng-1.6.35/tests/pngvalid-gamma-expand16-transform
external/libpng-1.6.35/tests/pngvalid-gamma-sbit
external/libpng-1.6.35/tests/pngvalid-gamma-threshold
external/libpng-1.6.35/tests/pngvalid-gamma-transform
external/libpng-1.6.35/tests/pngvalid-progressive-interlace-standard
external/libpng-1.6.35/tests/pngvalid-progressive-size
external/libpng-1.6.35/tests/pngvalid-progressive-standard
external/libpng-1.6.35/tests/pngvalid-standard
external/libpng-1.6.35/tests/pngvalid-transform
     1.1 --- a/Android.mk	Sun Nov 04 20:20:51 2018 +0300
     1.2 +++ b/Android.mk	Sun Nov 04 22:11:11 2018 +0300
     1.3 @@ -9,7 +9,7 @@
     1.4  # Enable this if you want to support loading PNG images
     1.5  # The library path should be a relative path to this directory.
     1.6  SUPPORT_PNG ?= true
     1.7 -PNG_LIBRARY_PATH := external/libpng-1.6.32
     1.8 +PNG_LIBRARY_PATH := external/libpng-1.6.35
     1.9  
    1.10  # Enable this if you want to support loading WebP images
    1.11  # The library path should be a relative path to this directory.
     2.1 --- a/VisualC/external/include/png.h	Sun Nov 04 20:20:51 2018 +0300
     2.2 +++ b/VisualC/external/include/png.h	Sun Nov 04 22:11:11 2018 +0300
     2.3 @@ -1,9 +1,9 @@
     2.4  
     2.5  /* png.h - header file for PNG reference library
     2.6   *
     2.7 - * libpng version 1.6.32, August 24, 2017
     2.8 + * libpng version 1.6.35, July 15, 2018
     2.9   *
    2.10 - * Copyright (c) 1998-2002,2004,2006-2017 Glenn Randers-Pehrson
    2.11 + * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
    2.12   * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
    2.13   * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
    2.14   *
    2.15 @@ -12,7 +12,7 @@
    2.16   * Authors and maintainers:
    2.17   *   libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
    2.18   *   libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
    2.19 - *   libpng versions 0.97, January 1998, through 1.6.32, August 24, 2017:
    2.20 + *   libpng versions 0.97, January 1998, through 1.6.35, July 15, 2018:
    2.21   *     Glenn Randers-Pehrson.
    2.22   *   See also "Contributing Authors", below.
    2.23   */
    2.24 @@ -25,8 +25,8 @@
    2.25   *
    2.26   * This code is released under the libpng license.
    2.27   *
    2.28 - * libpng versions 1.0.7, July 1, 2000 through 1.6.32, August 24, 2017 are
    2.29 - * Copyright (c) 2000-2002, 2004, 2006-2017 Glenn Randers-Pehrson, are
    2.30 + * libpng versions 1.0.7, July 1, 2000 through 1.6.35, July 15, 2018 are
    2.31 + * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are
    2.32   * derived from libpng-1.0.6, and are distributed according to the same
    2.33   * disclaimer and license as libpng-1.0.6 with the following individuals
    2.34   * added to the list of Contributing Authors:
    2.35 @@ -209,11 +209,11 @@
    2.36   *    ...
    2.37   *    1.0.19                  10    10019  10.so.0.19[.0]
    2.38   *    ...
    2.39 - *    1.2.57                  13    10257  12.so.0.57[.0]
    2.40 + *    1.2.59                  13    10257  12.so.0.59[.0]
    2.41   *    ...
    2.42 - *    1.5.28                  15    10527  15.so.15.28[.0]
    2.43 + *    1.5.30                  15    10527  15.so.15.30[.0]
    2.44   *    ...
    2.45 - *    1.6.32                  16    10632  16.so.16.32[.0]
    2.46 + *    1.6.35                  16    10635  16.so.16.35[.0]
    2.47   *
    2.48   *    Henceforth the source version will match the shared-library major
    2.49   *    and minor numbers; the shared-library major version number will be
    2.50 @@ -241,13 +241,13 @@
    2.51   * Y2K compliance in libpng:
    2.52   * =========================
    2.53   *
    2.54 - *    August 24, 2017
    2.55 + *    July 15, 2018
    2.56   *
    2.57   *    Since the PNG Development group is an ad-hoc body, we can't make
    2.58   *    an official declaration.
    2.59   *
    2.60   *    This is your unofficial assurance that libpng from version 0.71 and
    2.61 - *    upward through 1.6.32 are Y2K compliant.  It is my belief that
    2.62 + *    upward through 1.6.35 are Y2K compliant.  It is my belief that
    2.63   *    earlier versions were also Y2K compliant.
    2.64   *
    2.65   *    Libpng only has two year fields.  One is a 2-byte unsigned integer
    2.66 @@ -309,8 +309,8 @@
    2.67   */
    2.68  
    2.69  /* Version information for png.h - this should match the version in png.c */
    2.70 -#define PNG_LIBPNG_VER_STRING "1.6.32"
    2.71 -#define PNG_HEADER_VERSION_STRING " libpng version 1.6.32 - August 24, 2017\n"
    2.72 +#define PNG_LIBPNG_VER_STRING "1.6.35"
    2.73 +#define PNG_HEADER_VERSION_STRING " libpng version 1.6.35 - July 15, 2018\n"
    2.74  
    2.75  #define PNG_LIBPNG_VER_SONUM   16
    2.76  #define PNG_LIBPNG_VER_DLLNUM  16
    2.77 @@ -318,13 +318,13 @@
    2.78  /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
    2.79  #define PNG_LIBPNG_VER_MAJOR   1
    2.80  #define PNG_LIBPNG_VER_MINOR   6
    2.81 -#define PNG_LIBPNG_VER_RELEASE 32
    2.82 +#define PNG_LIBPNG_VER_RELEASE 35
    2.83  
    2.84  /* This should match the numeric part of the final component of
    2.85   * PNG_LIBPNG_VER_STRING, omitting any leading zero:
    2.86   */
    2.87  
    2.88 -#define PNG_LIBPNG_VER_BUILD  0
    2.89 +#define PNG_LIBPNG_VER_BUILD  02
    2.90  
    2.91  /* Release Status */
    2.92  #define PNG_LIBPNG_BUILD_ALPHA    1
    2.93 @@ -349,7 +349,7 @@
    2.94   * version 1.0.0 was mis-numbered 100 instead of 10000).  From
    2.95   * version 1.0.1 it's    xxyyzz, where x=major, y=minor, z=release
    2.96   */
    2.97 -#define PNG_LIBPNG_VER 10632 /* 1.6.32 */
    2.98 +#define PNG_LIBPNG_VER 10635 /* 1.6.35 */
    2.99  
   2.100  /* Library configuration: these options cannot be changed after
   2.101   * the library has been built.
   2.102 @@ -459,7 +459,7 @@
   2.103  /* This triggers a compiler error in png.c, if png.c and png.h
   2.104   * do not agree upon the version number.
   2.105   */
   2.106 -typedef char* png_libpng_version_1_6_32;
   2.107 +typedef char* png_libpng_version_1_6_35;
   2.108  
   2.109  /* Basic control structions.  Read libpng-manual.txt or libpng.3 for more info.
   2.110   *
   2.111 @@ -600,8 +600,8 @@
   2.112     png_charp key;          /* keyword, 1-79 character description of "text" */
   2.113     png_charp text;         /* comment, may be an empty string (ie "")
   2.114                                or a NULL pointer */
   2.115 -   png_size_t text_length; /* length of the text string */
   2.116 -   png_size_t itxt_length; /* length of the itxt string */
   2.117 +   size_t text_length;     /* length of the text string */
   2.118 +   size_t itxt_length;     /* length of the itxt string */
   2.119     png_charp lang;         /* language code, 0-79 characters
   2.120                                or a NULL pointer */
   2.121     png_charp lang_key;     /* keyword translated UTF-8 string, 0 or more
   2.122 @@ -654,7 +654,7 @@
   2.123  {
   2.124     png_byte name[5]; /* Textual chunk name with '\0' terminator */
   2.125     png_byte *data;   /* Data, should not be modified on read! */
   2.126 -   png_size_t size;
   2.127 +   size_t size;
   2.128  
   2.129     /* On write 'location' must be set using the flag values listed below.
   2.130      * Notice that on read it is set by libpng however the values stored have
   2.131 @@ -679,7 +679,7 @@
   2.132  /* Maximum positive integer used in PNG is (2^31)-1 */
   2.133  #define PNG_UINT_31_MAX ((png_uint_32)0x7fffffffL)
   2.134  #define PNG_UINT_32_MAX ((png_uint_32)(-1))
   2.135 -#define PNG_SIZE_MAX ((png_size_t)(-1))
   2.136 +#define PNG_SIZE_MAX ((size_t)(-1))
   2.137  
   2.138  /* These are constants for fixed point values encoded in the
   2.139   * PNG specification manner (x100000)
   2.140 @@ -785,7 +785,7 @@
   2.141  typedef struct png_row_info_struct
   2.142  {
   2.143     png_uint_32 width;    /* width of row */
   2.144 -   png_size_t rowbytes;  /* number of bytes in row */
   2.145 +   size_t rowbytes;      /* number of bytes in row */
   2.146     png_byte color_type;  /* color type of row */
   2.147     png_byte bit_depth;   /* bit depth of row */
   2.148     png_byte channels;    /* number of channels (1, 2, 3, or 4) */
   2.149 @@ -804,7 +804,7 @@
   2.150   * expected to return the read data in the buffer.
   2.151   */
   2.152  typedef PNG_CALLBACK(void, *png_error_ptr, (png_structp, png_const_charp));
   2.153 -typedef PNG_CALLBACK(void, *png_rw_ptr, (png_structp, png_bytep, png_size_t));
   2.154 +typedef PNG_CALLBACK(void, *png_rw_ptr, (png_structp, png_bytep, size_t));
   2.155  typedef PNG_CALLBACK(void, *png_flush_ptr, (png_structp));
   2.156  typedef PNG_CALLBACK(void, *png_read_status_ptr, (png_structp, png_uint_32,
   2.157      int));
   2.158 @@ -941,8 +941,8 @@
   2.159   * signature, and non-zero otherwise.  Having num_to_check == 0 or
   2.160   * start > 7 will always fail (ie return non-zero).
   2.161   */
   2.162 -PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, png_size_t start,
   2.163 -    png_size_t num_to_check));
   2.164 +PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start,
   2.165 +    size_t num_to_check));
   2.166  
   2.167  /* Simple signature checking function.  This is the same as calling
   2.168   * png_check_sig(sig, n) := !png_sig_cmp(sig, 0, n).
   2.169 @@ -961,11 +961,11 @@
   2.170      png_error_ptr warn_fn),
   2.171      PNG_ALLOCATED);
   2.172  
   2.173 -PNG_EXPORT(6, png_size_t, png_get_compression_buffer_size,
   2.174 +PNG_EXPORT(6, size_t, png_get_compression_buffer_size,
   2.175      (png_const_structrp png_ptr));
   2.176  
   2.177  PNG_EXPORT(7, void, png_set_compression_buffer_size, (png_structrp png_ptr,
   2.178 -    png_size_t size));
   2.179 +    size_t size));
   2.180  
   2.181  /* Moved from pngconf.h in 1.4.0 and modified to ensure setjmp/longjmp
   2.182   * match up.
   2.183 @@ -1018,7 +1018,7 @@
   2.184  
   2.185  /* Write a PNG chunk - size, type, (optional) data, CRC. */
   2.186  PNG_EXPORT(14, void, png_write_chunk, (png_structrp png_ptr, png_const_bytep
   2.187 -    chunk_name, png_const_bytep data, png_size_t length));
   2.188 +    chunk_name, png_const_bytep data, size_t length));
   2.189  
   2.190  /* Write the start of a PNG chunk - length and chunk name. */
   2.191  PNG_EXPORT(15, void, png_write_chunk_start, (png_structrp png_ptr,
   2.192 @@ -1026,7 +1026,7 @@
   2.193  
   2.194  /* Write the data of a PNG chunk started with png_write_chunk_start(). */
   2.195  PNG_EXPORT(16, void, png_write_chunk_data, (png_structrp png_ptr,
   2.196 -    png_const_bytep data, png_size_t length));
   2.197 +    png_const_bytep data, size_t length));
   2.198  
   2.199  /* Finish a chunk started with png_write_chunk_start() (includes CRC). */
   2.200  PNG_EXPORT(17, void, png_write_chunk_end, (png_structrp png_ptr));
   2.201 @@ -1040,7 +1040,7 @@
   2.202   * the API will be removed in the future.
   2.203   */
   2.204  PNG_EXPORTA(19, void, png_info_init_3, (png_infopp info_ptr,
   2.205 -    png_size_t png_info_struct_size), PNG_DEPRECATED);
   2.206 +    size_t png_info_struct_size), PNG_DEPRECATED);
   2.207  
   2.208  /* Writes all the PNG information before the image. */
   2.209  PNG_EXPORT(20, void, png_write_info_before_PLTE,
   2.210 @@ -1137,7 +1137,7 @@
   2.211   * corresponding composited pixel, and the color channels are unassociated
   2.212   * (not premultiplied).  The gamma encoded color channels must be scaled
   2.213   * according to the contribution and to do this it is necessary to undo
   2.214 - * the encoding, scale the color values, perform the composition and reencode
   2.215 + * the encoding, scale the color values, perform the composition and re-encode
   2.216   * the values.  This is the 'PNG' mode.
   2.217   *
   2.218   * The alternative is to 'associate' the alpha with the color information by
   2.219 @@ -1193,7 +1193,7 @@
   2.220   *
   2.221   * png_set_alpha_mode(pp, PNG_ALPHA_PNG, PNG_GAMMA_MAC);
   2.222   *    In this case the output is assumed to be something like an sRGB conformant
   2.223 - *    display preceeded by a power-law lookup table of power 1.45.  This is how
   2.224 + *    display preceded by a power-law lookup table of power 1.45.  This is how
   2.225   *    early Mac systems behaved.
   2.226   *
   2.227   * png_set_alpha_mode(pp, PNG_ALPHA_STANDARD, PNG_GAMMA_LINEAR);
   2.228 @@ -1240,7 +1240,7 @@
   2.229   *
   2.230   * When the default gamma of PNG files doesn't match the output gamma.
   2.231   *    If you have PNG files with no gamma information png_set_alpha_mode allows
   2.232 - *    you to provide a default gamma, but it also sets the ouput gamma to the
   2.233 + *    you to provide a default gamma, but it also sets the output gamma to the
   2.234   *    matching value.  If you know your PNG files have a gamma that doesn't
   2.235   *    match the output you can take advantage of the fact that
   2.236   *    png_set_alpha_mode always sets the output gamma but only sets the PNG
   2.237 @@ -1691,7 +1691,7 @@
   2.238   *           chunk will cause an error at this point unless it is to be saved.
   2.239   * positive: The chunk was handled, libpng will ignore/discard it.
   2.240   *
   2.241 - * See "INTERACTION WTIH USER CHUNK CALLBACKS" below for important notes about
   2.242 + * See "INTERACTION WITH USER CHUNK CALLBACKS" below for important notes about
   2.243   * how this behavior will change in libpng 1.7
   2.244   */
   2.245  PNG_EXPORT(88, void, png_set_read_user_chunk_fn, (png_structrp png_ptr,
   2.246 @@ -1716,7 +1716,7 @@
   2.247  
   2.248  /* Function to be called when data becomes available */
   2.249  PNG_EXPORT(92, void, png_process_data, (png_structrp png_ptr,
   2.250 -    png_inforp info_ptr, png_bytep buffer, png_size_t buffer_size));
   2.251 +    png_inforp info_ptr, png_bytep buffer, size_t buffer_size));
   2.252  
   2.253  /* A function which may be called *only* within png_process_data to stop the
   2.254   * processing of any more data.  The function returns the number of bytes
   2.255 @@ -1725,7 +1725,7 @@
   2.256   * 'save' is set to true the routine will first save all the pending data and
   2.257   * will always return 0.
   2.258   */
   2.259 -PNG_EXPORT(219, png_size_t, png_process_data_pause, (png_structrp, int save));
   2.260 +PNG_EXPORT(219, size_t, png_process_data_pause, (png_structrp, int save));
   2.261  
   2.262  /* A function which may be called *only* outside (after) a call to
   2.263   * png_process_data.  It returns the number of bytes of data to skip in the
   2.264 @@ -1870,7 +1870,7 @@
   2.265      png_const_inforp info_ptr, png_uint_32 flag));
   2.266  
   2.267  /* Returns number of bytes needed to hold a transformed row. */
   2.268 -PNG_EXPORT(111, png_size_t, png_get_rowbytes, (png_const_structrp png_ptr,
   2.269 +PNG_EXPORT(111, size_t, png_get_rowbytes, (png_const_structrp png_ptr,
   2.270      png_const_inforp info_ptr));
   2.271  
   2.272  #ifdef PNG_INFO_IMAGE_SUPPORTED
   2.273 @@ -2239,7 +2239,7 @@
   2.274   * to specifying "NEVER", however when "AS_DEFAULT" is used for specific chunks
   2.275   * it simply resets the behavior to the libpng default.
   2.276   *
   2.277 - * INTERACTION WTIH USER CHUNK CALLBACKS:
   2.278 + * INTERACTION WITH USER CHUNK CALLBACKS:
   2.279   * The per-chunk handling is always used when there is a png_user_chunk_ptr
   2.280   * callback and the callback returns 0; the chunk is then always stored *unless*
   2.281   * it is critical and the per-chunk setting is other than ALWAYS.  Notice that
   2.282 @@ -2658,7 +2658,7 @@
   2.283   * The simplified API hides the details of both libpng and the PNG file format
   2.284   * itself.  It allows PNG files to be read into a very limited number of
   2.285   * in-memory bitmap formats or to be written from the same formats.  If these
   2.286 - * formats do not accomodate your needs then you can, and should, use the more
   2.287 + * formats do not accommodate your needs then you can, and should, use the more
   2.288   * sophisticated APIs above - these support a wide variety of in-memory formats
   2.289   * and a wide variety of sophisticated transformations to those formats as well
   2.290   * as a wide variety of APIs to manipulate ancillary information.
   2.291 @@ -2819,6 +2819,8 @@
   2.292  #  define PNG_FORMAT_FLAG_AFIRST 0x20U /* alpha channel comes first */
   2.293  #endif
   2.294  
   2.295 +#define PNG_FORMAT_FLAG_ASSOCIATED_ALPHA 0x40U /* alpha channel is associated */
   2.296 +
   2.297  /* Commonly used formats have predefined macros.
   2.298   *
   2.299   * First the single byte (sRGB) formats:
   2.300 @@ -3018,7 +3020,7 @@
   2.301  #endif /* STDIO */
   2.302  
   2.303  PNG_EXPORT(236, int, png_image_begin_read_from_memory, (png_imagep image,
   2.304 -   png_const_voidp memory, png_size_t size));
   2.305 +   png_const_voidp memory, size_t size));
   2.306     /* The PNG header is read from the given memory buffer. */
   2.307  
   2.308  PNG_EXPORT(237, int, png_image_finish_read, (png_imagep image,
   2.309 @@ -3131,7 +3133,7 @@
   2.310      * than or equal to the original value.
   2.311      *
   2.312      * If the function returns false and *memory_bytes was not changed an error
   2.313 -    * occured during write.  If *memory_bytes was changed, or is not 0 if
   2.314 +    * occurred during write.  If *memory_bytes was changed, or is not 0 if
   2.315      * 'memory' was NULL, the write would have succeeded but for the memory
   2.316      * buffer being too small.  *memory_bytes contains the required number of
   2.317      * bytes and will be bigger that the original value.
   2.318 @@ -3215,7 +3217,7 @@
   2.319   * option and 'onoff' is 0 (off) or non-0 (on).  The value returned is given
   2.320   * by the PNG_OPTION_ defines below.
   2.321   *
   2.322 - * HARDWARE: normally hardware capabilites, such as the Intel SSE instructions,
   2.323 + * HARDWARE: normally hardware capabilities, such as the Intel SSE instructions,
   2.324   *           are detected at run time, however sometimes it may be impossible
   2.325   *           to do this in user mode, in which case it is necessary to discover
   2.326   *           the capabilities in an OS specific way.  Such capabilities are
     3.1 --- a/VisualC/external/include/pngconf.h	Sun Nov 04 20:20:51 2018 +0300
     3.2 +++ b/VisualC/external/include/pngconf.h	Sun Nov 04 22:11:11 2018 +0300
     3.3 @@ -1,9 +1,9 @@
     3.4  
     3.5  /* pngconf.h - machine configurable file for libpng
     3.6   *
     3.7 - * libpng version 1.6.32, August 24, 2017
     3.8 + * libpng version 1.6.35, July 15, 2018
     3.9   *
    3.10 - * Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
    3.11 + * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
    3.12   * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
    3.13   * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
    3.14   *
    3.15 @@ -127,7 +127,7 @@
    3.16   *
    3.17   * These cases only differ if the operating system does not use the C
    3.18   * calling convention, at present this just means the above cases
    3.19 - * (x86 DOS/Windows sytems) and, even then, this does not apply to
    3.20 + * (x86 DOS/Windows systems) and, even then, this does not apply to
    3.21   * Cygwin running on those systems.
    3.22   *
    3.23   * Note that the value must be defined in pnglibconf.h so that what
    3.24 @@ -515,8 +515,10 @@
    3.25  #  error "libpng requires an unsigned 32-bit (or more) type"
    3.26  #endif
    3.27  
    3.28 -/* Prior to 1.6.0 it was possible to disable the use of size_t, 1.6.0, however,
    3.29 - * requires an ISOC90 compiler and relies on consistent behavior of sizeof.
    3.30 +/* Prior to 1.6.0, it was possible to disable the use of size_t and ptrdiff_t.
    3.31 + * From 1.6.0 onwards, an ISO C90 compiler, as well as a standard-compliant
    3.32 + * behavior of sizeof and ptrdiff_t are required.
    3.33 + * The legacy typedefs are provided here for backwards compatibility.
    3.34   */
    3.35  typedef size_t png_size_t;
    3.36  typedef ptrdiff_t png_ptrdiff_t;
    3.37 @@ -537,13 +539,12 @@
    3.38  #  endif
    3.39  #endif
    3.40  
    3.41 -/* png_alloc_size_t is guaranteed to be no smaller than png_size_t, and no
    3.42 - * smaller than png_uint_32.  Casts from png_size_t or png_uint_32 to
    3.43 - * png_alloc_size_t are not necessary; in fact, it is recommended not to use
    3.44 - * them at all so that the compiler can complain when something turns out to be
    3.45 - * problematic.
    3.46 +/* png_alloc_size_t is guaranteed to be no smaller than size_t, and no smaller
    3.47 + * than png_uint_32.  Casts from size_t or png_uint_32 to png_alloc_size_t are
    3.48 + * not necessary; in fact, it is recommended not to use them at all, so that
    3.49 + * the compiler can complain when something turns out to be problematic.
    3.50   *
    3.51 - * Casts in the other direction (from png_alloc_size_t to png_size_t or
    3.52 + * Casts in the other direction (from png_alloc_size_t to size_t or
    3.53   * png_uint_32) should be explicitly applied; however, we do not expect to
    3.54   * encounter practical situations that require such conversions.
    3.55   *
    3.56 @@ -553,7 +554,7 @@
    3.57  #ifdef PNG_SMALL_SIZE_T
    3.58     typedef png_uint_32 png_alloc_size_t;
    3.59  #else
    3.60 -   typedef png_size_t png_alloc_size_t;
    3.61 +   typedef size_t png_alloc_size_t;
    3.62  #endif
    3.63  
    3.64  /* Prior to 1.6.0 libpng offered limited support for Microsoft C compiler
    3.65 @@ -589,8 +590,8 @@
    3.66  typedef const char            * png_const_charp;
    3.67  typedef png_fixed_point       * png_fixed_point_p;
    3.68  typedef const png_fixed_point * png_const_fixed_point_p;
    3.69 -typedef png_size_t            * png_size_tp;
    3.70 -typedef const png_size_t      * png_const_size_tp;
    3.71 +typedef size_t                * png_size_tp;
    3.72 +typedef const size_t          * png_const_size_tp;
    3.73  
    3.74  #ifdef PNG_STDIO_SUPPORTED
    3.75  typedef FILE            * png_FILE_p;
     4.1 --- a/VisualC/external/include/pnglibconf.h	Sun Nov 04 20:20:51 2018 +0300
     4.2 +++ b/VisualC/external/include/pnglibconf.h	Sun Nov 04 22:11:11 2018 +0300
     4.3 @@ -1,6 +1,6 @@
     4.4  /* pnglibconf.h - library build configuration */
     4.5  
     4.6 -/* libpng version 1.6.32, August 24, 2017 */
     4.7 +/* libpng version 1.6.35, July 15, 2018 */
     4.8  
     4.9  /* Copyright (c) 1998-2017 Glenn Randers-Pehrson */
    4.10  
     5.1 --- a/VisualC/external/lib/x64/LICENSE.png.txt	Sun Nov 04 20:20:51 2018 +0300
     5.2 +++ b/VisualC/external/lib/x64/LICENSE.png.txt	Sun Nov 04 22:11:11 2018 +0300
     5.3 @@ -13,8 +13,8 @@
     5.4  
     5.5  This code is released under the libpng license.
     5.6  
     5.7 -libpng versions 1.0.7, July 1, 2000 through 1.6.32, August 24, 2017 are
     5.8 -Copyright (c) 2000-2002, 2004, 2006-2017 Glenn Randers-Pehrson, are
     5.9 +libpng versions 1.0.7, July 1, 2000 through 1.6.35, July 15, 2018 are
    5.10 +Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are
    5.11  derived from libpng-1.0.6, and are distributed according to the same
    5.12  disclaimer and license as libpng-1.0.6 with the following individuals
    5.13  added to the list of Contributing Authors:
    5.14 @@ -133,4 +133,4 @@
    5.15  
    5.16  Glenn Randers-Pehrson
    5.17  glennrp at users.sourceforge.net
    5.18 -April 1, 2017
    5.19 +July 15, 2018
     6.1 Binary file VisualC/external/lib/x64/libpng16-16.dll has changed
     7.1 --- a/VisualC/external/lib/x86/LICENSE.png.txt	Sun Nov 04 20:20:51 2018 +0300
     7.2 +++ b/VisualC/external/lib/x86/LICENSE.png.txt	Sun Nov 04 22:11:11 2018 +0300
     7.3 @@ -13,8 +13,8 @@
     7.4  
     7.5  This code is released under the libpng license.
     7.6  
     7.7 -libpng versions 1.0.7, July 1, 2000 through 1.6.32, August 24, 2017 are
     7.8 -Copyright (c) 2000-2002, 2004, 2006-2017 Glenn Randers-Pehrson, are
     7.9 +libpng versions 1.0.7, July 1, 2000 through 1.6.35, July 15, 2018 are
    7.10 +Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are
    7.11  derived from libpng-1.0.6, and are distributed according to the same
    7.12  disclaimer and license as libpng-1.0.6 with the following individuals
    7.13  added to the list of Contributing Authors:
    7.14 @@ -133,4 +133,4 @@
    7.15  
    7.16  Glenn Randers-Pehrson
    7.17  glennrp at users.sourceforge.net
    7.18 -April 1, 2017
    7.19 +July 15, 2018
     8.1 Binary file VisualC/external/lib/x86/libpng16-16.dll has changed
     9.1 --- a/external/libpng-1.6.32.patch	Sun Nov 04 20:20:51 2018 +0300
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,266 +0,0 @@
     9.4 -diff -ruN libpng-1.6.32.orig/Android.mk libpng-1.6.32/Android.mk
     9.5 ---- libpng-1.6.32.orig/Android.mk	1969-12-31 16:00:00.000000000 -0800
     9.6 -+++ libpng-1.6.32/Android.mk	2018-10-01 20:26:46.000000000 -0700
     9.7 -@@ -0,0 +1,41 @@
     9.8 -+LOCAL_PATH:= $(call my-dir)
     9.9 -+
    9.10 -+include $(CLEAR_VARS)
    9.11 -+
    9.12 -+common_SRC_FILES := \
    9.13 -+    png.c pngerror.c \
    9.14 -+	pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c pngrutil.c \
    9.15 -+	pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c pngwutil.c
    9.16 -+
    9.17 -+ifeq ($(TARGET_ARCH_ABI),armeabi)
    9.18 -+common_SRC_FILES += \
    9.19 -+	arm/arm_init.c arm/filter_neon.S arm/filter_neon_intrinsics.c
    9.20 -+endif
    9.21 -+ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
    9.22 -+common_SRC_FILES += \
    9.23 -+	arm/arm_init.c arm/filter_neon.S arm/filter_neon_intrinsics.c
    9.24 -+endif
    9.25 -+ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
    9.26 -+common_SRC_FILES += \
    9.27 -+	arm/arm_init.c arm/filter_neon.S arm/filter_neon_intrinsics.c
    9.28 -+endif
    9.29 -+
    9.30 -+common_CFLAGS := ## -fomit-frame-pointer
    9.31 -+
    9.32 -+common_C_INCLUDES += \
    9.33 -+
    9.34 -+# For the host
    9.35 -+# =====================================================
    9.36 -+
    9.37 -+LOCAL_SRC_FILES := $(common_SRC_FILES)
    9.38 -+LOCAL_CFLAGS += $(common_CFLAGS)
    9.39 -+LOCAL_C_INCLUDES += $(common_C_INCLUDES)
    9.40 -+
    9.41 -+LOCAL_MODULE:= png
    9.42 -+
    9.43 -+LOCAL_COPY_HEADERS_TO := $(common_COPY_HEADERS_TO)
    9.44 -+LOCAL_COPY_HEADERS := $(common_COPY_HEADERS)
    9.45 -+
    9.46 -+include $(BUILD_STATIC_LIBRARY)
    9.47 -+#include $(BUILD_SHARED_LIBRARY)
    9.48 -+
    9.49 -diff -ruN libpng-1.6.32.orig/pnglibconf.h libpng-1.6.32/pnglibconf.h
    9.50 ---- libpng-1.6.32.orig/pnglibconf.h	1969-12-31 16:00:00.000000000 -0800
    9.51 -+++ libpng-1.6.32/pnglibconf.h	2018-10-01 20:26:26.000000000 -0700
    9.52 -@@ -0,0 +1,217 @@
    9.53 -+/* libpng 1.6.2 STANDARD API DEFINITION */
    9.54 -+
    9.55 -+/* pnglibconf.h - library build configuration */
    9.56 -+
    9.57 -+/* Libpng version 1.6.2 - April 25, 2013 */
    9.58 -+
    9.59 -+/* Copyright (c) 1998-2013 Glenn Randers-Pehrson */
    9.60 -+
    9.61 -+/* This code is released under the libpng license. */
    9.62 -+/* For conditions of distribution and use, see the disclaimer */
    9.63 -+/* and license in png.h */
    9.64 -+
    9.65 -+/* pnglibconf.h */
    9.66 -+/* Machine generated file: DO NOT EDIT */
    9.67 -+/* Derived from: scripts/pnglibconf.dfa */
    9.68 -+#ifndef PNGLCONF_H
    9.69 -+#define PNGLCONF_H
    9.70 -+/* options */
    9.71 -+#define PNG_16BIT_SUPPORTED
    9.72 -+#define PNG_ALIGNED_MEMORY_SUPPORTED
    9.73 -+/*#undef PNG_ARM_NEON_API_SUPPORTED*/
    9.74 -+/*#undef PNG_ARM_NEON_CHECK_SUPPORTED*/
    9.75 -+/*#undef PNG_ARM_NEON_SUPPORTED*/
    9.76 -+#define PNG_BENIGN_ERRORS_SUPPORTED
    9.77 -+#define PNG_BENIGN_READ_ERRORS_SUPPORTED
    9.78 -+/*#undef PNG_BENIGN_WRITE_ERRORS_SUPPORTED*/
    9.79 -+#define PNG_BUILD_GRAYSCALE_PALETTE_SUPPORTED
    9.80 -+#define PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
    9.81 -+#define PNG_COLORSPACE_SUPPORTED
    9.82 -+#define PNG_CONSOLE_IO_SUPPORTED
    9.83 -+#define PNG_CONVERT_tIME_SUPPORTED
    9.84 -+#define PNG_EASY_ACCESS_SUPPORTED
    9.85 -+/*#undef PNG_ERROR_NUMBERS_SUPPORTED*/
    9.86 -+#define PNG_ERROR_TEXT_SUPPORTED
    9.87 -+#define PNG_FIXED_POINT_SUPPORTED
    9.88 -+#define PNG_FLOATING_ARITHMETIC_SUPPORTED
    9.89 -+#define PNG_FLOATING_POINT_SUPPORTED
    9.90 -+#define PNG_FORMAT_AFIRST_SUPPORTED
    9.91 -+#define PNG_FORMAT_BGR_SUPPORTED
    9.92 -+#define PNG_GAMMA_SUPPORTED
    9.93 -+#define PNG_GET_PALETTE_MAX_SUPPORTED
    9.94 -+#define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
    9.95 -+#define PNG_INCH_CONVERSIONS_SUPPORTED
    9.96 -+#define PNG_INFO_IMAGE_SUPPORTED
    9.97 -+#define PNG_IO_STATE_SUPPORTED
    9.98 -+#define PNG_MNG_FEATURES_SUPPORTED
    9.99 -+#define PNG_POINTER_INDEXING_SUPPORTED
   9.100 -+#define PNG_PROGRESSIVE_READ_SUPPORTED
   9.101 -+#define PNG_READ_16BIT_SUPPORTED
   9.102 -+#define PNG_READ_ALPHA_MODE_SUPPORTED
   9.103 -+#define PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
   9.104 -+#define PNG_READ_BACKGROUND_SUPPORTED
   9.105 -+#define PNG_READ_BGR_SUPPORTED
   9.106 -+#define PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED
   9.107 -+#define PNG_READ_COMPOSITE_NODIV_SUPPORTED
   9.108 -+#define PNG_READ_COMPRESSED_TEXT_SUPPORTED
   9.109 -+#define PNG_READ_EXPAND_16_SUPPORTED
   9.110 -+#define PNG_READ_EXPAND_SUPPORTED
   9.111 -+#define PNG_READ_FILLER_SUPPORTED
   9.112 -+#define PNG_READ_GAMMA_SUPPORTED
   9.113 -+#define PNG_READ_GET_PALETTE_MAX_SUPPORTED
   9.114 -+#define PNG_READ_GRAY_TO_RGB_SUPPORTED
   9.115 -+#define PNG_READ_INTERLACING_SUPPORTED
   9.116 -+#define PNG_READ_INT_FUNCTIONS_SUPPORTED
   9.117 -+#define PNG_READ_INVERT_ALPHA_SUPPORTED
   9.118 -+#define PNG_READ_INVERT_SUPPORTED
   9.119 -+#define PNG_READ_OPT_PLTE_SUPPORTED
   9.120 -+#define PNG_READ_PACKSWAP_SUPPORTED
   9.121 -+#define PNG_READ_PACK_SUPPORTED
   9.122 -+#define PNG_READ_QUANTIZE_SUPPORTED
   9.123 -+#define PNG_READ_RGB_TO_GRAY_SUPPORTED
   9.124 -+#define PNG_READ_SCALE_16_TO_8_SUPPORTED
   9.125 -+#define PNG_READ_SHIFT_SUPPORTED
   9.126 -+#define PNG_READ_STRIP_16_TO_8_SUPPORTED
   9.127 -+#define PNG_READ_STRIP_ALPHA_SUPPORTED
   9.128 -+#define PNG_READ_SUPPORTED
   9.129 -+#define PNG_READ_SWAP_ALPHA_SUPPORTED
   9.130 -+#define PNG_READ_SWAP_SUPPORTED
   9.131 -+#define PNG_READ_TEXT_SUPPORTED
   9.132 -+#define PNG_READ_TRANSFORMS_SUPPORTED
   9.133 -+#define PNG_READ_UNKNOWN_CHUNKS_SUPPORTED
   9.134 -+#define PNG_READ_USER_CHUNKS_SUPPORTED
   9.135 -+#define PNG_READ_USER_TRANSFORM_SUPPORTED
   9.136 -+#define PNG_READ_bKGD_SUPPORTED
   9.137 -+#define PNG_READ_cHRM_SUPPORTED
   9.138 -+#define PNG_READ_gAMA_SUPPORTED
   9.139 -+#define PNG_READ_hIST_SUPPORTED
   9.140 -+#define PNG_READ_iCCP_SUPPORTED
   9.141 -+#define PNG_READ_iTXt_SUPPORTED
   9.142 -+#define PNG_READ_oFFs_SUPPORTED
   9.143 -+#define PNG_READ_pCAL_SUPPORTED
   9.144 -+#define PNG_READ_pHYs_SUPPORTED
   9.145 -+#define PNG_READ_sBIT_SUPPORTED
   9.146 -+#define PNG_READ_sCAL_SUPPORTED
   9.147 -+#define PNG_READ_sPLT_SUPPORTED
   9.148 -+#define PNG_READ_sRGB_SUPPORTED
   9.149 -+#define PNG_READ_tEXt_SUPPORTED
   9.150 -+#define PNG_READ_tIME_SUPPORTED
   9.151 -+#define PNG_READ_tRNS_SUPPORTED
   9.152 -+#define PNG_READ_zTXt_SUPPORTED
   9.153 -+/*#undef PNG_SAFE_LIMITS_SUPPORTED*/
   9.154 -+#define PNG_SAVE_INT_32_SUPPORTED
   9.155 -+#define PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED
   9.156 -+#define PNG_SEQUENTIAL_READ_SUPPORTED
   9.157 -+#define PNG_SETJMP_SUPPORTED
   9.158 -+#define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED
   9.159 -+#define PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
   9.160 -+/*#undef PNG_SET_OPTION_SUPPORTED*/
   9.161 -+#define PNG_SET_UNKNOWN_CHUNKS_SUPPORTED
   9.162 -+#define PNG_SET_USER_LIMITS_SUPPORTED
   9.163 -+#define PNG_SIMPLIFIED_READ_AFIRST_SUPPORTED
   9.164 -+#define PNG_SIMPLIFIED_READ_BGR_SUPPORTED
   9.165 -+#define PNG_SIMPLIFIED_READ_SUPPORTED
   9.166 -+#define PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED
   9.167 -+#define PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED
   9.168 -+#define PNG_SIMPLIFIED_WRITE_SUPPORTED
   9.169 -+#define PNG_STDIO_SUPPORTED
   9.170 -+#define PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
   9.171 -+#define PNG_TEXT_SUPPORTED
   9.172 -+#define PNG_TIME_RFC1123_SUPPORTED
   9.173 -+#define PNG_UNKNOWN_CHUNKS_SUPPORTED
   9.174 -+#define PNG_USER_CHUNKS_SUPPORTED
   9.175 -+#define PNG_USER_LIMITS_SUPPORTED
   9.176 -+#define PNG_USER_MEM_SUPPORTED
   9.177 -+#define PNG_USER_TRANSFORM_INFO_SUPPORTED
   9.178 -+#define PNG_USER_TRANSFORM_PTR_SUPPORTED
   9.179 -+#define PNG_WARNINGS_SUPPORTED
   9.180 -+#define PNG_WRITE_16BIT_SUPPORTED
   9.181 -+#define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
   9.182 -+#define PNG_WRITE_BGR_SUPPORTED
   9.183 -+#define PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED
   9.184 -+#define PNG_WRITE_COMPRESSED_TEXT_SUPPORTED
   9.185 -+#define PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED
   9.186 -+#define PNG_WRITE_FILLER_SUPPORTED
   9.187 -+#define PNG_WRITE_FILTER_SUPPORTED
   9.188 -+#define PNG_WRITE_FLUSH_SUPPORTED
   9.189 -+#define PNG_WRITE_GET_PALETTE_MAX_SUPPORTED
   9.190 -+#define PNG_WRITE_INTERLACING_SUPPORTED
   9.191 -+#define PNG_WRITE_INT_FUNCTIONS_SUPPORTED
   9.192 -+#define PNG_WRITE_INVERT_ALPHA_SUPPORTED
   9.193 -+#define PNG_WRITE_INVERT_SUPPORTED
   9.194 -+#define PNG_WRITE_OPTIMIZE_CMF_SUPPORTED
   9.195 -+#define PNG_WRITE_PACKSWAP_SUPPORTED
   9.196 -+#define PNG_WRITE_PACK_SUPPORTED
   9.197 -+#define PNG_WRITE_SHIFT_SUPPORTED
   9.198 -+#define PNG_WRITE_SUPPORTED
   9.199 -+#define PNG_WRITE_SWAP_ALPHA_SUPPORTED
   9.200 -+#define PNG_WRITE_SWAP_SUPPORTED
   9.201 -+#define PNG_WRITE_TEXT_SUPPORTED
   9.202 -+#define PNG_WRITE_TRANSFORMS_SUPPORTED
   9.203 -+#define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
   9.204 -+#define PNG_WRITE_USER_TRANSFORM_SUPPORTED
   9.205 -+#define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
   9.206 -+#define PNG_WRITE_bKGD_SUPPORTED
   9.207 -+#define PNG_WRITE_cHRM_SUPPORTED
   9.208 -+#define PNG_WRITE_gAMA_SUPPORTED
   9.209 -+#define PNG_WRITE_hIST_SUPPORTED
   9.210 -+#define PNG_WRITE_iCCP_SUPPORTED
   9.211 -+#define PNG_WRITE_iTXt_SUPPORTED
   9.212 -+#define PNG_WRITE_oFFs_SUPPORTED
   9.213 -+#define PNG_WRITE_pCAL_SUPPORTED
   9.214 -+#define PNG_WRITE_pHYs_SUPPORTED
   9.215 -+#define PNG_WRITE_sBIT_SUPPORTED
   9.216 -+#define PNG_WRITE_sCAL_SUPPORTED
   9.217 -+#define PNG_WRITE_sPLT_SUPPORTED
   9.218 -+#define PNG_WRITE_sRGB_SUPPORTED
   9.219 -+#define PNG_WRITE_tEXt_SUPPORTED
   9.220 -+#define PNG_WRITE_tIME_SUPPORTED
   9.221 -+#define PNG_WRITE_tRNS_SUPPORTED
   9.222 -+#define PNG_WRITE_zTXt_SUPPORTED
   9.223 -+#define PNG_bKGD_SUPPORTED
   9.224 -+#define PNG_cHRM_SUPPORTED
   9.225 -+#define PNG_gAMA_SUPPORTED
   9.226 -+#define PNG_hIST_SUPPORTED
   9.227 -+#define PNG_iCCP_SUPPORTED
   9.228 -+#define PNG_iTXt_SUPPORTED
   9.229 -+#define PNG_oFFs_SUPPORTED
   9.230 -+#define PNG_pCAL_SUPPORTED
   9.231 -+#define PNG_pHYs_SUPPORTED
   9.232 -+#define PNG_sBIT_SUPPORTED
   9.233 -+#define PNG_sCAL_SUPPORTED
   9.234 -+#define PNG_sPLT_SUPPORTED
   9.235 -+#define PNG_sRGB_SUPPORTED
   9.236 -+#define PNG_tEXt_SUPPORTED
   9.237 -+#define PNG_tIME_SUPPORTED
   9.238 -+#define PNG_tRNS_SUPPORTED
   9.239 -+#define PNG_zTXt_SUPPORTED
   9.240 -+/* end of options */
   9.241 -+/* settings */
   9.242 -+#define PNG_API_RULE 0
   9.243 -+#define PNG_CALLOC_SUPPORTED
   9.244 -+#define PNG_COST_SHIFT 3
   9.245 -+#define PNG_DEFAULT_READ_MACROS 1
   9.246 -+#define PNG_GAMMA_THRESHOLD_FIXED 5000
   9.247 -+#define PNG_IDAT_READ_SIZE PNG_ZBUF_SIZE
   9.248 -+#define PNG_INFLATE_BUF_SIZE 1024
   9.249 -+#define PNG_LINKAGE_API extern
   9.250 -+#define PNG_LINKAGE_CALLBACK extern
   9.251 -+#define PNG_LINKAGE_DATA extern
   9.252 -+#define PNG_LINKAGE_FUNCTION extern
   9.253 -+#define PNG_MAX_GAMMA_8 11
   9.254 -+#define PNG_QUANTIZE_BLUE_BITS 5
   9.255 -+#define PNG_QUANTIZE_GREEN_BITS 5
   9.256 -+#define PNG_QUANTIZE_RED_BITS 5
   9.257 -+#define PNG_TEXT_Z_DEFAULT_COMPRESSION (-1)
   9.258 -+#define PNG_TEXT_Z_DEFAULT_STRATEGY 0
   9.259 -+#define PNG_USER_HEIGHT_MAX 1000000
   9.260 -+#define PNG_USER_WIDTH_MAX 1000000
   9.261 -+#define PNG_WEIGHT_SHIFT 8
   9.262 -+#define PNG_ZBUF_SIZE 8192
   9.263 -+#define PNG_Z_DEFAULT_COMPRESSION (-1)
   9.264 -+#define PNG_Z_DEFAULT_NOFILTER_STRATEGY 0
   9.265 -+#define PNG_Z_DEFAULT_STRATEGY 1
   9.266 -+#define PNG_sCAL_PRECISION 5
   9.267 -+#define PNG_sRGB_PROFILE_CHECKS 2
   9.268 -+/* end of settings */
   9.269 -+#endif /* PNGLCONF_H */
    10.1 --- a/external/libpng-1.6.32/ANNOUNCE	Sun Nov 04 20:20:51 2018 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,90 +0,0 @@
    10.4 -Libpng 1.6.32 - August 24, 2017
    10.5 -
    10.6 -This is a public release of libpng, intended for use in production codes.
    10.7 -
    10.8 -Files available for download:
    10.9 -
   10.10 -Source files with LF line endings (for Unix/Linux) and with a
   10.11 -"configure" script
   10.12 -
   10.13 -   libpng-1.6.32.tar.xz (LZMA-compressed, recommended)
   10.14 -   libpng-1.6.32.tar.gz
   10.15 -
   10.16 -Source files with CRLF line endings (for Windows), without the
   10.17 -"configure" script
   10.18 -
   10.19 -   lpng1632.7z  (LZMA-compressed, recommended)
   10.20 -   lpng1632.zip
   10.21 -
   10.22 -Other information:
   10.23 -
   10.24 -   libpng-1.6.32-README.txt
   10.25 -   libpng-1.6.32-LICENSE.txt
   10.26 -   libpng-1.6.32-*.asc (armored detached GPG signatures)
   10.27 -
   10.28 -Changes since the last public release (1.6.31):
   10.29 -  Avoid possible NULL dereference in png_handle_eXIf when benign_errors
   10.30 -    are allowed. Avoid leaking the input buffer "eXIf_buf".
   10.31 -  Eliminated png_ptr->num_exif member from pngstruct.h and added num_exif
   10.32 -    to arguments for png_get_eXIf() and png_set_eXIf().
   10.33 -  Added calls to png_handle_eXIf(() in pngread.c and png_write_eXIf() in
   10.34 -    pngwrite.c, and made various other fixes to png_write_eXIf().
   10.35 -  Changed name of png_get_eXIF and png_set_eXIf() to png_get_eXIf_1() and
   10.36 -    png_set_eXIf_1(), respectively, to avoid breaking API compatibility
   10.37 -    with libpng-1.6.31.
   10.38 -  Updated contrib/libtests/pngunknown.c with eXIf chunk.
   10.39 -  Initialized btoa[] in pngstest.c
   10.40 -  Stop memory leak when returning from png_handle_eXIf() with an error
   10.41 -    (Bug report from the OSS-fuzz project).
   10.42 -  Replaced local eXIf_buf with info_ptr-eXIf_buf in png_handle_eXIf().
   10.43 -  Update libpng.3 and libpng-manual.txt about eXIf functions.
   10.44 -  Restored png_get_eXIf() and png_set_eXIf() to maintain API compatability.
   10.45 -  Removed png_get_eXIf_1() and png_set_eXIf_1().
   10.46 -  Check length of all chunks except IDAT against user limit to fix an
   10.47 -    OSS-fuzz issue.
   10.48 -  Check length of IDAT against maximum possible IDAT size, accounting
   10.49 -    for height, rowbytes, interlacing and zlib/deflate overhead.
   10.50 -  Restored png_get_eXIf_1() and png_set_eXIf_1(), because strlen(eXIf_buf)
   10.51 -    does not work (the eXIf chunk data can contain zeroes).
   10.52 -  Require cmake-2.8.8 in CMakeLists.txt. Revised symlink creation,
   10.53 -    no longer using deprecated cmake LOCATION feature (Clifford Yapp).
   10.54 -  Fixed five-byte error in the calculation of IDAT maximum possible size.
   10.55 -  Moved chunk-length check into a png_check_chunk_length() private
   10.56 -    function (Suggested by Max Stepin).
   10.57 -  Moved bad pngs from tests to contrib/libtests/crashers
   10.58 -  Moved testing of bad pngs into a separate tests/pngtest-badpngs script
   10.59 -  Added the --xfail (expected FAIL) option to pngtest.c. It writes XFAIL
   10.60 -    in the output but PASS for the libpng test.
   10.61 -  Require cmake-3.0.2 in CMakeLists.txt (Clifford Yapp).
   10.62 -  Fix "const" declaration info_ptr argument to png_get_eXIf_1() and the
   10.63 -    num_exif argument to png_get_eXIf_1() (Github Issue 171).
   10.64 -  Added "eXIf" to "chunks_to_ignore[]" in png_set_keep_unknown_chunks().
   10.65 -  Added huge_IDAT.png and empty_ancillary_chunks.png to testpngs/crashers.
   10.66 -  Make pngtest --strict, --relax, --xfail options imply -m (multiple).
   10.67 -  Removed unused chunk_name parameter from png_check_chunk_length().
   10.68 -  Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak.
   10.69 -  Initialize profile_header[] in png_handle_iCCP() to fix OSS-fuzz issue.
   10.70 -  Initialize png_ptr->row_buf[0] to 255 in png_read_row() to fix OSS-fuzz UMR.
   10.71 -  Attempt to fix a UMR in png_set_text_2() to fix OSS-fuzz issue.
   10.72 -  Increase minimum zlib stream from 9 to 14 in png_handle_iCCP(), to account
   10.73 -    for the minimum 'deflate' stream, and relocate the test to a point
   10.74 -    after the keyword has been read.
   10.75 -  Check that the eXIf chunk has at least 2 bytes and begins with "II" or "MM".
   10.76 -  Added a set of "huge_xxxx_chunk.png" files to contrib/testpngs/crashers,
   10.77 -    one for each known chunk type, with length = 2GB-1.
   10.78 -  Check for 0 return from png_get_rowbytes() and added some (size_t) typecasts
   10.79 -    in contrib/pngminus/*.c to stop some Coverity issues (162705, 162706,
   10.80 -    and 162707).
   10.81 -  Renamed chunks in contrib/testpngs/crashers to avoid having files whose
   10.82 -    names differ only in case; this causes problems with some platforms
   10.83 -    (github issue #172).
   10.84 -  Added contrib/oss-fuzz directory which contains files used by the oss-fuzz
   10.85 -    project (https://github.com/google/oss-fuzz/tree/master/projects/libpng).
   10.86 -
   10.87 -Send comments/corrections/commendations to png-mng-implement at lists.sf.net
   10.88 -(subscription required; visit
   10.89 -https://lists.sourceforge.net/lists/listinfo/png-mng-implement
   10.90 -to subscribe)
   10.91 -or to glennrp at users.sourceforge.net
   10.92 -
   10.93 -Glenn R-P
    11.1 --- a/external/libpng-1.6.32/Android.mk	Sun Nov 04 20:20:51 2018 +0300
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,41 +0,0 @@
    11.4 -LOCAL_PATH:= $(call my-dir)
    11.5 -
    11.6 -include $(CLEAR_VARS)
    11.7 -
    11.8 -common_SRC_FILES := \
    11.9 -    png.c pngerror.c \
   11.10 -	pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c pngrutil.c \
   11.11 -	pngset.c pngtrans.c pngwio.c pngwrite.c pngwtran.c pngwutil.c
   11.12 -
   11.13 -ifeq ($(TARGET_ARCH_ABI),armeabi)
   11.14 -common_SRC_FILES += \
   11.15 -	arm/arm_init.c arm/filter_neon.S arm/filter_neon_intrinsics.c
   11.16 -endif
   11.17 -ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
   11.18 -common_SRC_FILES += \
   11.19 -	arm/arm_init.c arm/filter_neon.S arm/filter_neon_intrinsics.c
   11.20 -endif
   11.21 -ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
   11.22 -common_SRC_FILES += \
   11.23 -	arm/arm_init.c arm/filter_neon.S arm/filter_neon_intrinsics.c
   11.24 -endif
   11.25 -
   11.26 -common_CFLAGS := ## -fomit-frame-pointer
   11.27 -
   11.28 -common_C_INCLUDES += \
   11.29 -
   11.30 -# For the host
   11.31 -# =====================================================
   11.32 -
   11.33 -LOCAL_SRC_FILES := $(common_SRC_FILES)
   11.34 -LOCAL_CFLAGS += $(common_CFLAGS)
   11.35 -LOCAL_C_INCLUDES += $(common_C_INCLUDES)
   11.36 -
   11.37 -LOCAL_MODULE:= png
   11.38 -
   11.39 -LOCAL_COPY_HEADERS_TO := $(common_COPY_HEADERS_TO)
   11.40 -LOCAL_COPY_HEADERS := $(common_COPY_HEADERS)
   11.41 -
   11.42 -include $(BUILD_STATIC_LIBRARY)
   11.43 -#include $(BUILD_SHARED_LIBRARY)
   11.44 -
    12.1 --- a/external/libpng-1.6.32/CHANGES	Sun Nov 04 20:20:51 2018 +0300
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,6004 +0,0 @@
    12.4 -#if 0
    12.5 -CHANGES - changes for libpng
    12.6 -
    12.7 -version 0.1 [March 29, 1995]
    12.8 -  initial work-in-progress release
    12.9 -
   12.10 -version 0.2 [April 1, 1995]
   12.11 -  added reader into png.h
   12.12 -  fixed small problems in stub file
   12.13 -
   12.14 -version 0.3 [April 8, 1995]
   12.15 -  added pull reader
   12.16 -  split up pngwrite.c to several files
   12.17 -  added pnglib.txt
   12.18 -  added example.c
   12.19 -  cleaned up writer, adding a few new transformations
   12.20 -  fixed some bugs in writer
   12.21 -  interfaced with zlib 0.5
   12.22 -  added K&R support
   12.23 -  added check for 64 KB blocks for 16 bit machines
   12.24 -
   12.25 -version 0.4 [April 26, 1995]
   12.26 -  cleaned up code and commented code
   12.27 -  simplified time handling into png_time
   12.28 -  created png_color_16 and png_color_8 to handle color needs
   12.29 -  cleaned up color type defines
   12.30 -  fixed various bugs
   12.31 -  made various names more consistent
   12.32 -  interfaced with zlib 0.71
   12.33 -  cleaned up zTXt reader and writer (using zlib's Reset functions)
   12.34 -  split transformations into pngrtran.c and pngwtran.c
   12.35 -
   12.36 -version 0.5 [April 30, 1995]
   12.37 -  interfaced with zlib 0.8
   12.38 -  fixed many reading and writing bugs
   12.39 -  saved using 3 spaces instead of tabs
   12.40 -
   12.41 -version 0.6 [May 1, 1995]
   12.42 -  first beta release
   12.43 -  added png_large_malloc() and png_large_free()
   12.44 -  added png_size_t
   12.45 -  cleaned up some compiler warnings
   12.46 -  added png_start_read_image()
   12.47 -
   12.48 -version 0.7 [June 24, 1995]
   12.49 -  cleaned up lots of bugs
   12.50 -  finished dithering and other stuff
   12.51 -  added test program
   12.52 -  changed name from pnglib to libpng
   12.53 -
   12.54 -version 0.71 [June 26, 1995]
   12.55 -  changed pngtest.png for zlib 0.93
   12.56 -  fixed error in libpng.txt and example.c
   12.57 -
   12.58 -version 0.8 [August 20, 1995]
   12.59 -  cleaned up some bugs
   12.60 -  added png_set_filler()
   12.61 -  split up pngstub.c into pngmem.c, pngio.c, and pngerror.c
   12.62 -  added #define's to remove unwanted code
   12.63 -  moved png_info_init() to png.c
   12.64 -  added old_size into png_realloc()
   12.65 -  added functions to manually set filtering and compression info
   12.66 -  changed compression parameters based on image type
   12.67 -  optimized filter selection code
   12.68 -  added version info
   12.69 -  changed external functions passing floats to doubles (k&r problems?)
   12.70 -  put all the configurable stuff in pngconf.h
   12.71 -  enabled png_set_shift to work with paletted images on read
   12.72 -  added png_read_update_info() - updates info structure with transformations
   12.73 -
   12.74 -Version 0.81 [August, 1995]
   12.75 -  incorporated Tim Wegner's medium model code (thanks, Tim)
   12.76 -
   12.77 -Version 0.82 [September, 1995]
   12.78 -  [unspecified changes]
   12.79 -
   12.80 -Version 0.85 [December, 1995]
   12.81 -  added more medium model code (almost everything's a far)
   12.82 -  added i/o, error, and memory callback functions
   12.83 -  fixed some bugs (16-bit, 4-bit interlaced, etc.)
   12.84 -  added first run progressive reader (barely tested)
   12.85 -
   12.86 -Version 0.86 [January, 1996]
   12.87 -  fixed bugs
   12.88 -  improved documentation
   12.89 -
   12.90 -Version 0.87 [January, 1996]
   12.91 -  fixed medium model bugs
   12.92 -  fixed other bugs introduced in 0.85 and 0.86
   12.93 -  added some minor documentation
   12.94 -
   12.95 -Version 0.88 [January, 1996]
   12.96 -  fixed progressive bugs
   12.97 -  replaced tabs with spaces
   12.98 -  cleaned up documentation
   12.99 -  added callbacks for read/write and warning/error functions
  12.100 -
  12.101 -Version 0.89 [June 5, 1996]
  12.102 -  Added new initialization API to make libpng work better with shared libs
  12.103 -    we now have png_create_read_struct(), png_create_write_struct(),
  12.104 -    png_create_info_struct(), png_destroy_read_struct(), and
  12.105 -    png_destroy_write_struct() instead of the separate calls to
  12.106 -    malloc and png_read_init(), png_info_init(), and png_write_init()
  12.107 -  Changed warning/error callback functions to fix bug - this means you
  12.108 -    should use the new initialization API if you were using the old
  12.109 -    png_set_message_fn() calls, and that the old API no longer exists
  12.110 -    so that people are aware that they need to change their code
  12.111 -  Changed filter selection API to allow selection of multiple filters
  12.112 -    since it didn't work in previous versions of libpng anyways
  12.113 -  Optimized filter selection code
  12.114 -  Fixed png_set_background() to allow using an arbitrary RGB color for
  12.115 -    paletted images
  12.116 -  Fixed gamma and background correction for paletted images, so
  12.117 -    png_correct_palette is not needed unless you are correcting an
  12.118 -    external palette (you will need to #define PNG_CORRECT_PALETTE_SUPPORTED
  12.119 -    in pngconf.h) - if nobody uses this, it may disappear in the future.
  12.120 -  Fixed bug with Borland 64K memory allocation (Alexander Lehmann)
  12.121 -  Fixed bug in interlace handling (Smarasderagd, I think)
  12.122 -  Added more error checking for writing and image to reduce invalid files
  12.123 -  Separated read and write functions so that they won't both be linked
  12.124 -    into a binary when only reading or writing functionality is used
  12.125 -  New pngtest image also has interlacing and zTXt
  12.126 -  Updated documentation to reflect new API
  12.127 -
  12.128 -Version 0.89c [June 17, 1996]
  12.129 -  Bug fixes.
  12.130 -
  12.131 -Version 0.90 [January, 1997]
  12.132 -  Made CRC errors/warnings on critical and ancillary chunks configurable
  12.133 -  libpng will use the zlib CRC routines by (compile-time) default
  12.134 -  Changed DOS small/medium model memory support - needs zlib 1.04 (Tim Wegner)
  12.135 -  Added external C++ wrapper statements to png.h (Gilles Dauphin)
  12.136 -  Allow PNG file to be read when some or all of file signature has already
  12.137 -    been read from the beginning of the stream.  ****This affects the size
  12.138 -    of info_struct and invalidates all programs that use a shared libpng****
  12.139 -  Fixed png_filler() declarations
  12.140 -  Fixed? background color conversions
  12.141 -  Fixed order of error function pointers to match documentation
  12.142 -  Current chunk name is now available in png_struct to reduce the number
  12.143 -    of nearly identical error messages (will simplify multi-lingual
  12.144 -    support when available)
  12.145 -  Try to get ready for unknown-chunk callback functions:
  12.146 -    - previously read critical chunks are flagged, so the chunk handling
  12.147 -      routines can determine if the chunk is in the right place
  12.148 -    - all chunk handling routines have the same prototypes, so we will
  12.149 -      be able to handle all chunks via a callback mechanism
  12.150 -  Try to fix Linux "setjmp" buffer size problems
  12.151 -  Removed png_large_malloc, png_large_free, and png_realloc functions.
  12.152 -
  12.153 -Version 0.95 [March, 1997]
  12.154 -  Fixed bug in pngwutil.c allocating "up_row" twice and "avg_row" never
  12.155 -  Fixed bug in PNG file signature compares when start != 0
  12.156 -  Changed parameter type of png_set_filler(...filler...) from png_byte
  12.157 -    to png_uint_32
  12.158 -  Added test for MACOS to ensure that both math.h and fp.h are not #included
  12.159 -  Added macros for libpng to be compiled as a Windows DLL (Andreas Kupries)
  12.160 -  Added "packswap" transformation, which changes the endianness of
  12.161 -    packed-pixel bytes (Kevin Bracey)
  12.162 -  Added "strip_alpha" transformation, which removes the alpha channel of
  12.163 -    input images without using it (not necessarily a good idea)
  12.164 -  Added "swap_alpha" transformation, which puts the alpha channel in front
  12.165 -    of the color bytes instead of after
  12.166 -  Removed all implicit variable tests which assume NULL == 0 (I think)
  12.167 -  Changed several variables to "png_size_t" to show 16/32-bit limitations
  12.168 -  Added new pCAL chunk read/write support
  12.169 -  Added experimental filter selection weighting (Greg Roelofs)
  12.170 -  Removed old png_set_rgbx() and png_set_xrgb() functions that have been
  12.171 -    obsolete for about 2 years now (use png_set_filler() instead)
  12.172 -  Added macros to read 16- and 32-bit ints directly from buffer, to be
  12.173 -    used only on those systems that support it (namely PowerPC and 680x0)
  12.174 -    With some testing, this may become the default for MACOS/PPC systems.
  12.175 -  Only calculate CRC on data if we are going to use it
  12.176 -  Added macros for zTXt compression type PNG_zTXt_COMPRESSION_???
  12.177 -  Added macros for simple libpng debugging output selectable at compile time
  12.178 -  Removed PNG_READ_END_MODE in progressive reader (Smarasderagd)
  12.179 -  More description of info_struct in libpng.txt and png.h
  12.180 -  More instructions in example.c
  12.181 -  More chunk types tested in pngtest.c
  12.182 -  Renamed pngrcb.c to pngset.c, and all png_read_<chunk> functions to be
  12.183 -    png_set_<chunk>.  We now have corresponding png_get_<chunk>
  12.184 -    functions in pngget.c to get information in info_ptr.  This isolates
  12.185 -    the application from the internal organization of png_info_struct
  12.186 -    (good for shared library implementations).
  12.187 -
  12.188 -Version 0.96 [May, 1997]
  12.189 -  Fixed serious bug with < 8bpp images introduced in 0.95
  12.190 -  Fixed 256-color transparency bug (Greg Roelofs)
  12.191 -  Fixed up documentation (Greg Roelofs, Laszlo Nyul)
  12.192 -  Fixed "error" in pngconf.h for Linux setjmp() behavior
  12.193 -  Fixed DOS medium model support (Tim Wegner)
  12.194 -  Fixed png_check_keyword() for case with error in static string text
  12.195 -  Added read of CRC after IEND chunk for embedded PNGs (Laszlo Nyul)
  12.196 -  Added typecasts to quiet compiler errors
  12.197 -  Added more debugging info
  12.198 -
  12.199 -Version 0.97 [January, 1998]
  12.200 -  Removed PNG_USE_OWN_CRC capability
  12.201 -  Relocated png_set_crc_action from pngrutil.c to pngrtran.c
  12.202 -  Fixed typecasts of "new_key", etc. (Andreas Dilger)
  12.203 -  Added RFC 1152 [sic] date support
  12.204 -  Fixed bug in gamma handling of 4-bit grayscale
  12.205 -  Added 2-bit grayscale gamma handling (Glenn R-P)
  12.206 -  Added more typecasts. 65536L becomes (png_uint_32)65536L, etc. (Glenn R-P)
  12.207 -  Minor corrections in libpng.txt
  12.208 -  Added simple sRGB support (Glenn R-P)
  12.209 -  Easier conditional compiling, e.g.,
  12.210 -    define PNG_READ/WRITE_NOT_FULLY_SUPPORTED;
  12.211 -    all configurable options can be selected from command-line instead
  12.212 -    of having to edit pngconf.h (Glenn R-P)
  12.213 -  Fixed memory leak in pngwrite.c (free info_ptr->text) (Glenn R-P)
  12.214 -  Added more conditions for png_do_background, to avoid changing
  12.215 -    black pixels to background when a background is supplied and
  12.216 -    no pixels are transparent
  12.217 -  Repaired PNG_NO_STDIO behavior
  12.218 -  Tested NODIV support and made it default behavior (Greg Roelofs)
  12.219 -  Added "-m" option and PNGTEST_DEBUG_MEMORY to pngtest (John Bowler)
  12.220 -  Regularized version numbering scheme and bumped shared-library major
  12.221 -    version number to 2 to avoid problems with libpng 0.89 apps
  12.222 -    (Greg Roelofs)
  12.223 -
  12.224 -Version 0.98 [January, 1998]
  12.225 -  Cleaned up some typos in libpng.txt and in code documentation
  12.226 -  Fixed memory leaks in pCAL chunk processing (Glenn R-P and John Bowler)
  12.227 -  Cosmetic change "display_gamma" to "screen_gamma" in pngrtran.c
  12.228 -  Changed recommendation about file_gamma for PC images to .51 from .45,
  12.229 -    in example.c and libpng.txt, added comments to distinguish between
  12.230 -    screen_gamma, viewing_gamma, and display_gamma.
  12.231 -  Changed all references to RFC1152 to read RFC1123 and changed the
  12.232 -    PNG_TIME_RFC1152_SUPPORTED macro to PNG_TIME_RFC1123_SUPPORTED
  12.233 -  Added png_invert_alpha capability (Glenn R-P -- suggestion by Jon Vincent)
  12.234 -  Changed srgb_intent from png_byte to int to avoid compiler bugs
  12.235 -
  12.236 -Version 0.99 [January 30, 1998]
  12.237 -  Free info_ptr->text instead of end_info_ptr->text in pngread.c (John Bowler)
  12.238 -  Fixed a longstanding "packswap" bug in pngtrans.c
  12.239 -  Fixed some inconsistencies in pngconf.h that prevented compiling with
  12.240 -    PNG_READ_GAMMA_SUPPORTED and PNG_READ_hIST_SUPPORTED undefined
  12.241 -  Fixed some typos and made other minor rearrangement of libpng.txt (Andreas)
  12.242 -  Changed recommendation about file_gamma for PC images to .50 from .51 in
  12.243 -    example.c and libpng.txt, and changed file_gamma for sRGB images to .45
  12.244 -  Added a number of functions to access information from the png structure
  12.245 -    png_get_image_height(), etc. (Glenn R-P, suggestion by Brad Pettit)
  12.246 -  Added TARGET_MACOS similar to zlib-1.0.8
  12.247 -  Define PNG_ALWAYS_EXTERN when __MWERKS__ && WIN32 are defined
  12.248 -  Added type casting to all png_malloc() function calls
  12.249 -
  12.250 -Version 0.99a [January 31, 1998]
  12.251 -  Added type casts and parentheses to all returns that return a value.(Tim W.)
  12.252 -
  12.253 -Version 0.99b [February 4, 1998]
  12.254 -  Added type cast png_uint_32 on malloc function calls where needed.
  12.255 -  Changed type of num_hist from png_uint_32 to int (same as num_palette).
  12.256 -  Added checks for rowbytes overflow, in case png_size_t is less than 32 bits.
  12.257 -  Renamed makefile.elf to makefile.lnx.
  12.258 -
  12.259 -Version 0.99c [February 7, 1998]
  12.260 -  More type casting.  Removed erroneous overflow test in pngmem.c.
  12.261 -  Added png_buffered_memcpy() and png_buffered_memset(), apply them to rowbytes.
  12.262 -  Added UNIX manual pages libpng.3 (incorporating libpng.txt) and  png.5.
  12.263 -
  12.264 -Version 0.99d [February 11, 1998]
  12.265 -  Renamed "far_to_near()" "png_far_to_near()"
  12.266 -  Revised libpng.3
  12.267 -  Version 99c "buffered" operations didn't work as intended.  Replaced them
  12.268 -    with png_memcpy_check() and png_memset_check().
  12.269 -  Added many "if (png_ptr == NULL) return" to quell compiler warnings about
  12.270 -    unused png_ptr, mostly in pngget.c and pngset.c.
  12.271 -  Check for overlength tRNS chunk present when indexed-color PLTE is read.
  12.272 -  Cleaned up spelling errors in libpng.3/libpng.txt
  12.273 -  Corrected a problem with png_get_tRNS() which returned undefined trans array
  12.274 -
  12.275 -Version 0.99e [February 28, 1998]
  12.276 -  Corrected png_get_tRNS() again.
  12.277 -  Add parentheses for easier reading of pngget.c, fixed "||" should be "&&".
  12.278 -  Touched up example.c to make more of it compileable, although the entire
  12.279 -    file still can't be compiled (Willem van Schaik)
  12.280 -  Fixed a bug in png_do_shift() (Bryan Tsai)
  12.281 -  Added a space in png.h prototype for png_write_chunk_start()
  12.282 -  Replaced pngtest.png with one created with zlib 1.1.1
  12.283 -  Changed pngtest to report PASS even when file size is different (Jean-loup G.)
  12.284 -  Corrected some logic errors in png_do_invert_alpha() (Chris Patterson)
  12.285 -
  12.286 -Version 0.99f [March 5, 1998]
  12.287 -  Corrected a bug in pngpread() introduced in version 99c (Kevin Bracey)
  12.288 -  Moved makefiles into a "scripts" directory, and added INSTALL instruction file
  12.289 -  Added makefile.os2 and pngos2.def (A. Zabolotny) and makefile.s2x (W. Sebok)
  12.290 -  Added pointers to "note on libpng versions" in makefile.lnx and README
  12.291 -  Added row callback feature when reading and writing nonprogressive rows
  12.292 -    and added a test of this feature in pngtest.c
  12.293 -  Added user transform callbacks, with test of the feature in pngtest.c
  12.294 -
  12.295 -Version 0.99g [March 6, 1998, morning]
  12.296 -  Minor changes to pngtest.c to suppress compiler warnings.
  12.297 -  Removed "beta" language from documentation.
  12.298 -
  12.299 -Version 0.99h [March 6, 1998, evening]
  12.300 -  Minor changes to previous minor changes to pngtest.c
  12.301 -  Changed PNG_READ_NOT_FULLY_SUPPORTED to PNG_READ_TRANSFORMS_NOT_SUPPORTED
  12.302 -    and added PNG_PROGRESSIVE_READ_NOT_SUPPORTED macro
  12.303 -  Added user transform capability
  12.304 -
  12.305 -Version 1.00 [March 7, 1998]
  12.306 -  Changed several typedefs in pngrutil.c
  12.307 -  Added makefile.wat (Pawel Mrochen), updated makefile.tc3 (Willem van Schaik)
  12.308 -  Replaced "while(1)" with "for(;;)"
  12.309 -  Added PNGARG() to prototypes in pngtest.c and removed some prototypes
  12.310 -  Updated some of the makefiles (Tom Lane)
  12.311 -  Changed some typedefs (s_start, etc.) in pngrutil.c
  12.312 -  Fixed dimensions of "short_months" array in pngwrite.c
  12.313 -  Replaced ansi2knr.c with the one from jpeg-v6
  12.314 -
  12.315 -Version 1.0.0 [March 8, 1998]
  12.316 -  Changed name from 1.00 to 1.0.0 (Adam Costello)
  12.317 -  Added smakefile.ppc (with SCOPTIONS.ppc) for Amiga PPC (Andreas Kleinert)
  12.318 -
  12.319 -Version 1.0.0a [March 9, 1998]
  12.320 -  Fixed three bugs in pngrtran.c to make gamma+background handling consistent
  12.321 -    (Greg Roelofs)
  12.322 -  Changed format of the PNG_LIBPNG_VER integer to xyyzz instead of xyz
  12.323 -    for major, minor, and bugfix releases.  This is 10001. (Adam Costello,
  12.324 -    Tom Lane)
  12.325 -  Make months range from 1-12 in png_convert_to_rfc1123
  12.326 -
  12.327 -Version 1.0.0b [March 13, 1998]
  12.328 -  Quieted compiler complaints about two empty "for" loops in pngrutil.c
  12.329 -  Minor changes to makefile.s2x
  12.330 -  Removed #ifdef/#endif around a png_free() in pngread.c
  12.331 -
  12.332 -Version 1.0.1 [March 14, 1998]
  12.333 -  Changed makefile.s2x to reduce security risk of using a relative pathname
  12.334 -  Fixed some typos in the documentation (Greg).
  12.335 -  Fixed a problem with value of "channels" returned by png_read_update_info()
  12.336 -
  12.337 -Version 1.0.1a [April 21, 1998]
  12.338 -  Optimized Paeth calculations by replacing abs() function calls with intrinsics
  12.339 -  plus other loop optimizations. Improves avg decoding speed by about 20%.
  12.340 -  Commented out i386istic "align" compiler flags in makefile.lnx.
  12.341 -  Reduced the default warning level in some makefiles, to make them consistent.
  12.342 -  Removed references to IJG and JPEG in the ansi2knr.c copyright statement.
  12.343 -  Fixed a bug in png_do_strip_filler with XXRRGGBB => RRGGBB transformation.
  12.344 -  Added grayscale and 16-bit capability to png_do_read_filler().
  12.345 -  Fixed a bug in pngset.c, introduced in version 0.99c, that sets rowbytes
  12.346 -    too large when writing an image with bit_depth < 8 (Bob Dellaca).
  12.347 -  Corrected some bugs in the experimental weighted filtering heuristics.
  12.348 -  Moved a misplaced pngrutil code block that truncates tRNS if it has more
  12.349 -    than num_palette entries -- test was done before num_palette was defined.
  12.350 -  Fixed a png_convert_to_rfc1123() bug that converts day 31 to 0 (Steve Eddins).
  12.351 -  Changed compiler flags in makefile.wat for better optimization
  12.352 -    (Pawel Mrochen).
  12.353 -
  12.354 -Version 1.0.1b [May 2, 1998]
  12.355 -  Relocated png_do_gray_to_rgb() within png_do_read_transformations() (Greg).
  12.356 -  Relocated the png_composite macros from pngrtran.c to png.h (Greg).
  12.357 -  Added makefile.sco (contributed by Mike Hopkirk).
  12.358 -  Fixed two bugs (missing definitions of "istop") introduced in libpng-1.0.1a.
  12.359 -  Fixed a bug in pngrtran.c that would set channels=5 under some circumstances.
  12.360 -  More work on the Paeth-filtering, achieving imperceptible speedup
  12.361 -    (A Kleinert).
  12.362 -  More work on loop optimization which may help when compiled with C++
  12.363 -    compilers.
  12.364 -  Added warnings when people try to use transforms they've defined out.
  12.365 -  Collapsed 4 "i" and "c" loops into single "i" loops in pngrtran and pngwtran.
  12.366 -  Revised paragraph about png_set_expand() in libpng.txt and libpng.3 (Greg)
  12.367 -
  12.368 -Version 1.0.1c [May 11, 1998]
  12.369 -  Fixed a bug in pngrtran.c (introduced in libpng-1.0.1a) where the masks for
  12.370 -    filler bytes should have been 0xff instead of 0xf.
  12.371 -  Added max_pixel_depth=32 in pngrutil.c when using FILLER with palette images.
  12.372 -  Moved PNG_WRITE_WEIGHTED_FILTER_SUPPORTED and PNG_WRITE_FLUSH_SUPPORTED
  12.373 -    out of the PNG_WRITE_TRANSFORMS_NOT_SUPPORTED block of pngconf.h
  12.374 -  Added "PNG_NO_WRITE_TRANSFORMS" etc., as alternatives for *_NOT_SUPPORTED,
  12.375 -    for consistency, in pngconf.h
  12.376 -  Added individual "ifndef PNG_NO_[CAPABILITY]" in pngconf.h to make it easier
  12.377 -    to remove unwanted capabilities via the compile line
  12.378 -  Made some corrections to grammar (which, it's) in documentation (Greg).
  12.379 -  Corrected example.c, use of row_pointers in png_write_image().
  12.380 -
  12.381 -Version 1.0.1d [May 24, 1998]
  12.382 -  Corrected several statements that used side effects illegally in pngrutil.c
  12.383 -    and pngtrans.c, that were introduced in version 1.0.1b
  12.384 -  Revised png_read_rows() to avoid repeated if-testing for NULL (A Kleinert)
  12.385 -  More corrections to example.c, use of row_pointers in png_write_image()
  12.386 -    and png_read_rows().
  12.387 -  Added pngdll.mak and pngdef.pas to scripts directory, contributed by
  12.388 -    Bob Dellaca, to make a png32bd.dll with Borland C++ 4.5
  12.389 -  Fixed error in example.c with png_set_text: num_text is 3, not 2 (Guido V.)
  12.390 -  Changed several loops from count-down to count-up, for consistency.
  12.391 -
  12.392 -Version 1.0.1e [June 6, 1998]
  12.393 -  Revised libpng.txt and libpng.3 description of png_set_read|write_fn(), and
  12.394 -    added warnings when people try to set png_read_fn and png_write_fn in
  12.395 -    the same structure.
  12.396 -  Added a test such that png_do_gamma will be done when num_trans==0
  12.397 -    for truecolor images that have defined a background.  This corrects an
  12.398 -    error that was introduced in libpng-0.90 that can cause gamma processing
  12.399 -    to be skipped.
  12.400 -  Added tests in png.h to include "trans" and "trans_values" in structures
  12.401 -    when PNG_READ_BACKGROUND_SUPPORTED or PNG_READ_EXPAND_SUPPORTED is defined.
  12.402 -  Add png_free(png_ptr->time_buffer) in png_destroy_read_struct()
  12.403 -  Moved png_convert_to_rfc_1123() from pngwrite.c to png.c
  12.404 -  Added capability for user-provided malloc_fn() and free_fn() functions,
  12.405 -    and revised pngtest.c to demonstrate their use, replacing the
  12.406 -    PNGTEST_DEBUG_MEM feature.
  12.407 -  Added makefile.w32, for Microsoft C++ 4.0 and later (Tim Wegner).
  12.408 -
  12.409 -Version 1.0.2 [June 14, 1998]
  12.410 -  Fixed two bugs in makefile.bor .
  12.411 -
  12.412 -Version 1.0.2a [December 30, 1998]
  12.413 -  Replaced and extended code that was removed from png_set_filler() in 1.0.1a.
  12.414 -  Fixed a bug in png_do_filler() that made it fail to write filler bytes in
  12.415 -    the left-most pixel of each row (Kevin Bracey).
  12.416 -  Changed "static pngcharp tIME_string" to "static char tIME_string[30]"
  12.417 -    in pngtest.c (Duncan Simpson).
  12.418 -  Fixed a bug in pngtest.c that caused pngtest to try to write a tIME chunk
  12.419 -    even when no tIME chunk was present in the source file.
  12.420 -  Fixed a problem in pngrutil.c: gray_to_rgb didn't always work with 16-bit.
  12.421 -  Fixed a problem in png_read_push_finish_row(), which would not skip some
  12.422 -    passes that it should skip, for images that are less than 3 pixels high.
  12.423 -  Interchanged the order of calls to png_do_swap() and png_do_shift()
  12.424 -    in pngwtran.c (John Cromer).
  12.425 -  Added #ifdef PNG_DEBUG/#endif surrounding use of PNG_DEBUG in png.h .
  12.426 -  Changed "bad adaptive filter type" from error to warning in pngrutil.c .
  12.427 -  Fixed a documentation error about default filtering with 8-bit indexed-color.
  12.428 -  Separated the PNG_NO_STDIO macro into PNG_NO_STDIO and PNG_NO_CONSOLE_IO
  12.429 -    (L. Peter Deutsch).
  12.430 -  Added png_set_rgb_to_gray() and png_get_rgb_to_gray_status() functions.
  12.431 -  Added png_get_copyright() and png_get_header_version() functions.
  12.432 -  Revised comments on png_set_progressive_read_fn() in libpng.txt and example.c
  12.433 -  Added information about debugging in libpng.txt and libpng.3 .
  12.434 -  Changed "ln -sf" to "ln -s -f" in makefile.s2x, makefile.lnx, and
  12.435 -    makefile.sco.
  12.436 -  Removed lines after Dynamic Dependencies" in makefile.aco .
  12.437 -  Revised makefile.dec to make a shared library (Jeremie Petit).
  12.438 -  Removed trailing blanks from all files.
  12.439 -
  12.440 -Version 1.0.2a [January 6, 1999]
  12.441 -  Removed misplaced #endif and #ifdef PNG_NO_EXTERN near the end of png.h
  12.442 -  Added "if" tests to silence complaints about unused png_ptr in png.h and png.c
  12.443 -  Changed "check_if_png" function in example.c to return true (nonzero) if PNG.
  12.444 -  Changed libpng.txt to demonstrate png_sig_cmp() instead of png_check_sig()
  12.445 -    which is obsolete.
  12.446 -
  12.447 -Version 1.0.3 [January 14, 1999]
  12.448 -  Added makefile.hux, for Hewlett Packard HPUX 10.20 and 11.00 (Jim Rice)
  12.449 -  Added a statement of Y2K compliance in png.h, libpng.3, and Y2KINFO.
  12.450 -
  12.451 -Version 1.0.3a [August 12, 1999]
  12.452 -  Added check for PNG_READ_INTERLACE_SUPPORTED in pngread.c; issue a warning
  12.453 -    if an attempt is made to read an interlaced image when it's not supported.
  12.454 -  Added check if png_ptr->trans is defined before freeing it in pngread.c
  12.455 -  Modified the Y2K statement to include versions back to version 0.71
  12.456 -  Fixed a bug in the check for valid IHDR bit_depth/color_types in pngrutil.c
  12.457 -  Modified makefile.wat (added -zp8 flag, ".symbolic", changed some comments)
  12.458 -  Replaced leading blanks with tab characters in makefile.hux
  12.459 -  Changed "dworkin.wustl.edu" to "ccrc.wustl.edu" in various documents.
  12.460 -  Changed (float)red and (float)green to (double)red, (double)green
  12.461 -    in png_set_rgb_to_gray() to avoid "promotion" problems in AIX.
  12.462 -  Fixed a bug in pngconf.h that omitted <stdio.h> when PNG_DEBUG==0 (K Bracey).
  12.463 -  Reformatted libpng.3 and libpngpf.3 with proper fonts (script by J. vanZandt).
  12.464 -  Updated documentation to refer to the PNG-1.2 specification.
  12.465 -  Removed ansi2knr.c and left pointers to the latest source for ansi2knr.c
  12.466 -    in makefile.knr, INSTALL, and README (L. Peter Deutsch)
  12.467 -  Fixed bugs in calculation of the length of rowbytes when adding alpha
  12.468 -    channels to 16-bit images, in pngrtran.c (Chris Nokleberg)
  12.469 -  Added function png_set_user_transform_info() to store user_transform_ptr,
  12.470 -    user_depth, and user_channels into the png_struct, and a function
  12.471 -    png_get_user_transform_ptr() to retrieve the pointer (Chris Nokleberg)
  12.472 -  Added function png_set_empty_plte_permitted() to make libpng useable
  12.473 -    in MNG applications.
  12.474 -  Corrected the typedef for png_free_ptr in png.h (Jesse Jones).
  12.475 -  Correct gamma with srgb is 45455 instead of 45000 in pngrutil.c, to be
  12.476 -    consistent with PNG-1.2, and allow variance of 500 before complaining.
  12.477 -  Added assembler code contributed by Intel in file pngvcrd.c and modified
  12.478 -    makefile.w32 to use it (Nirav Chhatrapati, INTEL Corporation,
  12.479 -    Gilles Vollant)
  12.480 -  Changed "ln -s -f" to "ln -f -s" in the makefiles to make Solaris happy.
  12.481 -  Added some aliases for png_set_expand() in pngrtran.c, namely
  12.482 -    png_set_expand_PLTE(), png_set_expand_depth(), and png_set_expand_tRNS()
  12.483 -    (Greg Roelofs, in "PNG: The Definitive Guide").
  12.484 -  Added makefile.beo for BEOS on X86, contributed by Sander Stok.
  12.485 -
  12.486 -Version 1.0.3b [August 26, 1999]
  12.487 -  Replaced 2147483647L several places with PNG_MAX_UINT macro, defined in png.h
  12.488 -  Changed leading blanks to tabs in all makefiles.
  12.489 -  Define PNG_USE_PNGVCRD in makefile.w32, to get MMX assembler code.
  12.490 -  Made alternate versions of  png_set_expand() in pngrtran.c, namely
  12.491 -    png_set_gray_1_2_4_to_8, png_set_palette_to_rgb, and png_set_tRNS_to_alpha
  12.492 -    (Greg Roelofs, in "PNG: The Definitive Guide").  Deleted the 1.0.3a aliases.
  12.493 -  Relocated start of 'extern "C"' block in png.h so it doesn't include pngconf.h
  12.494 -  Revised calculation of num_blocks in pngmem.c to avoid a potentially
  12.495 -    negative shift distance, whose results are undefined in the C language.
  12.496 -  Added a check in pngset.c to prevent writing multiple tIME chunks.
  12.497 -  Added a check in pngwrite.c to detect invalid small window_bits sizes.
  12.498 -
  12.499 -Version 1.0.3d [September 4, 1999]
  12.500 -  Fixed type casting of igamma in pngrutil.c
  12.501 -  Added new png_expand functions to scripts/pngdef.pas and pngos2.def
  12.502 -  Added a demo read_user_transform_fn that examines the row filters in pngtest.c
  12.503 -
  12.504 -Version 1.0.4 [September 24, 1999, not distributed publicly]
  12.505 -  Define PNG_ALWAYS_EXTERN in pngconf.h if __STDC__ is defined
  12.506 -  Delete #define PNG_INTERNAL and include "png.h" from pngasmrd.h
  12.507 -  Made several minor corrections to pngtest.c
  12.508 -  Renamed the makefiles with longer but more user friendly extensions.
  12.509 -  Copied the PNG copyright and license to a separate LICENSE file.
  12.510 -  Revised documentation, png.h, and example.c to remove reference to
  12.511 -    "viewing_gamma" which no longer appears in the PNG specification.
  12.512 -  Revised pngvcrd.c to use MMX code for interlacing only on the final pass.
  12.513 -  Updated pngvcrd.c to use the faster C filter algorithms from libpng-1.0.1a
  12.514 -  Split makefile.win32vc into two versions, makefile.vcawin32 (uses MMX
  12.515 -    assembler code) and makefile.vcwin32 (doesn't).
  12.516 -  Added a CPU timing report to pngtest.c (enabled by defining PNGTEST_TIMING)
  12.517 -  Added a copy of pngnow.png to the distribution.
  12.518 -
  12.519 -Version 1.0.4a [September 25, 1999]
  12.520 -  Increase max_pixel_depth in pngrutil.c if a user transform needs it.
  12.521 -  Changed several division operations to right-shifts in pngvcrd.c
  12.522 -
  12.523 -Version 1.0.4b [September 30, 1999]
  12.524 -  Added parentheses in line 3732 of pngvcrd.c
  12.525 -  Added a comment in makefile.linux warning about buggy -O3 in pgcc 2.95.1
  12.526 -
  12.527 -Version 1.0.4c [October 1, 1999]
  12.528 -  Added a "png_check_version" function in png.c and pngtest.c that will generate
  12.529 -    a helpful compiler error if an old png.h is found in the search path.
  12.530 -  Changed type of png_user_transform_depth|channels from int to png_byte.
  12.531 -  Added "Libpng is OSI Certified Open Source Software" statement to png.h
  12.532 -
  12.533 -Version 1.0.4d [October 6, 1999]
  12.534 -  Changed 0.45 to 0.45455 in png_set_sRGB()
  12.535 -  Removed unused PLTE entries from pngnow.png
  12.536 -  Re-enabled some parts of pngvcrd.c (png_combine_row) that work properly.
  12.537 -
  12.538 -Version 1.0.4e [October 10, 1999]
  12.539 -  Fixed sign error in pngvcrd.c (Greg Roelofs)
  12.540 -  Replaced some instances of memcpy with simple assignments in pngvcrd (GR-P)
  12.541 -
  12.542 -Version 1.0.4f [October 15, 1999]
  12.543 -  Surrounded example.c code with #if 0 .. #endif to prevent people from
  12.544 -    inadvertently trying to compile it.
  12.545 -  Changed png_get_header_version() from a function to a macro in png.h
  12.546 -  Added type casting mostly in pngrtran.c and pngwtran.c
  12.547 -  Removed some pointless "ptr = NULL" in pngmem.c
  12.548 -  Added a "contrib" directory containing the source code from Greg's book.
  12.549 -
  12.550 -Version 1.0.5 [October 15, 1999]
  12.551 -  Minor editing of the INSTALL and README files.
  12.552 -
  12.553 -Version 1.0.5a [October 23, 1999]
  12.554 -  Added contrib/pngsuite and contrib/pngminus (Willem van Schaik)
  12.555 -  Fixed a typo in the png_set_sRGB() function call in example.c (Jan Nijtmans)
  12.556 -  Further optimization and bugfix of pngvcrd.c
  12.557 -  Revised pngset.c so that it does not allocate or free memory in the user's
  12.558 -    text_ptr structure.  Instead, it makes its own copy.
  12.559 -  Created separate write_end_info_struct in pngtest.c for a more severe test.
  12.560 -  Added code in pngwrite.c to free info_ptr->text[i].key to stop a memory leak.
  12.561 -
  12.562 -Version 1.0.5b [November 23, 1999]
  12.563 -  Moved PNG_FLAG_HAVE_CHUNK_HEADER, PNG_FLAG_BACKGROUND_IS_GRAY and
  12.564 -    PNG_FLAG_WROTE_tIME from flags to mode.
  12.565 -  Added png_write_info_before_PLTE() function.
  12.566 -  Fixed some typecasting in contrib/gregbook/*.c
  12.567 -  Updated scripts/makevms.com and added makevms.com to contrib/gregbook
  12.568 -    and contrib/pngminus (Martin Zinser)
  12.569 -
  12.570 -Version 1.0.5c [November 26, 1999]
  12.571 -  Moved png_get_header_version from png.h to png.c, to accommodate ansi2knr.
  12.572 -  Removed all global arrays (according to PNG_NO_GLOBAL_ARRAYS macro), to
  12.573 -    accommodate making DLL's: Moved usr_png_ver from global variable to function
  12.574 -    png_get_header_ver() in png.c.  Moved png_sig to png_sig_bytes in png.c and
  12.575 -    eliminated use of png_sig in pngwutil.c.  Moved the various png_CHNK arrays
  12.576 -    into pngtypes.h.  Eliminated use of global png_pass arrays.  Declared the
  12.577 -    png_CHNK and png_pass arrays to be "const".  Made the global arrays
  12.578 -    available to applications (although none are used in libpng itself) when
  12.579 -    PNG_NO_GLOBAL_ARRAYS is not defined or when PNG_GLOBAL_ARRAYS is defined.
  12.580 -  Removed some extraneous "-I" from contrib/pngminus/makefile.std
  12.581 -  Changed the PNG_sRGB_INTENT macros in png.h to be consistent with PNG-1.2.
  12.582 -  Change PNG_SRGB_INTENT to PNG_sRGB_INTENT in libpng.txt and libpng.3
  12.583 -
  12.584 -Version 1.0.5d [November 29, 1999]
  12.585 -  Add type cast (png_const_charp) two places in png.c
  12.586 -  Eliminated pngtypes.h; use macros instead to declare PNG_CHNK arrays.
  12.587 -  Renamed "PNG_GLOBAL_ARRAYS" to "PNG_USE_GLOBAL_ARRAYS" and made available
  12.588 -    to applications a macro "PNG_USE_LOCAL_ARRAYS".
  12.589 -  comment out (with #ifdef) all the new declarations when
  12.590 -    PNG_USE_GLOBAL_ARRAYS is defined.
  12.591 -  Added PNG_EXPORT_VAR macro to accommodate making DLL's.
  12.592 -
  12.593 -Version 1.0.5e [November 30, 1999]
  12.594 -  Added iCCP, iTXt, and sPLT support; added "lang" member to the png_text
  12.595 -    structure; refactored the inflate/deflate support to make adding new chunks
  12.596 -    with trailing compressed parts easier in the future, and added new functions
  12.597 -    png_free_iCCP, png_free_pCAL, png_free_sPLT, png_free_text, png_get_iCCP,
  12.598 -    png_get_spalettes, png_set_iCCP, png_set_spalettes (Eric S. Raymond).
  12.599 -    NOTE: Applications that write text chunks MUST define png_text->lang
  12.600 -    before calling png_set_text(). It must be set to NULL if you want to
  12.601 -    write tEXt or zTXt chunks.  If you want your application to be able to
  12.602 -    run with older versions of libpng, use
  12.603 -
  12.604 -      #ifdef PNG_iTXt_SUPPORTED
  12.605 -         png_text[i].lang = NULL;
  12.606 -      #endif
  12.607 -
  12.608 -  Changed png_get_oFFs() and png_set_oFFs() to use signed rather than unsigned
  12.609 -    offsets (Eric S. Raymond).
  12.610 -  Combined PNG_READ_cHNK_SUPPORTED and PNG_WRITE_cHNK_SUPPORTED macros into
  12.611 -    PNG_cHNK_SUPPORTED and combined the three types of PNG_text_SUPPORTED
  12.612 -    macros, leaving the separate macros also available.
  12.613 -  Removed comments on #endifs at the end of many short, non-nested #if-blocks.
  12.614 -
  12.615 -Version 1.0.5f [December 6, 1999]
  12.616 -  Changed makefile.solaris to issue a warning about potential problems when
  12.617 -    the ucb "ld" is in the path ahead of the ccs "ld".
  12.618 -  Removed "- [date]" from the "synopsis" line in libpng.3 and libpngpf.3.
  12.619 -  Added sCAL chunk support (Eric S. Raymond).
  12.620 -
  12.621 -Version 1.0.5g [December 7, 1999]
  12.622 -  Fixed "png_free_spallettes" typo in png.h
  12.623 -  Added code to handle new chunks in pngpread.c
  12.624 -  Moved PNG_CHNK string macro definitions outside of PNG_NO_EXTERN block
  12.625 -  Added "translated_key" to png_text structure and png_write_iTXt().
  12.626 -  Added code in pngwrite.c to work around a newly discovered zlib bug.
  12.627 -
  12.628 -Version 1.0.5h [December 10, 1999]
  12.629 -  NOTE: regarding the note for version 1.0.5e, the following must also
  12.630 -    be included in your code:
  12.631 -        png_text[i].translated_key = NULL;
  12.632 -  Unknown chunk handling is now supported.
  12.633 -  Option to eliminate all floating point support was added.  Some new
  12.634 -    fixed-point functions such as png_set_gAMA_fixed() were added.
  12.635 -  Expanded tabs and removed trailing blanks in source files.
  12.636 -
  12.637 -Version 1.0.5i [December 13, 1999]
  12.638 -  Added some type casts to silence compiler warnings.
  12.639 -  Renamed "png_free_spalette" to "png_free_spalettes" for consistency.
  12.640 -  Removed leading blanks from a #define in pngvcrd.c
  12.641 -  Added some parameters to the new png_set_keep_unknown_chunks() function.
  12.642 -  Added a test for up->location != 0 in the first instance of writing
  12.643 -    unknown chunks in pngwrite.c
  12.644 -  Changed "num" to "i" in png_free_spalettes() and png_free_unknowns() to
  12.645 -    prevent recursion.
  12.646 -  Added png_free_hIST() function.
  12.647 -  Various patches to fix bugs in the sCAL and integer cHRM processing,
  12.648 -    and to add some convenience macros for use with sCAL.
  12.649 -
  12.650 -Version 1.0.5j [December 21, 1999]
  12.651 -  Changed "unit" parameter of png_write_sCAL from png_byte to int, to work
  12.652 -    around buggy compilers.
  12.653 -  Added new type "png_fixed_point" for integers that hold float*100000 values
  12.654 -  Restored backward compatibility of tEXt/zTXt chunk processing:
  12.655 -    Restored the first four members of png_text to the same order as v.1.0.5d.
  12.656 -    Added members "lang_key" and "itxt_length" to png_text struct.  Set
  12.657 -    text_length=0 when "text" contains iTXt data.  Use the "compression"
  12.658 -    member to distinguish among tEXt/zTXt/iTXt types.  Added
  12.659 -    PNG_ITXT_COMPRESSION_NONE (1) and PNG_ITXT_COMPRESSION_zTXt(2) macros.
  12.660 -    The "Note" above, about backward incompatibility of libpng-1.0.5e, no
  12.661 -    longer applies.
  12.662 -  Fixed png_read|write_iTXt() to read|write parameters in the right order,
  12.663 -    and to write the iTXt chunk after IDAT if it appears in the end_ptr.
  12.664 -  Added pnggccrd.c, version of pngvcrd.c Intel assembler for gcc (Greg Roelofs)
  12.665 -  Reversed the order of trying to write floating-point and fixed-point gAMA.
  12.666 -
  12.667 -Version 1.0.5k [December 27, 1999]
  12.668 -  Added many parentheses, e.g., "if (a && b & c)" becomes "if (a && (b & c))"
  12.669 -  Added png_handle_as_unknown() function (Glenn)
  12.670 -  Added png_free_chunk_list() function and chunk_list and num_chunk_list members
  12.671 -    of png_ptr.
  12.672 -  Eliminated erroneous warnings about multiple sPLT chunks and sPLT-after-PLTE.
  12.673 -  Fixed a libpng-1.0.5h bug in pngrutil.c that was issuing erroneous warnings
  12.674 -    about ignoring incorrect gAMA with sRGB (gAMA was in fact not ignored)
  12.675 -  Added png_free_tRNS(); png_set_tRNS() now malloc's its own trans array (ESR).
  12.676 -  Define png_get_int_32 when oFFs chunk is supported as well as when pCAL is.
  12.677 -  Changed type of proflen from png_int_32 to png_uint_32 in png_get_iCCP().
  12.678 -
  12.679 -Version 1.0.5l [January 1, 2000]
  12.680 -  Added functions png_set_read_user_chunk_fn() and png_get_user_chunk_ptr()
  12.681 -    for setting a callback function to handle unknown chunks and for
  12.682 -    retrieving the associated user pointer (Glenn).
  12.683 -
  12.684 -Version 1.0.5m [January 7, 2000]
  12.685 -  Added high-level functions png_read_png(), png_write_png(), png_free_pixels().
  12.686 -
  12.687 -Version 1.0.5n [January 9, 2000]
  12.688 -  Added png_free_PLTE() function, and modified png_set_PLTE() to malloc its
  12.689 -    own memory for info_ptr->palette.  This makes it safe for the calling
  12.690 -    application to free its copy of the palette any time after it calls
  12.691 -    png_set_PLTE().
  12.692 -
  12.693 -Version 1.0.5o [January 20, 2000]
  12.694 -  Cosmetic changes only (removed some trailing blanks and TABs)
  12.695 -
  12.696 -Version 1.0.5p [January 31, 2000]
  12.697 -  Renamed pngdll.mak to makefile.bd32
  12.698 -  Cosmetic changes in pngtest.c
  12.699 -
  12.700 -Version 1.0.5q [February 5, 2000]
  12.701 -  Relocated the makefile.solaris warning about PATH problems.
  12.702 -  Fixed pngvcrd.c bug by pushing/popping registers in mmxsupport (Bruce Oberg)
  12.703 -  Revised makefile.gcmmx
  12.704 -  Added PNG_SETJMP_SUPPORTED, PNG_SETJMP_NOT_SUPPORTED, and PNG_ABORT() macros
  12.705 -
  12.706 -Version 1.0.5r [February 7, 2000]
  12.707 -  Removed superfluous prototype for png_get_itxt from png.h
  12.708 -  Fixed a bug in pngrtran.c that improperly expanded the background color.
  12.709 -  Return *num_text=0 from png_get_text() when appropriate, and fix documentation
  12.710 -    of png_get_text() in libpng.txt/libpng.3.
  12.711 -
  12.712 -Version 1.0.5s [February 18, 2000]
  12.713 -  Added "png_jmp_env()" macro to pngconf.h, to help people migrate to the
  12.714 -    new error handler that's planned for the next libpng release, and changed
  12.715 -    example.c, pngtest.c, and contrib programs to use this macro.
  12.716 -  Revised some of the DLL-export macros in pngconf.h (Greg Roelofs)
  12.717 -  Fixed a bug in png_read_png() that caused it to fail to expand some images
  12.718 -    that it should have expanded.
  12.719 -  Fixed some mistakes in the unused and undocumented INCH_CONVERSIONS functions
  12.720 -    in pngget.c
  12.721 -  Changed the allocation of palette, history, and trans arrays back to
  12.722 -    the version 1.0.5 method (linking instead of copying) which restores
  12.723 -    backward compatibility with version 1.0.5.  Added some remarks about
  12.724 -    that in example.c.  Added "free_me" member to info_ptr and png_ptr
  12.725 -    and added png_free_data() function.
  12.726 -  Updated makefile.linux and makefile.gccmmx to make directories conditionally.
  12.727 -  Made cosmetic changes to pngasmrd.h
  12.728 -  Added png_set_rows() and png_get_rows(), for use with png_read|write_png().
  12.729 -  Modified png_read_png() to allocate info_ptr->row_pointers only if it
  12.730 -    hasn't already been allocated.
  12.731 -
  12.732 -Version 1.0.5t [March 4, 2000]
  12.733 -  Changed png_jmp_env() migration aiding macro to png_jmpbuf().
  12.734 -  Fixed "interlace" typo (should be "interlaced") in contrib/gregbook/read2-x.c
  12.735 -  Fixed bug with use of PNG_BEFORE_IHDR bit in png_ptr->mode, introduced when
  12.736 -    PNG_FLAG_HAVE_CHUNK_HEADER was moved into png_ptr->mode in version 1.0.5b
  12.737 -  Files in contrib/gregbook were revised to use png_jmpbuf() and to select
  12.738 -    a 24-bit visual if one is available, and to allow abbreviated options.
  12.739 -  Files in contrib/pngminus were revised to use the png_jmpbuf() macro.
  12.740 -  Removed spaces in makefile.linux and makefile.gcmmx, introduced in 1.0.5s
  12.741 -
  12.742 -Version 1.0.5u [March 5, 2000]
  12.743 -  Simplified the code that detects old png.h in png.c and pngtest.c
  12.744 -  Renamed png_spalette (_p, _pp) to png_sPLT_t (_tp, _tpp)
  12.745 -  Increased precision of rgb_to_gray calculations from 8 to 15 bits and
  12.746 -    added png_set_rgb_to_gray_fixed() function.
  12.747 -  Added makefile.bc32 (32-bit Borland C++, C mode)
  12.748 -
  12.749 -Version 1.0.5v [March 11, 2000]
  12.750 -  Added some parentheses to the png_jmpbuf macro definition.
  12.751 -  Updated references to the zlib home page, which has moved to freesoftware.com.
  12.752 -  Corrected bugs in documentation regarding png_read_row() and png_write_row().
  12.753 -  Updated documentation of png_rgb_to_gray calculations in libpng.3/libpng.txt.
  12.754 -  Renamed makefile.borland,turboc3 back to makefile.bor,tc3 as in version 1.0.3,
  12.755 -    revised borland makefiles; added makefile.ibmvac3 and makefile.gcc (Cosmin)
  12.756 -
  12.757 -Version 1.0.6 [March 20, 2000]
  12.758 -  Minor revisions of makefile.bor, libpng.txt, and gregbook/rpng2-win.c
  12.759 -  Added makefile.sggcc (SGI IRIX with gcc)
  12.760 -
  12.761 -Version 1.0.6d [April 7, 2000]
  12.762 -  Changed sprintf() to strcpy() in png_write_sCAL_s() to work without STDIO
  12.763 -  Added data_length parameter to png_decompress_chunk() function
  12.764 -  Revised documentation to remove reference to abandoned png_free_chnk functions
  12.765 -  Fixed an error in png_rgb_to_gray_fixed()
  12.766 -  Revised example.c, usage of png_destroy_write_struct().
  12.767 -  Renamed makefile.ibmvac3 to makefile.ibmc, added libpng.icc IBM project file
  12.768 -  Added a check for info_ptr->free_me&PNG_FREE_TEXT when freeing text in png.c
  12.769 -  Simplify png_sig_bytes() function to remove use of non-ISO-C strdup().
  12.770 -
  12.771 -Version 1.0.6e [April 9, 2000]
  12.772 -  Added png_data_freer() function.
  12.773 -  In the code that checks for over-length tRNS chunks, added check of
  12.774 -    info_ptr->num_trans as well as png_ptr->num_trans (Matthias Benckmann)
  12.775 -  Minor revisions of libpng.txt/libpng.3.
  12.776 -  Check for existing data and free it if the free_me flag is set, in png_set_*()
  12.777 -    and png_handle_*().
  12.778 -  Only define PNG_WEIGHTED_FILTERS_SUPPORTED when PNG_FLOATING_POINT_SUPPORTED
  12.779 -    is defined.
  12.780 -  Changed several instances of PNG_NO_CONSOLE_ID to PNG_NO_STDIO in pngrutil.c
  12.781 -    and mentioned the purposes of the two macros in libpng.txt/libpng.3.
  12.782 -
  12.783 -Version 1.0.6f [April 14, 2000]
  12.784 -  Revised png_set_iCCP() and png_set_rows() to avoid prematurely freeing data.
  12.785 -  Add checks in png_set_text() for NULL members of the input text structure.
  12.786 -  Revised libpng.txt/libpng.3.
  12.787 -  Removed superfluous prototype for png_set_iTXt from png.h
  12.788 -  Removed "else" from pngread.c, after png_error(), and changed "0" to "length".
  12.789 -  Changed several png_errors about malformed ancillary chunks to png_warnings.
  12.790 -
  12.791 -Version 1.0.6g [April 24, 2000]
  12.792 -  Added png_pass-* arrays to pnggccrd.c when PNG_USE_LOCAL_ARRAYS is defined.
  12.793 -  Relocated paragraph about png_set_background() in libpng.3/libpng.txt
  12.794 -    and other revisions (Matthias Benckmann)
  12.795 -  Relocated info_ptr->free_me, png_ptr->free_me, and other info_ptr and
  12.796 -    png_ptr members to restore binary compatibility with libpng-1.0.5
  12.797 -    (breaks compatibility with libpng-1.0.6).
  12.798 -
  12.799 -Version 1.0.6h [April 24, 2000]
  12.800 -  Changed shared library so-number pattern from 2.x.y.z to xy.z (this builds
  12.801 -    libpng.so.10 & libpng.so.10.6h instead of libpng.so.2 & libpng.so.2.1.0.6h)
  12.802 -    This is a temporary change for test purposes.
  12.803 -
  12.804 -Version 1.0.6i [May 2, 2000]
  12.805 -  Rearranged some members at the end of png_info and png_struct, to put
  12.806 -    unknown_chunks_num and free_me within the original size of the png_structs
  12.807 -    and free_me, png_read_user_fn, and png_free_fn within the original png_info,
  12.808 -    because some old applications allocate the structs directly instead of
  12.809 -    using png_create_*().
  12.810 -  Added documentation of user memory functions in libpng.txt/libpng.3
  12.811 -  Modified png_read_png so that it will use user_allocated row_pointers
  12.812 -    if present, unless free_me directs that it be freed, and added description
  12.813 -    of the use of png_set_rows() and png_get_rows() in libpng.txt/libpng.3.
  12.814 -  Added PNG_LEGACY_SUPPORTED macro, and #ifdef out all new (since version
  12.815 -    1.00) members of png_struct and png_info, to regain binary compatibility
  12.816 -    when you define this macro.  Capabilities lost in this event
  12.817 -    are user transforms (new in version 1.0.0),the user transform pointer
  12.818 -    (new in version 1.0.2), rgb_to_gray (new in 1.0.5), iCCP, sCAL, sPLT,
  12.819 -    the high-level interface, and unknown chunks support (all new in 1.0.6).
  12.820 -    This was necessary because of old applications that allocate the structs
  12.821 -    directly as authors were instructed to do in libpng-0.88 and earlier,
  12.822 -    instead of using png_create_*().
  12.823 -  Added modes PNG_CREATED_READ_STRUCT and PNG_CREATED_WRITE_STRUCT which
  12.824 -    can be used to detect codes that directly allocate the structs, and
  12.825 -    code to check these modes in png_read_init() and png_write_init() and
  12.826 -    generate a libpng error if the modes aren't set and PNG_LEGACY_SUPPORTED
  12.827 -    was not defined.
  12.828 -  Added makefile.intel and updated makefile.watcom (Pawel Mrochen)
  12.829 -
  12.830 -Version 1.0.6j [May 3, 2000]
  12.831 -  Overloaded png_read_init() and png_write_init() with macros that convert
  12.832 -    calls to png_read_init_2() or png_write_init_2() that check the version
  12.833 -    and structure sizes.
  12.834 -
  12.835 -Version 1.0.7beta11 [May 7, 2000]
  12.836 -  Removed the new PNG_CREATED_READ_STRUCT and PNG_CREATED_WRITE_STRUCT modes
  12.837 -    which are no longer used.
  12.838 -  Eliminated the three new members of png_text when PNG_LEGACY_SUPPORTED is
  12.839 -    defined or when neither PNG_READ_iTXt_SUPPORTED nor PNG_WRITE_iTXT_SUPPORTED
  12.840 -    is defined.
  12.841 -  Made PNG_NO_READ|WRITE_iTXt the default setting, to avoid memory
  12.842 -    overrun when old applications fill the info_ptr->text structure directly.
  12.843 -  Added PNGAPI macro, and added it to the definitions of all exported functions.
  12.844 -  Relocated version macro definitions ahead of the includes of zlib.h and
  12.845 -    pngconf.h in png.h.
  12.846 -
  12.847 -Version 1.0.7beta12 [May 12, 2000]
  12.848 -  Revised pngset.c to avoid a problem with expanding the png_debug macro.
  12.849 -  Deleted some extraneous defines from pngconf.h
  12.850 -  Made PNG_NO_CONSOLE_IO the default condition when PNG_BUILD_DLL is defined.
  12.851 -  Use MSC _RPTn debugging instead of fprintf if _MSC_VER is defined.
  12.852 -  Added png_access_version_number() function.
  12.853 -  Check for mask&PNG_FREE_CHNK (for TEXT, SCAL, PCAL) in png_free_data().
  12.854 -  Expanded libpng.3/libpng.txt information about png_data_freer().
  12.855 -
  12.856 -Version 1.0.7beta14 [May 17, 2000] (beta13 was not published)
  12.857 -  Changed pnggccrd.c and pngvcrd.c to handle bad adaptive filter types as
  12.858 -    warnings instead of errors, as pngrutil.c does.
  12.859 -  Set the PNG_INFO_IDAT valid flag in png_set_rows() so png_write_png()
  12.860 -    will actually write IDATs.
  12.861 -  Made the default PNG_USE_LOCAL_ARRAYS depend on PNG_DLL instead of WIN32.
  12.862 -  Make png_free_data() ignore its final parameter except when freeing data
  12.863 -    that can have multiple instances (text, sPLT, unknowns).
  12.864 -  Fixed a new bug in png_set_rows().
  12.865 -  Removed info_ptr->valid tests from png_free_data(), as in version 1.0.5.
  12.866 -  Added png_set_invalid() function.
  12.867 -  Fixed incorrect illustrations of png_destroy_write_struct() in example.c.
  12.868 -
  12.869 -Version 1.0.7beta15 [May 30, 2000]
  12.870 -  Revised the deliberately erroneous Linux setjmp code in pngconf.h to produce
  12.871 -    fewer error messages.
  12.872 -  Rearranged checks for Z_OK to check the most likely path first in pngpread.c
  12.873 -    and pngwutil.c.
  12.874 -  Added checks in pngtest.c for png_create_*() returning NULL, and mentioned
  12.875 -    in libpng.txt/libpng.3 the need for applications to check this.
  12.876 -  Changed names of png_default_*() functions in pngtest to pngtest_*().
  12.877 -  Changed return type of png_get_x|y_offset_*() from png_uint_32 to png_int_32.
  12.878 -  Fixed some bugs in the unused PNG_INCH_CONVERSIONS functions in pngget.c
  12.879 -  Set each pointer to NULL after freeing it in png_free_data().
  12.880 -  Worked around a problem in pngconf.h; AIX's strings.h defines an "index"
  12.881 -    macro that conflicts with libpng's png_color_16.index. (Dimitri
  12.882 -    Papadapoulos)
  12.883 -  Added "msvc" directory with MSVC++ project files (Simon-Pierre Cadieux).
  12.884 -
  12.885 -Version 1.0.7beta16 [June 4, 2000]
  12.886 -  Revised the workaround of AIX string.h "index" bug.
  12.887 -  Added a check for overlength PLTE chunk in pngrutil.c.
  12.888 -  Added PNG_NO_POINTER_INDEXING macro to use array-indexing instead of pointer
  12.889 -    indexing in pngrutil.c and pngwutil.c to accommodate a buggy compiler.
  12.890 -  Added a warning in png_decompress_chunk() when it runs out of data, e.g.
  12.891 -    when it tries to read an erroneous PhotoShop iCCP chunk.
  12.892 -  Added PNG_USE_DLL macro.
  12.893 -  Revised the copyright/disclaimer/license notice.
  12.894 -  Added contrib/msvctest directory
  12.895 -
  12.896 -Version 1.0.7rc1 [June 9, 2000]
  12.897 -  Corrected the definition of PNG_TRANSFORM_INVERT_ALPHA  (0x0400 not 0x0200)
  12.898 -  Added contrib/visupng directory (Willem van Schaik)
  12.899 -
  12.900 -Version 1.0.7beta18 [June 23, 2000]
  12.901 -  Revised PNGAPI definition, and pngvcrd.c to work with __GCC__
  12.902 -    and do not redefine PNGAPI if it is passed in via a compiler directive.
  12.903 -  Revised visupng/PngFile.c to remove returns from within the Try block.
  12.904 -  Removed leading underscores from "_PNG_H" and "_PNG_SAVE_BSD_SOURCE" macros.
  12.905 -  Updated contrib/visupng/cexcept.h to version 1.0.0.
  12.906 -  Fixed bugs in pngwrite.c and pngwutil.c that prevented writing iCCP chunks.
  12.907 -
  12.908 -Version 1.0.7rc2 [June 28, 2000]
  12.909 -  Updated license to include disclaimers required by UCITA.
  12.910 -  Fixed "DJBPP" typo in pnggccrd.c introduced in beta18.
  12.911 -
  12.912 -Version 1.0.7 [July 1, 2000]
  12.913 -  Revised the definition of "trans_values" in libpng.3/libpng.txt
  12.914 -
  12.915 -Version 1.0.8beta1 [July 8, 2000]
  12.916 -  Added png_free(png_ptr, key) two places in pngpread.c to stop memory leaks.
  12.917 -  Changed PNG_NO_STDIO to PNG_NO_CONSOLE_IO, several places in pngrutil.c and
  12.918 -    pngwutil.c.
  12.919 -  Changed PNG_EXPORT_VAR to use PNG_IMPEXP, in pngconf.h.
  12.920 -  Removed unused "#include <assert.h>" from png.c
  12.921 -  Added WindowsCE support.
  12.922 -  Revised pnggccrd.c to work with gcc-2.95.2 and in the Cygwin environment.
  12.923 -
  12.924 -Version 1.0.8beta2 [July 10, 2000]
  12.925 -  Added project files to the wince directory and made further revisions
  12.926 -    of pngtest.c, pngrio.c, and pngwio.c in support of WindowsCE.
  12.927 -
  12.928 -Version 1.0.8beta3 [July 11, 2000]
  12.929 -  Only set the PNG_FLAG_FREE_TRNS or PNG_FREE_TRNS flag in png_handle_tRNS()
  12.930 -    for indexed-color input files to avoid potential double-freeing trans array
  12.931 -    under some unusual conditions; problem was introduced in version 1.0.6f.
  12.932 -  Further revisions to pngtest.c and files in the wince subdirectory.
  12.933 -
  12.934 -Version 1.0.8beta4 [July 14, 2000]
  12.935 -  Added the files pngbar.png and pngbar.jpg to the distribution.
  12.936 -  Added makefile.cygwin, and cygwin support in pngconf.h
  12.937 -  Added PNG_NO_ZALLOC_ZERO macro (makes png_zalloc skip zeroing memory)
  12.938 -
  12.939 -Version 1.0.8rc1 [July 16, 2000]
  12.940 -  Revised png_debug() macros and statements to eliminate compiler warnings.
  12.941 -
  12.942 -Version 1.0.8 [July 24, 2000]
  12.943 -  Added png_flush() in pngwrite.c, after png_write_IEND().
  12.944 -  Updated makefile.hpux to build a shared library.
  12.945 -
  12.946 -Version 1.0.9beta1 [November 10, 2000]
  12.947 -  Fixed typo in scripts/makefile.hpux
  12.948 -  Updated makevms.com in scripts and contrib/* and contrib/* (Martin Zinser)
  12.949 -  Fixed seqence-point bug in contrib/pngminus/png2pnm (Martin Zinser)
  12.950 -  Changed "cdrom.com" in documentation to "libpng.org"
  12.951 -  Revised pnggccrd.c to get it all working, and updated makefile.gcmmx (Greg).
  12.952 -  Changed type of "params" from voidp to png_voidp in png_read|write_png().
  12.953 -  Make sure PNGAPI and PNG_IMPEXP are defined in pngconf.h.
  12.954 -  Revised the 3 instances of WRITEFILE in pngtest.c.
  12.955 -  Relocated "msvc" and "wince" project subdirectories into "dll" subdirectory.
  12.956 -  Updated png.rc in dll/msvc project
  12.957 -  Revised makefile.dec to define and use LIBPATH and INCPATH
  12.958 -  Increased size of global png_libpng_ver[] array from 12 to 18 chars.
  12.959 -  Made global png_libpng_ver[], png_sig[] and png_pass_*[] arrays const.
  12.960 -  Removed duplicate png_crc_finish() from png_handle_bKGD() function.
  12.961 -  Added a warning when application calls png_read_update_info() multiple times.
  12.962 -  Revised makefile.cygwin
  12.963 -  Fixed bugs in iCCP support in pngrutil.c and pngwutil.c.
  12.964 -  Replaced png_set_empty_plte_permitted() with png_permit_mng_features().
  12.965 -
  12.966 -Version 1.0.9beta2 [November 19, 2000]
  12.967 -  Renamed the "dll" subdirectory "projects".
  12.968 -  Added borland project files to "projects" subdirectory.
  12.969 -  Set VS_FF_PRERELEASE and VS_FF_PATCHED flags in msvc/png.rc when appropriate.
  12.970 -  Add error message in png_set_compression_buffer_size() when malloc fails.
  12.971 -
  12.972 -Version 1.0.9beta3 [November 23, 2000]
  12.973 -  Revised PNG_LIBPNG_BUILD_TYPE macro in png.h, used in the msvc project.
  12.974 -  Removed the png_flush() in pngwrite.c that crashes some applications
  12.975 -    that don't set png_output_flush_fn.
  12.976 -  Added makefile.macosx and makefile.aix to scripts directory.
  12.977 -
  12.978 -Version 1.0.9beta4 [December 1, 2000]
  12.979 -  Change png_chunk_warning to png_warning in png_check_keyword().
  12.980 -  Increased the first part of msg buffer from 16 to 18 in png_chunk_error().
  12.981 -
  12.982 -Version 1.0.9beta5 [December 15, 2000]
  12.983 -  Added support for filter method 64 (for PNG datastreams embedded in MNG).
  12.984 -
  12.985 -Version 1.0.9beta6 [December 18, 2000]
  12.986 -  Revised png_set_filter() to accept filter method 64 when appropriate.
  12.987 -  Added new PNG_HAVE_PNG_SIGNATURE bit to png_ptr->mode and use it to
  12.988 -    help prevent applications from using MNG features in PNG datastreams.
  12.989 -  Added png_permit_mng_features() function.
  12.990 -  Revised libpng.3/libpng.txt.  Changed "filter type" to "filter method".
  12.991 -
  12.992 -Version 1.0.9rc1 [December 23, 2000]
  12.993 -  Revised test for PNG_HAVE_PNG_SIGNATURE in pngrutil.c
  12.994 -  Fixed error handling of unknown compression type in png_decompress_chunk().
  12.995 -  In pngconf.h, define __cdecl when _MSC_VER is defined.
  12.996 -
  12.997 -Version 1.0.9beta7 [December 28, 2000]
  12.998 -  Changed PNG_TEXT_COMPRESSION_zTXt to PNG_COMPRESSION_TYPE_BASE several places.
  12.999 -  Revised memory management in png_set_hIST and png_handle_hIST in a backward
 12.1000 -    compatible manner.  PLTE and tRNS were revised similarly.
 12.1001 -  Revised the iCCP chunk reader to ignore trailing garbage.
 12.1002 -
 12.1003 -Version 1.0.9beta8 [January 12, 2001]
 12.1004 -  Moved pngasmrd.h into pngconf.h.
 12.1005 -  Improved handling of out-of-spec garbage iCCP chunks generated by PhotoShop.
 12.1006 -
 12.1007 -Version 1.0.9beta9 [January 15, 2001]
 12.1008 -  Added png_set_invalid, png_permit_mng_features, and png_mmx_supported to
 12.1009 -    wince and msvc project module definition files.
 12.1010 -  Minor revision of makefile.cygwin.
 12.1011 -  Fixed bug with progressive reading of narrow interlaced images in pngpread.c
 12.1012 -
 12.1013 -Version 1.0.9beta10 [January 16, 2001]
 12.1014 -  Do not typedef png_FILE_p in pngconf.h when PNG_NO_STDIO is defined.
 12.1015 -  Fixed "png_mmx_supported" typo in project definition files.
 12.1016 -
 12.1017 -Version 1.0.9beta11 [January 19, 2001]
 12.1018 -  Updated makefile.sgi to make shared library.
 12.1019 -  Removed png_mmx_support() function and disabled PNG_MNG_FEATURES_SUPPORTED
 12.1020 -    by default, for the benefit of DLL forward compatibility.  These will
 12.1021 -    be re-enabled in version 1.2.0.
 12.1022 -
 12.1023 -Version 1.0.9rc2 [January 22, 2001]
 12.1024 -  Revised cygwin support.
 12.1025 -
 12.1026 -Version 1.0.9 [January 31, 2001]
 12.1027 -  Added check of cygwin's ALL_STATIC in pngconf.h
 12.1028 -  Added "-nommx" parameter to contrib/gregbook/rpng2-win and rpng2-x demos.
 12.1029 -
 12.1030 -Version 1.0.10beta1 [March 14, 2001]
 12.1031 -  Revised makefile.dec, makefile.sgi, and makefile.sggcc; added makefile.hpgcc.
 12.1032 -  Reformatted libpng.3 to eliminate bad line breaks.
 12.1033 -  Added checks for _mmx_supported in the read_filter_row function of pnggccrd.c
 12.1034 -  Added prototype for png_mmx_support() near the top of pnggccrd.c
 12.1035 -  Moved some error checking from png_handle_IHDR to png_set_IHDR.
 12.1036 -  Added PNG_NO_READ_SUPPORTED and PNG_NO_WRITE_SUPPORTED macros.
 12.1037 -  Revised png_mmx_support() function in pnggccrd.c
 12.1038 -  Restored version 1.0.8 PNG_WRITE_EMPTY_PLTE_SUPPORTED behavior in pngwutil.c
 12.1039 -  Fixed memory leak in contrib/visupng/PngFile.c
 12.1040 -  Fixed bugs in png_combine_row() in pnggccrd.c and pngvcrd.c (C version)
 12.1041 -  Added warnings when retrieving or setting gamma=0.
 12.1042 -  Increased the first part of msg buffer from 16 to 18 in png_chunk_warning().
 12.1043 -
 12.1044 -Version 1.0.10rc1 [March 23, 2001]
 12.1045 -  Changed all instances of memcpy, strcpy, and strlen to png_memcpy, png_strcpy,
 12.1046 -    and png_strlen.
 12.1047 -  Revised png_mmx_supported() function in pnggccrd.c to return proper value.
 12.1048 -  Fixed bug in progressive reading (pngpread.c) with small images (height < 8).
 12.1049 -
 12.1050 -Version 1.0.10 [March 30, 2001]
 12.1051 -  Deleted extraneous space (introduced in 1.0.9) from line 42 of makefile.cygwin
 12.1052 -  Added beos project files (Chris Herborth)
 12.1053 -
 12.1054 -Version 1.0.11beta1 [April 3, 2001]
 12.1055 -  Added type casts on several png_malloc() calls (Dimitri Papadapoulos).
 12.1056 -  Removed a no-longer needed AIX work-around from pngconf.h
 12.1057 -  Changed several "//" single-line comments to C-style in pnggccrd.c
 12.1058 -
 12.1059 -Version 1.0.11beta2 [April 11, 2001]
 12.1060 -  Removed PNGAPI from several functions whose prototypes did not have PNGAPI.
 12.1061 -  Updated scripts/pngos2.def
 12.1062 -
 12.1063 -Version 1.0.11beta3 [April 14, 2001]
 12.1064 -  Added checking the results of many instances of png_malloc() for NULL
 12.1065 -
 12.1066 -Version 1.0.11beta4 [April 20, 2001]
 12.1067 -  Undid the changes from version 1.0.11beta3.  Added a check for NULL return
 12.1068 -    from user's malloc_fn().
 12.1069 -  Removed some useless type casts of the NULL pointer.
 12.1070 -  Added makefile.netbsd
 12.1071 -
 12.1072 -Version 1.0.11 [April 27, 2001]
 12.1073 -  Revised makefile.netbsd
 12.1074 -
 12.1075 -Version 1.0.12beta1 [May 14, 2001]
 12.1076 -  Test for Windows platform in pngconf.h when including malloc.h (Emmanuel Blot)
 12.1077 -  Updated makefile.cygwin and handling of Cygwin's ALL_STATIC in pngconf.h
 12.1078 -  Added some never-to-be-executed code in pnggccrd.c to quiet compiler warnings.
 12.1079 -  Eliminated the png_error about apps using png_read|write_init().  Instead,
 12.1080 -    libpng will reallocate the png_struct and info_struct if they are too small.
 12.1081 -    This retains future binary compatibility for old applications written for
 12.1082 -    libpng-0.88 and earlier.
 12.1083 -
 12.1084 -Version 1.2.0beta1 [May 6, 2001]
 12.1085 -  Bumped DLLNUM to 2.
 12.1086 -  Re-enabled PNG_MNG_FEATURES_SUPPORTED and enabled PNG_ASSEMBLER_CODE_SUPPORTED
 12.1087 -    by default.
 12.1088 -  Added runtime selection of MMX features.
 12.1089 -  Added png_set_strip_error_numbers function and related macros.
 12.1090 -
 12.1091 -Version 1.2.0beta2 [May 7, 2001]
 12.1092 -  Finished merging 1.2.0beta1 with version 1.0.11
 12.1093 -  Added a check for attempts to read or write PLTE in grayscale PNG datastreams.
 12.1094 -
 12.1095 -Version 1.2.0beta3 [May 17, 2001]
 12.1096 -  Enabled user memory function by default.
 12.1097 -  Modified png_create_struct so it passes user mem_ptr to user memory allocator.
 12.1098 -  Increased png_mng_features flag from png_byte to png_uint_32.
 12.1099 -  Bumped shared-library (so-number) and dll-number to 3.
 12.1100 -
 12.1101 -Version 1.2.0beta4 [June 23, 2001]
 12.1102 -  Check for missing profile length field in iCCP chunk and free chunk_data
 12.1103 -    in case of truncated iCCP chunk.
 12.1104 -  Bumped shared-library number to 3 in makefile.sgi and makefile.sggcc
 12.1105 -  Bumped dll-number from 2 to 3 in makefile.cygwin
 12.1106 -  Revised contrib/gregbook/rpng*-x.c to avoid a memory leak and to exit cleanly
 12.1107 -    if user attempts to run it on an 8-bit display.
 12.1108 -  Updated contrib/gregbook
 12.1109 -  Use png_malloc instead of png_zalloc to allocate palette in pngset.c
 12.1110 -  Updated makefile.ibmc
 12.1111 -  Added some typecasts to eliminate gcc 3.0 warnings.  Changed prototypes
 12.1112 -    of png_write_oFFS width and height from png_uint_32 to png_int_32.
 12.1113 -  Updated example.c
 12.1114 -  Revised prototypes for png_debug_malloc and png_debug_free in pngtest.c
 12.1115 -
 12.1116 -Version 1.2.0beta5 [August 8, 2001]
 12.1117 -  Revised contrib/gregbook
 12.1118 -  Revised makefile.gcmmx
 12.1119 -  Revised pnggccrd.c to conditionally compile some thread-unsafe code only
 12.1120 -    when PNG_THREAD_UNSAFE_OK is defined.
 12.1121 -  Added tests to prevent pngwutil.c from writing a bKGD or tRNS chunk with
 12.1122 -    value exceeding 2^bit_depth-1
 12.1123 -  Revised makefile.sgi and makefile.sggcc
 12.1124 -  Replaced calls to fprintf(stderr,...) with png_warning() in pnggccrd.c
 12.1125 -  Removed restriction that do_invert_mono only operate on 1-bit opaque files
 12.1126 -
 12.1127 -Version 1.2.0 [September 1, 2001]
 12.1128 -  Changed a png_warning() to png_debug() in pnggccrd.c
 12.1129 -  Fixed contrib/gregbook/rpng-x.c, rpng2-x.c to avoid crash with XFreeGC().
 12.1130 -
 12.1131 -Version 1.2.1beta1 [October 19, 2001]
 12.1132 -  Revised makefile.std in contrib/pngminus
 12.1133 -  Include background_1 in png_struct regardless of gamma support.
 12.1134 -  Revised makefile.netbsd and makefile.macosx, added makefile.darwin.
 12.1135 -  Revised example.c to provide more details about using row_callback().
 12.1136 -
 12.1137 -Version 1.2.1beta2 [October 25, 2001]
 12.1138 -  Added type cast to each NULL appearing in a function call, except for
 12.1139 -    WINCE functions.
 12.1140 -  Added makefile.so9.
 12.1141 -
 12.1142 -Version 1.2.1beta3 [October 27, 2001]
 12.1143 -  Removed type casts from all NULLs.
 12.1144 -  Simplified png_create_struct_2().
 12.1145 -
 12.1146 -Version 1.2.1beta4 [November 7, 2001]
 12.1147 -  Revised png_create_info_struct() and png_creat_struct_2().
 12.1148 -  Added error message if png_write_info() was omitted.
 12.1149 -  Type cast NULLs appearing in function calls when _NO_PROTO or
 12.1150 -    PNG_TYPECAST_NULL is defined.
 12.1151 -
 12.1152 -Version 1.2.1rc1 [November 24, 2001]
 12.1153 -  Type cast NULLs appearing in function calls except when PNG_NO_TYPECAST_NULL
 12.1154 -    is defined.
 12.1155 -  Changed typecast of "size" argument to png_size_t in pngmem.c calls to
 12.1156 -    the user malloc_fn, to agree with the prototype in png.h
 12.1157 -  Added a pop/push operation to pnggccrd.c, to preserve Eflag (Maxim Sobolev)
 12.1158 -  Updated makefile.sgi to recognize LIBPATH and INCPATH.
 12.1159 -  Updated various makefiles so "make clean" does not remove previous major
 12.1160 -    version of the shared library.
 12.1161 -
 12.1162 -Version 1.2.1rc2 [December 4, 2001]
 12.1163 -  Always allocate 256-entry internal palette, hist, and trans arrays, to
 12.1164 -    avoid out-of-bounds memory reference caused by invalid PNG datastreams.
 12.1165 -  Added a check for prefix_length > data_length in iCCP chunk handler.
 12.1166 -
 12.1167 -Version 1.2.1 [December 7, 2001]
 12.1168 -  None.
 12.1169 -
 12.1170 -Version 1.2.2beta1 [February 22, 2002]
 12.1171 -  Fixed a bug with reading the length of iCCP profiles (Larry Reeves).
 12.1172 -  Revised makefile.linux, makefile.gcmmx, and makefile.sgi to generate
 12.1173 -    libpng.a, libpng12.so (not libpng.so.3), and libpng12/png.h
 12.1174 -  Revised makefile.darwin to remove "-undefined suppress" option.
 12.1175 -  Added checks for gamma and chromaticity values over 21474.83, which exceed
 12.1176 -    the limit for PNG unsigned 32-bit integers when encoded.
 12.1177 -  Revised calls to png_create_read_struct() and png_create_write_struct()
 12.1178 -    for simpler debugging.
 12.1179 -  Revised png_zalloc() so zlib handles errors (uses PNG_FLAG_MALLOC_NULL_MEM_OK)
 12.1180 -
 12.1181 -Version 1.2.2beta2 [February 23, 2002]
 12.1182 -  Check chunk_length and idat_size for invalid (over PNG_MAX_UINT) lengths.
 12.1183 -  Check for invalid image dimensions in png_get_IHDR.
 12.1184 -  Added missing "fi;" in the install target of the SGI makefiles.
 12.1185 -  Added install-static to all makefiles that make shared libraries.
 12.1186 -  Always do gamma compensation when image is partially transparent.
 12.1187 -
 12.1188 -Version 1.2.2beta3 [March 7, 2002]
 12.1189 -  Compute background.gray and background_1.gray even when color_type is RGB
 12.1190 -    in case image gets reduced to gray later.
 12.1191 -  Modified shared-library makefiles to install pkgconfig/libpngNN.pc.
 12.1192 -  Export (with PNGAPI) png_zalloc, png_zfree, and png_handle_as_unknown
 12.1193 -  Removed unused png_write_destroy_info prototype from png.h
 12.1194 -  Eliminated incorrect use of width_mmx from pnggccrd.c in pixel_bytes == 8 case
 12.1195 -  Added install-shared target to all makefiles that make shared libraries.
 12.1196 -  Stopped a double free of palette, hist, and trans when not using free_me.
 12.1197 -  Added makefile.32sunu for Sun Ultra 32 and makefile.64sunu for Sun Ultra 64.
 12.1198 -
 12.1199 -Version 1.2.2beta4 [March 8, 2002]
 12.1200 -  Compute background.gray and background_1.gray even when color_type is RGB
 12.1201 -    in case image gets reduced to gray later (Jason Summers).
 12.1202 -  Relocated a misplaced /bin/rm in the "install-shared" makefile targets
 12.1203 -  Added PNG_1_0_X macro which can be used to build a 1.0.x-compatible library.
 12.1204 -
 12.1205 -Version 1.2.2beta5 [March 26, 2002]
 12.1206 -  Added missing PNGAPI to several function definitions.
 12.1207 -  Check for invalid bit_depth or color_type in png_get_IHDR(), and
 12.1208 -    check for missing PLTE or IHDR in png_push_read_chunk() (Matthias Clasen).
 12.1209 -  Revised iTXt support to accept NULL for lang and lang_key.
 12.1210 -  Compute gamma for color components of background even when color_type is gray.
 12.1211 -  Changed "()" to "{}" in scripts/libpng.pc.in.
 12.1212 -  Revised makefiles to put png.h and pngconf.h only in $prefix/include/libpngNN
 12.1213 -  Revised makefiles to make symlink to libpng.so.NN in addition to libpngNN.so
 12.1214 -
 12.1215 -Version 1.2.2beta6 [March 31, 2002]
 12.1216 -
 12.1217 -Version 1.0.13beta1 [March 31, 2002]
 12.1218 -  Prevent png_zalloc() from trying to memset memory that it failed to acquire.
 12.1219 -  Add typecasts of PNG_MAX_UINT in pngset_cHRM_fixed() (Matt Holgate).
 12.1220 -  Ensure that the right function (user or default) is used to free the
 12.1221 -    png_struct after an error in png_create_read_struct_2().
 12.1222 -
 12.1223 -Version 1.2.2rc1 [April 7, 2002]
 12.1224 -
 12.1225 -Version 1.0.13rc1 [April 7, 2002]
 12.1226 -  Save the ebx register in pnggccrd.c (Sami Farin)
 12.1227 -  Add "mem_ptr = png_ptr->mem_ptr" in png_destroy_write_struct() (Paul Gardner).
 12.1228 -  Updated makefiles to put headers in include/libpng and remove old include/*.h.
 12.1229 -
 12.1230 -Version 1.2.2 [April 15, 2002]
 12.1231 -
 12.1232 -Version 1.0.13 [April 15, 2002]
 12.1233 -  Revised description of png_set_filter() in libpng.3/libpng.txt.
 12.1234 -  Revised makefile.netbsd and added makefile.neNNbsd and makefile.freebsd
 12.1235 -
 12.1236 -Version 1.0.13patch01 [April 17, 2002]
 12.1237 -
 12.1238 -Version 1.2.2patch01 [April 17, 2002]
 12.1239 -  Changed ${PNGMAJ}.${PNGVER} bug to ${PNGVER} in makefile.sgi and
 12.1240 -    makefile.sggcc
 12.1241 -  Fixed VER -> PNGVER typo in makefile.macosx and added install-static to
 12.1242 -    install
 12.1243 -  Added install: target to makefile.32sunu and makefile.64sunu
 12.1244 -
 12.1245 -Version 1.0.13patch03 [April 18, 2002]
 12.1246 -
 12.1247 -Version 1.2.2patch03 [April 18, 2002]
 12.1248 -  Revised 15 makefiles to link libpng.a to libpngNN.a and the include libpng
 12.1249 -  subdirectory to libpngNN subdirectory without the full pathname.
 12.1250 -  Moved generation of libpng.pc from "install" to "all" in 15 makefiles.
 12.1251 -
 12.1252 -Version 1.2.3rc1 [April 28, 2002]
 12.1253 -  Added install-man target to 15 makefiles (Dimitri Papadopolous-Orfanos).
 12.1254 -  Added $(DESTDIR) feature to 24 makefiles (Tim Mooney)
 12.1255 -  Fixed bug with $prefix, should be $(prefix) in makefile.hpux.
 12.1256 -  Updated cygwin-specific portion of pngconf.h and revised makefile.cygwin
 12.1257 -  Added a link from libpngNN.pc to libpng.pc in 15 makefiles.
 12.1258 -  Added links from include/libpngNN/*.h to include/*.h in 24 makefiles.
 12.1259 -  Revised makefile.darwin to make relative links without full pathname.
 12.1260 -  Added setjmp() at the end of png_create_*_struct_2() in case user forgets
 12.1261 -    to put one in their application.
 12.1262 -  Restored png_zalloc() and png_zfree() prototypes to version 1.2.1 and
 12.1263 -    removed them from module definition files.
 12.1264 -
 12.1265 -Version 1.2.3rc2 [May 1, 2002]
 12.1266 -  Fixed bug in reporting number of channels in pngget.c and pngset.c,
 12.1267 -    that was introduced in version 1.2.2beta5.
 12.1268 -  Exported png_zalloc(), png_zfree(), png_default_read(), png_default_write(),
 12.1269 -    png_default_flush(), and png_push_fill_buffer() and included them in
 12.1270 -    module definition files.
 12.1271 -  Added "libpng.pc" dependency to the "install-shared" target in 15 makefiles.
 12.1272 -
 12.1273 -Version 1.2.3rc3 [May 1, 2002]
 12.1274 -  Revised prototype for png_default_flush()
 12.1275 -  Remove old libpng.pc and libpngNN.pc before installing new ones.
 12.1276 -
 12.1277 -Version 1.2.3rc4 [May 2, 2002]
 12.1278 -  Typos in *.def files (png_default_read|write -> png_default_read|write_data)
 12.1279 -  In makefiles, changed rm libpng.NN.pc to rm libpngNN.pc
 12.1280 -  Added libpng-config and libpngNN-config and modified makefiles to install
 12.1281 -    them.
 12.1282 -  Changed $(MANPATH) to $(DESTDIR)$(MANPATH) in makefiles
 12.1283 -  Added "Win32 DLL VB" configuration to projects/msvc/libpng.dsp
 12.1284 -
 12.1285 -Version 1.2.3rc5 [May 11, 2002]
 12.1286 -  Changed "error" and "message" in prototypes to "error_message" and
 12.1287 -    "warning_message" to avoid namespace conflict.
 12.1288 -  Revised 15 makefiles to build libpng-config from libpng-config-*.in
 12.1289 -  Once more restored png_zalloc and png_zfree to regular nonexported form.
 12.1290 -  Restored png_default_read|write_data, png_default_flush, png_read_fill_buffer
 12.1291 -    to nonexported form, but with PNGAPI, and removed them from module def
 12.1292 -    files.
 12.1293 -
 12.1294 -Version 1.2.3rc6 [May 14, 2002]
 12.1295 -  Removed "PNGAPI" from png_zalloc() and png_zfree() in png.c
 12.1296 -  Changed "Gz" to "Gd" in projects/msvc/libpng.dsp and zlib.dsp.
 12.1297 -  Removed leftover libpng-config "sed" script from four makefiles.
 12.1298 -  Revised libpng-config creating script in 16 makefiles.
 12.1299 -
 12.1300 -Version 1.2.3 [May 22, 2002]
 12.1301 -  Revised libpng-config target in makefile.cygwin.
 12.1302 -  Removed description of png_set_mem_fn() from documentation.
 12.1303 -  Revised makefile.freebsd.
 12.1304 -  Minor cosmetic changes to 15 makefiles, e.g., $(DI) = $(DESTDIR)/$(INCDIR).
 12.1305 -  Revised projects/msvc/README.txt
 12.1306 -  Changed -lpng to -lpngNN in LDFLAGS in several makefiles.
 12.1307 -
 12.1308 -Version 1.2.4beta1 [May 24, 2002]
 12.1309 -  Added libpng.pc and libpng-config to "all:" target in 16 makefiles.
 12.1310 -  Fixed bug in 16 makefiles: $(DESTDIR)/$(LIBPATH) to $(DESTDIR)$(LIBPATH)
 12.1311 -  Added missing "\" before closing double quote in makefile.gcmmx.
 12.1312 -  Plugged various memory leaks; added png_malloc_warn() and png_set_text_2()
 12.1313 -    functions.
 12.1314 -
 12.1315 -Version 1.2.4beta2 [June 25, 2002]
 12.1316 -  Plugged memory leak of png_ptr->current_text (Matt Holgate).
 12.1317 -  Check for buffer overflow before reading CRC in pngpread.c (Warwick Allison)
 12.1318 -  Added -soname to the loader flags in makefile.dec, makefile.sgi, and
 12.1319 -    makefile.sggcc.
 12.1320 -  Added "test-installed" target to makefile.linux, makefile.gcmmx,
 12.1321 -    makefile.sgi, and makefile.sggcc.
 12.1322 -
 12.1323 -Version 1.2.4beta3 [June 28, 2002]
 12.1324 -  Plugged memory leak of row_buf in pngtest.c when there is a png_error().
 12.1325 -  Detect buffer overflow in pngpread.c when IDAT is corrupted with extra data.
 12.1326 -  Added "test-installed" target to makefile.32sunu, makefile.64sunu,
 12.1327 -    makefile.beos, makefile.darwin, makefile.dec, makefile.macosx,
 12.1328 -    makefile.solaris, makefile.hpux, makefile.hpgcc, and makefile.so9.
 12.1329 -
 12.1330 -Version 1.2.4rc1 and 1.0.14rc1 [July 2, 2002]
 12.1331 -  Added "test-installed" target to makefile.cygwin and makefile.sco.
 12.1332 -  Revised pnggccrd.c to be able to back out version 1.0.x via PNG_1_0_X macro.
 12.1333 -
 12.1334 -Version 1.2.4 and 1.0.14 [July 8, 2002]
 12.1335 -  Changed png_warning() to png_error() when width is too large to process.
 12.1336 -
 12.1337 -Version 1.2.4patch01 [July 20, 2002]
 12.1338 -  Revised makefile.cygwin to use DLL number 12 instead of 13.
 12.1339 -
 12.1340 -Version 1.2.5beta1 [August 6, 2002]
 12.1341 -  Added code to contrib/gregbook/readpng2.c to ignore unused chunks.
 12.1342 -  Replaced toucan.png in contrib/gregbook (it has been corrupt since 1.0.11)
 12.1343 -  Removed some stray *.o files from contrib/gregbook.
 12.1344 -  Changed png_error() to png_warning() about "Too much data" in pngpread.c
 12.1345 -    and about "Extra compressed data" in pngrutil.c.
 12.1346 -  Prevent png_ptr->pass from exceeding 7 in png_push_finish_row().
 12.1347 -  Updated makefile.hpgcc
 12.1348 -  Updated png.c and pnggccrd.c handling of return from png_mmx_support()
 12.1349 -
 12.1350 -Version 1.2.5beta2 [August 15, 2002]
 12.1351 -  Only issue png_warning() about "Too much data" in pngpread.c when avail_in
 12.1352 -    is nonzero.
 12.1353 -  Updated makefiles to install a separate libpng.so.3 with its own rpath.
 12.1354 -
 12.1355 -Version 1.2.5rc1 and 1.0.15rc1 [August 24, 2002]
 12.1356 -  Revised makefiles to not remove previous minor versions of shared libraries.
 12.1357 -
 12.1358 -Version 1.2.5rc2 and 1.0.15rc2 [September 16, 2002]
 12.1359 -  Revised 13 makefiles to remove "-lz" and "-L$(ZLIBLIB)", etc., from shared
 12.1360 -    library loader directive.
 12.1361 -  Added missing "$OBJSDLL" line to makefile.gcmmx.
 12.1362 -  Added missing "; fi" to makefile.32sunu.
 12.1363 -
 12.1364 -Version 1.2.5rc3 and 1.0.15rc3 [September 18, 2002]
 12.1365 -  Revised libpng-config script.
 12.1366 -
 12.1367 -Version 1.2.5 and 1.0.15 [October 3, 2002]
 12.1368 -  Revised makefile.macosx, makefile.darwin, makefile.hpgcc, and makefile.hpux,
 12.1369 -    and makefile.aix.
 12.1370 -  Relocated two misplaced PNGAPI lines in pngtest.c
 12.1371 -
 12.1372 -Version 1.2.6beta1 [October 22, 2002]
 12.1373 -  Commented out warning about uninitialized mmx_support in pnggccrd.c.
 12.1374 -  Changed "IBMCPP__" flag to "__IBMCPP__" in pngconf.h.
 12.1375 -  Relocated two more misplaced PNGAPI lines in pngtest.c
 12.1376 -  Fixed memory overrun bug in png_do_read_filler() with 16-bit datastreams,
 12.1377 -    introduced in version 1.0.2.
 12.1378 -  Revised makefile.macosx, makefile.dec, makefile.aix, and makefile.32sunu.
 12.1379 -
 12.1380 -Version 1.2.6beta2 [November 1, 2002]
 12.1381 -  Added libpng-config "--ldopts" output.
 12.1382 -  Added "AR=ar" and "ARFLAGS=rc" and changed "ar rc" to "$(AR) $(ARFLAGS)"
 12.1383 -    in makefiles.
 12.1384 -
 12.1385 -Version 1.2.6beta3 [July 18, 2004]
 12.1386 -  Reverted makefile changes from version 1.2.6beta2 and some of the changes
 12.1387 -    from version 1.2.6beta1; these will be postponed until version 1.2.7.
 12.1388 -    Version 1.2.6 is going to be a simple bugfix release.
 12.1389 -  Changed the one instance of "ln -sf" to "ln -f -s" in each Sun makefile.
 12.1390 -  Fixed potential overrun in pngerror.c by using strncpy instead of memcpy.
 12.1391 -  Added "#!/bin/sh" at the top of configure, for recognition of the
 12.1392 -    'x' flag under Cygwin (Cosmin).
 12.1393 -  Optimized vacuous tests that silence compiler warnings, in png.c (Cosmin).
 12.1394 -  Added support for PNG_USER_CONFIG, in pngconf.h (Cosmin).
 12.1395 -  Fixed the special memory handler for Borland C under DOS, in pngmem.c
 12.1396 -    (Cosmin).
 12.1397 -  Removed some spurious assignments in pngrutil.c (Cosmin).
 12.1398 -  Replaced 65536 with 65536L, and 0xffff with 0xffffL, to silence warnings
 12.1399 -    on 16-bit platforms (Cosmin).
 12.1400 -  Enclosed shift op expressions in parentheses, to silence warnings (Cosmin).
 12.1401 -  Used proper type png_fixed_point, to avoid problems on 16-bit platforms,
 12.1402 -    in png_handle_sRGB() (Cosmin).
 12.1403 -  Added compression_type to png_struct, and optimized the window size
 12.1404 -    inside the deflate stream (Cosmin).
 12.1405 -  Fixed definition of isnonalpha(), in pngerror.c and pngrutil.c (Cosmin).
 12.1406 -  Fixed handling of unknown chunks that come after IDAT (Cosmin).
 12.1407 -  Allowed png_error() and png_warning() to work even if png_ptr == NULL
 12.1408 -    (Cosmin).
 12.1409 -  Replaced row_info->rowbytes with row_bytes in png_write_find_filter()
 12.1410 -    (Cosmin).
 12.1411 -  Fixed definition of PNG_LIBPNG_VER_DLLNUM (Simon-Pierre).
 12.1412 -  Used PNG_LIBPNG_VER and PNG_LIBPNG_VER_STRING instead of the hardcoded
 12.1413 -    values in png.c (Simon-Pierre, Cosmin).
 12.1414 -  Initialized png_libpng_ver[] with PNG_LIBPNG_VER_STRING (Simon-Pierre).
 12.1415 -  Replaced PNG_LIBPNG_VER_MAJOR with PNG_LIBPNG_VER_DLLNUM in png.rc
 12.1416 -    (Simon-Pierre).
 12.1417 -  Moved the definition of PNG_HEADER_VERSION_STRING near the definitions
 12.1418 -    of the other PNG_LIBPNG_VER_... symbols in png.h (Cosmin).
 12.1419 -  Relocated #ifndef PNGAPI guards in pngconf.h (Simon-Pierre, Cosmin).
 12.1420 -  Updated scripts/makefile.vc(a)win32 (Cosmin).
 12.1421 -  Updated the MSVC project (Simon-Pierre, Cosmin).
 12.1422 -  Updated the Borland C++ Builder project (Cosmin).
 12.1423 -  Avoided access to asm_flags in pngvcrd.c, if PNG_1_0_X is defined (Cosmin).
 12.1424 -  Commented out warning about uninitialized mmx_support in pngvcrd.c (Cosmin).
 12.1425 -  Removed scripts/makefile.bd32 and scripts/pngdef.pas (Cosmin).
 12.1426 -  Added extra guard around inclusion of Turbo C memory headers, in pngconf.h
 12.1427 -    (Cosmin).
 12.1428 -  Renamed projects/msvc/ to projects/visualc6/, and projects/borland/ to
 12.1429 -    projects/cbuilder5/ (Cosmin).
 12.1430 -  Moved projects/visualc6/png32ms.def to scripts/pngw32.def,
 12.1431 -    and projects/visualc6/png.rc to scripts/pngw32.rc (Cosmin).
 12.1432 -  Added projects/visualc6/pngtest.dsp; removed contrib/msvctest/ (Cosmin).
 12.1433 -  Changed line endings to DOS style in cbuilder5 and visualc6 files, even
 12.1434 -    in the tar.* distributions (Cosmin).
 12.1435 -  Updated contrib/visupng/VisualPng.dsp (Cosmin).
 12.1436 -  Updated contrib/visupng/cexcept.h to version 2.0.0 (Cosmin).
 12.1437 -  Added a separate distribution with "configure" and supporting files (Junichi).
 12.1438 -
 12.1439 -Version 1.2.6beta4 [July 28, 2004]
 12.1440 -  Added user ability to change png_size_t via a PNG_SIZE_T macro.
 12.1441 -  Added png_sizeof() and png_convert_size() functions.
 12.1442 -  Added PNG_SIZE_MAX (maximum value of a png_size_t variable.
 12.1443 -  Added check in png_malloc_default() for (size_t)size != (png_uint_32)size
 12.1444 -    which would indicate an overflow.
 12.1445 -  Changed sPLT failure action from png_error to png_warning and abandon chunk.
 12.1446 -  Changed sCAL and iCCP failures from png_error to png_warning and abandon.
 12.1447 -  Added png_get_uint_31(png_ptr, buf) function.
 12.1448 -  Added PNG_UINT_32_MAX macro.
 12.1449 -  Renamed PNG_MAX_UINT to PNG_UINT_31_MAX.
 12.1450 -  Made png_zalloc() issue a png_warning and return NULL on potential
 12.1451 -    overflow.
 12.1452 -  Turn on PNG_NO_ZALLOC_ZERO by default in version 1.2.x
 12.1453 -  Revised "clobber list" in pnggccrd.c so it will compile under gcc-3.4.
 12.1454 -  Revised Borland portion of png_malloc() to return NULL or issue
 12.1455 -    png_error() according to setting of PNG_FLAG_MALLOC_NULL_MEM_OK.
 12.1456 -  Added PNG_NO_SEQUENTIAL_READ_SUPPORTED macro to conditionally remove
 12.1457 -    sequential read support.
 12.1458 -  Added some "#if PNG_WRITE_SUPPORTED" blocks.
 12.1459 -  Added #ifdef to remove some redundancy in png_malloc_default().
 12.1460 -  Use png_malloc instead of png_zalloc to allocate the pallete.
 12.1461 -
 12.1462 -Version 1.0.16rc1 and 1.2.6rc1 [August 4, 2004]
 12.1463 -  Fixed buffer overflow vulnerability (CVE-2004-0597) in png_handle_tRNS().
 12.1464 -  Fixed NULL dereference vulnerability (CVE-2004-0598) in png_handle_iCCP().
 12.1465 -  Fixed integer overflow vulnerability (CVE-2004-0599) in png_read_png().
 12.1466 -  Fixed some harmless bugs in png_handle_sBIT, etc, that would cause
 12.1467 -    duplicate chunk types to go undetected.
 12.1468 -  Fixed some timestamps in the -config version
 12.1469 -  Rearranged order of processing of color types in png_handle_tRNS().
 12.1470 -  Added ROWBYTES macro to calculate rowbytes without integer overflow.
 12.1471 -  Updated makefile.darwin and removed makefile.macosx from scripts directory.
 12.1472 -  Imposed default one million column, one-million row limits on the image
 12.1473 -    dimensions, and added png_set_user_limits() function to override them.
 12.1474 -  Revised use of PNG_SET_USER_LIMITS_SUPPORTED macro.
 12.1475 -  Fixed wrong cast of returns from png_get_user_width|height_max().
 12.1476 -  Changed some "keep the compiler happy" from empty statements to returns,
 12.1477 -  Revised libpng.txt to remove 1.2.x stuff from the 1.0.x distribution
 12.1478 -
 12.1479 -Version 1.0.16rc2 and 1.2.6rc2 [August 7, 2004]
 12.1480 -  Revised makefile.darwin and makefile.solaris.  Removed makefile.macosx.
 12.1481 -  Revised pngtest's png_debug_malloc() to use png_malloc() instead of
 12.1482 -    png_malloc_default() which is not supposed to be exported.
 12.1483 -  Fixed off-by-one error in one of the conversions to PNG_ROWBYTES() in
 12.1484 -    pngpread.c.  Bug was introduced in 1.2.6rc1.
 12.1485 -  Fixed bug in RGB to RGBX transformation introduced in 1.2.6rc1.
 12.1486 -  Fixed old bug in RGB to Gray transformation.
 12.1487 -  Fixed problem with 64-bit compilers by casting arguments to abs()
 12.1488 -    to png_int_32.
 12.1489 -  Changed "ln -sf" to "ln -f -s" in three makefiles (solaris, sco, so9).
 12.1490 -  Changed "HANDLE_CHUNK_*" to "PNG_HANDLE_CHUNK_*" (Cosmin)
 12.1491 -  Added "-@/bin/rm -f $(DL)/$(LIBNAME).so.$(PNGMAJ)" to 15 *NIX makefiles.
 12.1492 -  Added code to update the row_info->colortype in png_do_read_filler() (MSB).
 12.1493 -
 12.1494 -Version 1.0.16rc3 and 1.2.6rc3 [August 9, 2004]
 12.1495 -  Eliminated use of "abs()" in testing cHRM and gAMA values, to avoid
 12.1496 -    trouble with some 64-bit compilers.  Created PNG_OUT_OF_RANGE() macro.
 12.1497 -  Revised documentation of png_set_keep_unknown_chunks().
 12.1498 -  Check handle_as_unknown status in pngpread.c, as in pngread.c previously.
 12.1499 -  Moved  "PNG_HANDLE_CHUNK_*" macros out of PNG_INTERNAL section of png.h
 12.1500 -  Added "rim" definitions for CONST4 and CONST6 in pnggccrd.c
 12.1501 -
 12.1502 -Version 1.0.16rc4 and 1.2.6rc4 [August 10, 2004]
 12.1503 -  Fixed mistake in pngtest.c introduced in 1.2.6rc2 (declaration of
 12.1504 -    "pinfo" was out of place).
 12.1505 -
 12.1506 -Version 1.0.16rc5 and 1.2.6rc5 [August 10, 2004]
 12.1507 -  Moved  "PNG_HANDLE_CHUNK_*" macros out of PNG_ASSEMBLER_CODE_SUPPORTED
 12.1508 -    section of png.h where they were inadvertently placed in version rc3.
 12.1509 -
 12.1510 -Version 1.2.6 and 1.0.16 [August 15, 2004]
 12.1511 -  Revised pngtest so memory allocation testing is only done when PNG_DEBUG==1.
 12.1512 -
 12.1513 -Version 1.2.7beta1 [August 26, 2004]
 12.1514 -  Removed unused pngasmrd.h file.
 12.1515 -  Removed references to uu.net for archived files.  Added references to
 12.1516 -    PNG Spec (second edition) and the PNG ISO/IEC Standard.
 12.1517 -  Added "test-dd" target in 15 makefiles, to run pngtest in DESTDIR.
 12.1518 -  Fixed bug with "optimized window size" in the IDAT datastream, that
 12.1519 -    causes libpng to write PNG files with incorrect zlib header bytes.
 12.1520 -
 12.1521 -Version 1.2.7beta2 [August 28, 2004]
 12.1522 -  Fixed bug with sCAL chunk and big-endian machines (David Munro).
 12.1523 -  Undid new code added in 1.2.6rc2 to update the color_type in
 12.1524 -    png_set_filler().
 12.1525 -  Added png_set_add_alpha() that updates color type.
 12.1526 -
 12.1527 -Version 1.0.17rc1 and 1.2.7rc1 [September 4, 2004]
 12.1528 -  Revised png_set_strip_filler() to not remove alpha if color_type has alpha.
 12.1529 -
 12.1530 -Version 1.2.7 and 1.0.17 [September 12, 2004]
 12.1531 -  Added makefile.hp64
 12.1532 -  Changed projects/msvc/png32ms.def to scripts/png32ms.def in makefile.cygwin
 12.1533 -
 12.1534 -Version 1.2.8beta1 [November 1, 2004]
 12.1535 -  Fixed bug in png_text_compress() that would fail to complete a large block.
 12.1536 -  Fixed bug, introduced in libpng-1.2.7, that overruns a buffer during
 12.1537 -    strip alpha operation in png_do_strip_filler().
 12.1538 -  Added PNG_1_2_X definition in pngconf.h
 12.1539 -  Use #ifdef to comment out png_info_init in png.c and png_read_init in
 12.1540 -    pngread.c (as of 1.3.0)
 12.1541 -
 12.1542 -Version 1.2.8beta2 [November 2, 2004]
 12.1543 -  Reduce color_type to a nonalpha type after strip alpha operation in
 12.1544 -    png_do_strip_filler().
 12.1545 -
 12.1546 -Version 1.2.8beta3 [November 3, 2004]
 12.1547 -  Revised definitions of PNG_MAX_UINT_32, PNG_MAX_SIZE, and PNG_MAXSUM
 12.1548 -
 12.1549 -Version 1.2.8beta4 [November 12, 2004]
 12.1550 -  Fixed (again) definition of PNG_LIBPNG_VER_DLLNUM in png.h (Cosmin).
 12.1551 -  Added PNG_LIBPNG_BUILD_PRIVATE in png.h (Cosmin).
 12.1552 -  Set png_ptr->zstream.data_type to Z_BINARY, to avoid unnecessary detection
 12.1553 -    of data type in deflate (Cosmin).
 12.1554 -  Deprecated but continue to support SPECIALBUILD and PRIVATEBUILD in favor of
 12.1555 -    PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING.
 12.1556 -
 12.1557 -Version 1.2.8beta5 [November 20, 2004]
 12.1558 -  Use png_ptr->flags instead of png_ptr->transformations to pass
 12.1559 -    PNG_STRIP_ALPHA info to png_do_strip_filler(), to preserve ABI
 12.1560 -    compatibility.
 12.1561 -  Revised handling of SPECIALBUILD, PRIVATEBUILD,
 12.1562 -    PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING.
 12.1563 -
 12.1564 -Version 1.2.8rc1 [November 24, 2004]
 12.1565 -  Moved handling of BUILD macros from pngconf.h to png.h
 12.1566 -  Added definition of PNG_LIBPNG_BASE_TYPE in png.h, inadvertently
 12.1567 -    omitted from beta5.
 12.1568 -  Revised scripts/pngw32.rc
 12.1569 -  Despammed mailing addresses by masking "@" with "at".
 12.1570 -  Inadvertently installed a supposedly faster test version of pngrutil.c
 12.1571 -
 12.1572 -Version 1.2.8rc2 [November 26, 2004]
 12.1573 -  Added two missing "\" in png.h
 12.1574 -  Change tests in pngread.c and pngpread.c to
 12.1575 -    if (png_ptr->transformations || (png_ptr->flags&PNG_FLAG_STRIP_ALPHA))
 12.1576 -       png_do_read_transformations(png_ptr);
 12.1577 -
 12.1578 -Version 1.2.8rc3 [November 28, 2004]
 12.1579 -  Reverted pngrutil.c to version libpng-1.2.8beta5.
 12.1580 -  Added scripts/makefile.elf with supporting code in pngconf.h for symbol
 12.1581 -    versioning (John Bowler).
 12.1582 -
 12.1583 -Version 1.2.8rc4 [November 29, 2004]
 12.1584 -  Added projects/visualc7 (Simon-pierre).
 12.1585 -
 12.1586 -Version 1.2.8rc5 [November 29, 2004]
 12.1587 -  Fixed new typo in scripts/pngw32.rc
 12.1588 -
 12.1589 -Version 1.2.8 [December 3, 2004]
 12.1590 -  Removed projects/visualc7, added projects/visualc71.
 12.1591 -
 12.1592 -Version 1.2.9beta1 [February 21, 2006]
 12.1593 -  Initialized some structure members in pngwutil.c to avoid gcc-4.0.0 complaints
 12.1594 -  Revised man page and libpng.txt to make it clear that one should not call
 12.1595 -    png_read_end or png_write_end after png_read_png or png_write_png.
 12.1596 -  Updated references to png-mng-implement mailing list.
 12.1597 -  Fixed an incorrect typecast in pngrutil.c
 12.1598 -  Added PNG_NO_READ_SUPPORTED conditional for making a write-only library.
 12.1599 -  Added PNG_NO_WRITE_INTERLACING_SUPPORTED conditional.
 12.1600 -  Optimized alpha-inversion loops in pngwtran.c
 12.1601 -  Moved test for nonzero gamma outside of png_build_gamma_table() in pngrtran.c
 12.1602 -  Make sure num_trans is <= 256 before copying data in png_set_tRNS().
 12.1603 -  Make sure num_palette is <= 256 before copying data in png_set_PLTE().
 12.1604 -  Interchanged order of write_swap_alpha and write_invert_alpha transforms.
 12.1605 -  Added parentheses in the definition of PNG_LIBPNG_BUILD_TYPE (Cosmin).
 12.1606 -  Optimized zlib window flag (CINFO) in contrib/pngsuite/*.png (Cosmin).
 12.1607 -  Updated scripts/makefile.bc32 for Borland C++ 5.6 (Cosmin).
 12.1608 -  Exported png_get_uint_32, png_save_uint_32, png_get_uint_16, png_save_uint_16,
 12.1609 -    png_get_int_32, png_save_int_32, png_get_uint_31 (Cosmin).
 12.1610 -  Added type cast (png_byte) in png_write_sCAL() (Cosmin).
 12.1611 -  Fixed scripts/makefile.cygwin (Christian Biesinger, Cosmin).
 12.1612 -  Default iTXt support was inadvertently enabled.
 12.1613 -
 12.1614 -Version 1.2.9beta2 [February 21, 2006]
 12.1615 -  Check for png_rgb_to_gray and png_gray_to_rgb read transformations before
 12.1616 -    checking for png_read_dither in pngrtran.c
 12.1617 -  Revised checking of chromaticity limits to accommodate extended RGB
 12.1618 -    colorspace (John Denker).
 12.1619 -  Changed line endings in some of the project files to CRLF, even in the
 12.1620 -    "Unix" tar distributions (Cosmin).
 12.1621 -  Made png_get_int_32 and png_save_int_32 always available (Cosmin).
 12.1622 -  Updated scripts/pngos2.def, scripts/pngw32.def and projects/wince/png32ce.def
 12.1623 -    with the newly exported functions.
 12.1624 -  Eliminated distributions without the "configure" script.
 12.1625 -  Updated INSTALL instructions.
 12.1626 -
 12.1627 -Version 1.2.9beta3 [February 24, 2006]
 12.1628 -  Fixed CRCRLF line endings in contrib/visupng/VisualPng.dsp
 12.1629 -  Made libpng.pc respect EXEC_PREFIX (D. P. Kreil, J. Bowler)
 12.1630 -  Removed reference to pngasmrd.h from Makefile.am
 12.1631 -  Renamed CHANGES to ChangeLog.
 12.1632 -  Renamed LICENSE to COPYING.
 12.1633 -  Renamed ANNOUNCE to NEWS.
 12.1634 -  Created AUTHORS file.
 12.1635 -
 12.1636 -Version 1.2.9beta4 [March 3, 2006]
 12.1637 -  Changed definition of PKGCONFIG from $prefix/lib to $libdir in configure.ac
 12.1638 -  Reverted to filenames LICENSE and ANNOUNCE; removed AUTHORS and COPYING.
 12.1639 -  Removed newline from the end of some error and warning messages.
 12.1640 -  Removed test for sqrt() from configure.ac and configure.
 12.1641 -  Made swap tables in pngtrans.c PNG_CONST (Carlo Bramix).
 12.1642 -  Disabled default iTXt support that was inadvertently enabled in
 12.1643 -    libpng-1.2.9beta1.
 12.1644 -  Added "OS2" to list of systems that don't need underscores, in pnggccrd.c
 12.1645 -  Removed libpng version and date from *.c files.
 12.1646 -
 12.1647 -Version 1.2.9beta5 [March 4, 2006]
 12.1648 -  Removed trailing blanks from source files.
 12.1649 -  Put version and date of latest change in each source file, and changed
 12.1650 -    copyright year accordingly.
 12.1651 -  More cleanup of configure.ac, Makefile.am, and associated scripts.
 12.1652 -  Restored scripts/makefile.elf which was inadvertently deleted.
 12.1653 -
 12.1654 -Version 1.2.9beta6 [March 6, 2006]
 12.1655 -  Fixed typo (RELEASE) in configuration files.
 12.1656 -
 12.1657 -Version 1.2.9beta7 [March 7, 2006]
 12.1658 -  Removed libpng.vers and libpng.sym from libpng12_la_SOURCES in Makefile.am
 12.1659 -  Fixed inconsistent #ifdef's around png_sig_bytes() and png_set_sCAL_s()
 12.1660 -    in png.h.
 12.1661 -  Updated makefile.elf as suggested by debian.
 12.1662 -  Made cosmetic changes to some makefiles, adding LN_SF and other macros.
 12.1663 -  Made some makefiles accept "exec_prefix".
 12.1664 -
 12.1665 -Version 1.2.9beta8 [March 9, 2006]
 12.1666 -  Fixed some "#if defined (..." which should be "#if defined(..."
 12.1667 -    Bug introduced in libpng-1.2.8.
 12.1668 -  Fixed inconsistency in definition of png_default_read_data()
 12.1669 -  Restored blank that was lost from makefile.sggcc "clean" target in beta7.
 12.1670 -  Revised calculation of "current" and "major" for irix in ltmain.sh
 12.1671 -  Changed "mkdir" to "MKDIR_P" in some makefiles.
 12.1672 -  Separated PNG_EXPAND and PNG_EXPAND_tRNS.
 12.1673 -  Added png_set_expand_gray_1_2_4_to_8() and deprecated
 12.1674 -    png_set_gray_1_2_4_to_8() which also expands tRNS to alpha.
 12.1675 -
 12.1676 -Version 1.2.9beta9 [March 10, 2006]
 12.1677 -  Include "config.h" in pngconf.h when available.
 12.1678 -  Added some checks for NULL png_ptr or NULL info_ptr (timeless)
 12.1679 -
 12.1680 -Version 1.2.9beta10 [March 20, 2006]
 12.1681 -  Removed extra CR from contrib/visualpng/VisualPng.dsw (Cosmin)
 12.1682 -  Made pnggccrd.c PIC-compliant (Christian Aichinger).
 12.1683 -  Added makefile.mingw (Wolfgang Glas).
 12.1684 -  Revised pngconf.h MMX checking.
 12.1685 -
 12.1686 -Version 1.2.9beta11 [March 22, 2006]
 12.1687 -  Fixed out-of-order declaration in pngwrite.c that was introduced in beta9
 12.1688 -  Simplified some makefiles by using LIBSO, LIBSOMAJ, and LIBSOVER macros.
 12.1689 -
 12.1690 -Version 1.2.9rc1 [March 31, 2006]
 12.1691 -  Defined PNG_USER_PRIVATEBUILD when including "pngusr.h" (Cosmin).
 12.1692 -  Removed nonsensical assertion check from pngtest.c (Cosmin).
 12.1693 -
 12.1694 -Version 1.2.9 [April 14, 2006]
 12.1695 -  Revised makefile.beos and added "none" selector in ltmain.sh
 12.1696 -
 12.1697 -Version 1.2.10beta1 [April 15, 2006]
 12.1698 -  Renamed "config.h" to "png_conf.h" and revised Makefile.am to add
 12.1699 -    -DPNG_BUILDING_LIBPNG to compile directive, and modified pngconf.h
 12.1700 -    to include png_conf.h only when PNG_BUILDING_LIBPNG is defined.
 12.1701 -
 12.1702 -Version 1.2.10beta2 [April 15, 2006]
 12.1703 -  Manually updated Makefile.in and configure.  Changed png_conf.h.in
 12.1704 -    back to config.h.
 12.1705 -
 12.1706 -Version 1.2.10beta3 [April 15, 2006]
 12.1707 -  Change png_conf.h back to config.h in pngconf.h.
 12.1708 -
 12.1709 -Version 1.2.10beta4 [April 16, 2006]
 12.1710 -  Change PNG_BUILDING_LIBPNG to PNG_CONFIGURE_LIBPNG in config/Makefile*.
 12.1711 -
 12.1712 -Version 1.2.10beta5 [April 16, 2006]
 12.1713 -  Added a configure check for compiling assembler code in pnggccrd.c
 12.1714 -
 12.1715 -Version 1.2.10beta6 [April 17, 2006]
 12.1716 -  Revised the configure check for pnggccrd.c
 12.1717 -  Moved -DPNG_CONFIGURE_LIBPNG into @LIBPNG_DEFINES@
 12.1718 -  Added @LIBPNG_DEFINES@ to arguments when building libpng.sym
 12.1719 -
 12.1720 -Version 1.2.10beta7 [April 18, 2006]
 12.1721 -  Change "exec_prefix=$prefix" to "exec_prefix=$(prefix)" in makefiles.
 12.1722 -
 12.1723 -Version 1.2.10rc1 [April 19, 2006]
 12.1724 -  Ensure pngconf.h doesn't define both PNG_USE_PNGGCCRD and PNG_USE_PNGVCRD
 12.1725 -  Fixed "LN_FS" typo in makefile.sco and makefile.solaris.
 12.1726 -
 12.1727 -Version 1.2.10rc2 [April 20, 2006]
 12.1728 -  Added a backslash between -DPNG_CONFIGURE_LIBPNG and -DPNG_NO_ASSEMBLER_CODE
 12.1729 -   in configure.ac and configure
 12.1730 -  Made the configure warning about versioned symbols less arrogant.
 12.1731 -
 12.1732 -Version 1.2.10rc3 [April 21, 2006]
 12.1733 -  Added a note in libpng.txt that png_set_sig_bytes(8) can be used when
 12.1734 -    writing an embedded PNG without the 8-byte signature.
 12.1735 -  Revised makefiles and configure to avoid making links to libpng.so.*
 12.1736 -
 12.1737 -Version 1.2.10 [April 23, 2006]
 12.1738 -  Reverted configure to "rc2" state.
 12.1739 -
 12.1740 -Version 1.2.11beta1 [May 31, 2006]
 12.1741 -  scripts/libpng.pc.in contained "configure" style version info and would
 12.1742 -    not work with makefiles.
 12.1743 -  The shared-library makefiles were linking to libpng.so.0 instead of
 12.1744 -    libpng.so.3 compatibility as the library.
 12.1745 -
 12.1746 -Version 1.2.11beta2 [June 2, 2006]
 12.1747 -  Increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid
 12.1748 -    buffer overflow.
 12.1749 -  Fixed bug in example.c (png_set_palette_rgb -> png_set_palette_to_rgb)
 12.1750 -
 12.1751 -Version 1.2.11beta3 [June 5, 2006]
 12.1752 -  Prepended "#! /bin/sh" to ltmail.sh and contrib/pngminus/*.sh (Cosmin).
 12.1753 -  Removed the accidental leftover Makefile.in~ (Cosmin).
 12.1754 -  Avoided potential buffer overflow and optimized buffer in
 12.1755 -    png_write_sCAL(), png_write_sCAL_s() (Cosmin).
 12.1756 -  Removed the include directories and libraries from CFLAGS and LDFLAGS
 12.1757 -    in scripts/makefile.gcc (Nelson A. de Oliveira, Cosmin).
 12.1758 -
 12.1759 -Version 1.2.11beta4 [June 6, 2006]
 12.1760 -  Allow zero-length IDAT chunks after the entire zlib datastream, but not
 12.1761 -    after another intervening chunk type.
 12.1762 -
 12.1763 -Version 1.0.19rc1, 1.2.11rc1 [June 13, 2006]
 12.1764 -  Deleted extraneous square brackets from [config.h] in configure.ac
 12.1765 -
 12.1766 -Version 1.0.19rc2, 1.2.11rc2 [June 14, 2006]
 12.1767 -  Added prototypes for PNG_INCH_CONVERSIONS functions to png.h
 12.1768 -  Revised INSTALL and autogen.sh
 12.1769 -  Fixed typo in several makefiles (-W1 should be -Wl)
 12.1770 -  Added typedef for png_int_32 and png_uint_32 on 64-bit systems.
 12.1771 -
 12.1772 -Version 1.0.19rc3, 1.2.11rc3 [June 15, 2006]
 12.1773 -  Removed the new typedefs for 64-bit systems (delay until version 1.4.0)
 12.1774 -  Added one zero element to png_gamma_shift[] array in pngrtran.c to avoid
 12.1775 -    reading out of bounds.
 12.1776 -
 12.1777 -Version 1.0.19rc4, 1.2.11rc4 [June 15, 2006]
 12.1778 -  Really removed the new typedefs for 64-bit systems.
 12.1779 -
 12.1780 -Version 1.0.19rc5, 1.2.11rc5 [June 22, 2006]
 12.1781 -  Removed png_sig_bytes entry from scripts/pngw32.def
 12.1782 -
 12.1783 -Version 1.0.19, 1.2.11 [June 26, 2006]
 12.1784 -  None.
 12.1785 -
 12.1786 -Version 1.0.20, 1.2.12 [June 27, 2006]
 12.1787 -  Really increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid
 12.1788 -    buffer overflow.
 12.1789 -
 12.1790 -Version 1.2.13beta1 [October 2, 2006]
 12.1791 -  Removed AC_FUNC_MALLOC from configure.ac
 12.1792 -  Work around Intel-Mac compiler bug by setting PNG_NO_MMX_CODE in pngconf.h
 12.1793 -  Change "logical" to "bitwise" throughout documentation.
 12.1794 -  Detect and fix attempt to write wrong iCCP profile length (CVE-2006-7244)
 12.1795 -
 12.1796 -Version 1.0.21, 1.2.13 [November 14, 2006]
 12.1797 -  Fix potential buffer overflow in sPLT chunk handler.
 12.1798 -  Fix Makefile.am to not try to link to noexistent files.
 12.1799 -  Check all exported functions for NULL png_ptr.
 12.1800 -
 12.1801 -Version 1.2.14beta1 [November 17, 2006]
 12.1802 -  Relocated three misplaced tests for NULL png_ptr.
 12.1803 -  Built Makefile.in with automake-1.9.6 instead of 1.9.2.
 12.1804 -  Build configure with autoconf-2.60 instead of 2.59
 12.1805 -
 12.1806 -Version 1.2.14beta2 [November 17, 2006]
 12.1807 -  Added some typecasts in png_zalloc().
 12.1808 -
 12.1809 -Version 1.2.14rc1 [November 20, 2006]
 12.1810 -  Changed "strtod" to "png_strtod" in pngrutil.c
 12.1811 -
 12.1812 -Version 1.0.22, 1.2.14    [November 27, 2006]
 12.1813 -  Added missing "$(srcdir)" in Makefile.am and Makefile.in
 12.1814 -
 12.1815 -Version 1.2.15beta1 [December 3, 2006]
 12.1816 -  Generated configure with autoconf-2.61 instead of 2.60
 12.1817 -  Revised configure.ac to update libpng.pc and libpng-config.
 12.1818 -
 12.1819 -Version 1.2.15beta2 [December 3, 2006]
 12.1820 -  Always export MMX asm functions, just stubs if not building pnggccrd.c
 12.1821 -
 12.1822 -Version 1.2.15beta3 [December 4, 2006]
 12.1823 -  Add "png_bytep" typecast to profile while calculating length in pngwutil.c
 12.1824 -
 12.1825 -Version 1.2.15beta4 [December 7, 2006]
 12.1826 -  Added scripts/CMakeLists.txt
 12.1827 -  Changed PNG_NO_ASSEMBLER_CODE to PNG_NO_MMX_CODE in scripts, like 1.4.0beta
 12.1828 -
 12.1829 -Version 1.2.15beta5 [December 7, 2006]
 12.1830 -  Changed some instances of PNG_ASSEMBLER_* to PNG_MMX_* in pnggccrd.c
 12.1831 -  Revised scripts/CMakeLists.txt
 12.1832 -
 12.1833 -Version 1.2.15beta6 [December 13, 2006]
 12.1834 -  Revised scripts/CMakeLists.txt and configure.ac
 12.1835 -
 12.1836 -Version 1.2.15rc1 [December 18, 2006]
 12.1837 -  Revised scripts/CMakeLists.txt
 12.1838 -
 12.1839 -Version 1.2.15rc2 [December 21, 2006]
 12.1840 -  Added conditional #undef jmpbuf in pngtest.c to undo #define in AIX headers.
 12.1841 -  Added scripts/makefile.nommx
 12.1842 -
 12.1843 -Version 1.2.15rc3 [December 25, 2006]
 12.1844 -  Fixed shared library numbering error that was introduced in 1.2.15beta6.
 12.1845 -
 12.1846 -Version 1.2.15rc4 [December 27, 2006]
 12.1847 -  Fixed handling of rgb_to_gray when png_ptr->color.gray isn't set.
 12.1848 -
 12.1849 -Version 1.2.15rc5 [December 31, 2006]
 12.1850 -  Revised handling of rgb_to_gray.
 12.1851 -
 12.1852 -Version 1.2.15 [January 5, 2007]
 12.1853 -  Added some (unsigned long) typecasts in pngtest.c to avoid printing errors.
 12.1854 -
 12.1855 -Version 1.2.16beta1 [January 6, 2007]
 12.1856 -  Fix bugs in makefile.nommx
 12.1857 -
 12.1858 -Version 1.2.16beta2 [January 16, 2007]
 12.1859 -  Revised scripts/CMakeLists.txt
 12.1860 -
 12.1861 -Version 1.2.16 [January 31, 2007]
 12.1862 -  No changes.
 12.1863 -
 12.1864 -Version 1.2.17beta1 [March 6, 2007]
 12.1865 -  Revised scripts/CMakeLists.txt to install both shared and static libraries.
 12.1866 -  Deleted a redundant line from pngset.c.
 12.1867 -
 12.1868 -Version 1.2.17beta2 [April 26, 2007]
 12.1869 -  Relocated misplaced test for png_ptr == NULL in pngpread.c
 12.1870 -  Change "==" to "&" for testing PNG_RGB_TO_GRAY_ERR & PNG_RGB_TO_GRAY_WARN
 12.1871 -    flags.
 12.1872 -  Changed remaining instances of PNG_ASSEMBLER_* to PNG_MMX_*
 12.1873 -  Added pngerror() when write_IHDR fails in deflateInit2().
 12.1874 -  Added "const" to some array declarations.
 12.1875 -  Mention examples of libpng usage in the libpng*.txt and libpng.3 documents.
 12.1876 -
 12.1877 -Version 1.2.17rc1 [May 4, 2007]
 12.1878 -  No changes.
 12.1879 -
 12.1880 -Version 1.2.17rc2 [May 8, 2007]
 12.1881 -  Moved several PNG_HAVE_* macros out of PNG_INTERNAL because applications
 12.1882 -    calling set_unknown_chunk_location() need them.
 12.1883 -  Changed transformation flag from PNG_EXPAND_tRNS to PNG_EXPAND in
 12.1884 -    png_set_expand_gray_1_2_4_to_8().
 12.1885 -  Added png_ptr->unknown_chunk to hold working unknown chunk data, so it
 12.1886 -    can be free'ed in case of error.  Revised unknown chunk handling in
 12.1887 -    pngrutil.c and pngpread.c to use this structure.
 12.1888 -
 12.1889 -Version 1.2.17rc3 [May 8, 2007]
 12.1890 -  Revised symbol-handling in configure script.
 12.1891 -
 12.1892 -Version 1.2.17rc4 [May 10, 2007]
 12.1893 -  Revised unknown chunk handling to avoid storing unknown critical chunks.
 12.1894 -
 12.1895 -Version 1.0.25 [May 15, 2007]
 12.1896 -Version 1.2.17 [May 15, 2007]
 12.1897 -  Added "png_ptr->num_trans=0" before error return in png_handle_tRNS,
 12.1898 -    to eliminate a vulnerability (CVE-2007-2445, CERT VU#684664)
 12.1899 -
 12.1900 -Version 1.0.26 [May 15, 2007]
 12.1901 -Version 1.2.18 [May 15, 2007]
 12.1902 -  Reverted the libpng-1.2.17rc3 change to symbol-handling in configure script
 12.1903 -
 12.1904 -Version 1.2.19beta1 [May 18, 2007]
 12.1905 -  Changed "const static" to "static PNG_CONST" everywhere, mostly undoing
 12.1906 -    change of libpng-1.2.17beta2.  Changed other "const" to "PNG_CONST"
 12.1907 -  Changed some handling of unused parameters, to avoid compiler warnings.
 12.1908 -    "if (unused == NULL) return;" becomes "unused = unused".
 12.1909 -
 12.1910 -Version 1.2.19beta2 [May 18, 2007]
 12.1911 -  Only use the valid bits of tRNS value in png_do_expand() (Brian Cartier)
 12.1912 -
 12.1913 -Version 1.2.19beta3 [May 19, 2007]
 12.1914 -  Add some "png_byte" typecasts in png_check_keyword() and write new_key
 12.1915 -  instead of key in zTXt chunk (Kevin Ryde).
 12.1916 -
 12.1917 -Version 1.2.19beta4 [May 21, 2007]
 12.1918 -  Add png_snprintf() function and use it in place of sprint() for improved
 12.1919 -    defense against buffer overflows.
 12.1920 -
 12.1921 -Version 1.2.19beta5 [May 21, 2007]
 12.1922 -  Fixed png_handle_tRNS() to only use the valid bits of tRNS value.
 12.1923 -  Changed handling of more unused parameters, to avoid compiler warnings.
 12.1924 -  Removed some PNG_CONST in pngwutil.c to avoid compiler warnings.
 12.1925 -
 12.1926 -Version 1.2.19beta6 [May 22, 2007]
 12.1927 -  Added some #ifdef PNG_MMX_CODE_SUPPORTED where needed in pngvcrd.c
 12.1928 -  Added a special "_MSC_VER" case that defines png_snprintf to _snprintf
 12.1929 -
 12.1930 -Version 1.2.19beta7 [May 22, 2007]
 12.1931 -  Squelched png_squelch_warnings() in pnggccrd.c and added
 12.1932 -    an #ifdef PNG_MMX_CODE_SUPPORTED block around the declarations that caused
 12.1933 -    the warnings that png_squelch_warnings was squelching.
 12.1934 -
 12.1935 -Version 1.2.19beta8 [May 22, 2007]
 12.1936 -  Removed __MMX__ from test in pngconf.h.
 12.1937 -
 12.1938 -Version 1.2.19beta9 [May 23, 2007]
 12.1939 -  Made png_squelch_warnings() available via PNG_SQUELCH_WARNINGS macro.
 12.1940 -  Revised png_squelch_warnings() so it might work.
 12.1941 -  Updated makefile.sgcc and makefile.solaris; added makefile.solaris-x86.
 12.1942 -
 12.1943 -Version 1.2.19beta10 [May 24, 2007]
 12.1944 -  Resquelched png_squelch_warnings(), use "__attribute__((used))" instead.
 12.1945 -
 12.1946 -Version 1.4.0beta1 [April 20, 2006]
 12.1947 -  Enabled iTXt support (changes png_struct, thus requires so-number change).
 12.1948 -  Cleaned up PNG_ASSEMBLER_CODE_SUPPORTED vs PNG_MMX_CODE_SUPPORTED
 12.1949 -  Eliminated PNG_1_0_X and PNG_1_2_X macros.
 12.1950 -  Removed deprecated functions png_read_init, png_write_init, png_info_init,
 12.1951 -    png_permit_empty_plte, png_set_gray_1_2_4_to_8, png_check_sig, and
 12.1952 -    removed the deprecated macro PNG_MAX_UINT.
 12.1953 -  Moved "PNG_INTERNAL" parts of png.h and pngconf.h into pngintrn.h
 12.1954 -  Removed many WIN32_WCE #ifdefs (Cosmin).
 12.1955 -  Reduced dependency on C-runtime library when on Windows (Simon-Pierre)
 12.1956 -  Replaced sprintf() with png_sprintf() (Simon-Pierre)
 12.1957 -
 12.1958 -Version 1.4.0beta2 [April 20, 2006]
 12.1959 -  Revised makefiles and configure to avoid making links to libpng.so.*
 12.1960 -  Moved some leftover MMX-related defines from pngconf.h to pngintrn.h
 12.1961 -  Updated scripts/pngos2.def, pngw32.def, and projects/wince/png32ce.def
 12.1962 -
 12.1963 -Version 1.4.0beta3 [May 10, 2006]
 12.1964 -  Updated scripts/pngw32.def to comment out MMX functions.
 12.1965 -  Added PNG_NO_GET_INT_32 and PNG_NO_SAVE_INT_32 macros.
 12.1966 -  Scripts/libpng.pc.in contained "configure" style version info and would
 12.1967 -    not work with makefiles.
 12.1968 -  Revised pngconf.h and added pngconf.h.in, so makefiles and configure can
 12.1969 -    pass defines to libpng and applications.
 12.1970 -
 12.1971 -Version 1.4.0beta4 [May 11, 2006]
 12.1972 -  Revised configure.ac, Makefile.am, and many of the makefiles to write
 12.1973 -    their defines in pngconf.h.
 12.1974 -
 12.1975 -Version 1.4.0beta5 [May 15, 2006]
 12.1976 -  Added a missing semicolon in Makefile.am and Makefile.in
 12.1977 -  Deleted extraneous square brackets from configure.ac
 12.1978 -
 12.1979 -Version 1.4.0beta6 [June 2, 2006]
 12.1980 -  Increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid
 12.1981 -    buffer overflow.
 12.1982 -  Changed sonum from 0 to 1.
 12.1983 -  Removed unused prototype for png_check_sig() from png.h
 12.1984 -
 12.1985 -Version 1.4.0beta7 [June 16, 2006]
 12.1986 -  Exported png_write_sig (Cosmin).
 12.1987 -  Optimized buffer in png_handle_cHRM() (Cosmin).
 12.1988 -  Set pHYs = 2835 x 2835 pixels per meter, and added
 12.1989 -    sCAL = 0.352778e-3 x 0.352778e-3 meters, in pngtest.png (Cosmin).
 12.1990 -  Added png_set_benign_errors(), png_benign_error(), png_chunk_benign_error().
 12.1991 -  Added typedef for png_int_32 and png_uint_32 on 64-bit systems.
 12.1992 -  Added "(unsigned long)" typecast on png_uint_32 variables in printf lists.
 12.1993 -
 12.1994 -Version 1.4.0beta8 [June 22, 2006]
 12.1995 -  Added demonstration of user chunk support in pngtest.c, to support the