external libs: update libtiff to latest 4.1.0 release.
authorOzkan Sezer <sezeroz@gmail.com>
Wed, 06 Nov 2019 20:55:21 +0300
changeset 735e1b2875d74db
parent 734 e23c797d0a84
child 737 2c9429a86971
external libs: update libtiff to latest 4.1.0 release.
VisualC/external/include/tiff.h
VisualC/external/include/tiffconf.h
VisualC/external/include/tiffio.h
VisualC/external/include/tiffvers.h
VisualC/external/lib/x64/libtiff-5.dll
VisualC/external/lib/x86/libtiff-5.dll
external/tiff-4.0.9-win32config.patch
external/tiff-4.0.9/CMakeLists.txt
external/tiff-4.0.9/COPYRIGHT
external/tiff-4.0.9/ChangeLog
external/tiff-4.0.9/HOWTO-RELEASE
external/tiff-4.0.9/Makefile.am
external/tiff-4.0.9/Makefile.in
external/tiff-4.0.9/Makefile.vc
external/tiff-4.0.9/README
external/tiff-4.0.9/README.vms
external/tiff-4.0.9/RELEASE-DATE
external/tiff-4.0.9/SConstruct
external/tiff-4.0.9/TODO
external/tiff-4.0.9/VERSION
external/tiff-4.0.9/aclocal.m4
external/tiff-4.0.9/autogen.sh
external/tiff-4.0.9/build/CMakeLists.txt
external/tiff-4.0.9/build/Makefile.am
external/tiff-4.0.9/build/Makefile.in
external/tiff-4.0.9/build/README
external/tiff-4.0.9/config/compile
external/tiff-4.0.9/config/config.guess
external/tiff-4.0.9/config/config.sub
external/tiff-4.0.9/config/depcomp
external/tiff-4.0.9/config/install-sh
external/tiff-4.0.9/config/ltmain.sh
external/tiff-4.0.9/config/missing
external/tiff-4.0.9/config/mkinstalldirs
external/tiff-4.0.9/config/test-driver
external/tiff-4.0.9/configure
external/tiff-4.0.9/configure.ac
external/tiff-4.0.9/configure.com
external/tiff-4.0.9/contrib/CMakeLists.txt
external/tiff-4.0.9/contrib/Makefile.am
external/tiff-4.0.9/contrib/Makefile.in
external/tiff-4.0.9/contrib/README
external/tiff-4.0.9/contrib/addtiffo/CMakeLists.txt
external/tiff-4.0.9/contrib/addtiffo/Makefile.am
external/tiff-4.0.9/contrib/addtiffo/Makefile.in
external/tiff-4.0.9/contrib/addtiffo/Makefile.vc
external/tiff-4.0.9/contrib/addtiffo/README
external/tiff-4.0.9/contrib/addtiffo/addtiffo.c
external/tiff-4.0.9/contrib/addtiffo/tif_overview.c
external/tiff-4.0.9/contrib/addtiffo/tif_ovrcache.c
external/tiff-4.0.9/contrib/addtiffo/tif_ovrcache.h
external/tiff-4.0.9/contrib/dbs/CMakeLists.txt
external/tiff-4.0.9/contrib/dbs/Makefile.am
external/tiff-4.0.9/contrib/dbs/Makefile.in
external/tiff-4.0.9/contrib/dbs/README
external/tiff-4.0.9/contrib/dbs/tiff-bi.c
external/tiff-4.0.9/contrib/dbs/tiff-grayscale.c
external/tiff-4.0.9/contrib/dbs/tiff-palette.c
external/tiff-4.0.9/contrib/dbs/tiff-rgb.c
external/tiff-4.0.9/contrib/dbs/xtiff/CMakeLists.txt
external/tiff-4.0.9/contrib/dbs/xtiff/Makefile.am
external/tiff-4.0.9/contrib/dbs/xtiff/Makefile.in
external/tiff-4.0.9/contrib/dbs/xtiff/README
external/tiff-4.0.9/contrib/dbs/xtiff/patchlevel.h
external/tiff-4.0.9/contrib/dbs/xtiff/xtiff.c
external/tiff-4.0.9/contrib/dbs/xtiff/xtifficon.h
external/tiff-4.0.9/contrib/iptcutil/CMakeLists.txt
external/tiff-4.0.9/contrib/iptcutil/Makefile.am
external/tiff-4.0.9/contrib/iptcutil/Makefile.in
external/tiff-4.0.9/contrib/iptcutil/README
external/tiff-4.0.9/contrib/iptcutil/iptcutil.c
external/tiff-4.0.9/contrib/iptcutil/test.iptc
external/tiff-4.0.9/contrib/iptcutil/test.txt
external/tiff-4.0.9/contrib/mfs/CMakeLists.txt
external/tiff-4.0.9/contrib/mfs/Makefile.am
external/tiff-4.0.9/contrib/mfs/Makefile.in
external/tiff-4.0.9/contrib/mfs/README
external/tiff-4.0.9/contrib/mfs/mfs_file.c
external/tiff-4.0.9/contrib/pds/CMakeLists.txt
external/tiff-4.0.9/contrib/pds/Makefile.am
external/tiff-4.0.9/contrib/pds/Makefile.in
external/tiff-4.0.9/contrib/pds/README
external/tiff-4.0.9/contrib/pds/tif_imageiter.c
external/tiff-4.0.9/contrib/pds/tif_imageiter.h
external/tiff-4.0.9/contrib/pds/tif_pdsdirread.c
external/tiff-4.0.9/contrib/pds/tif_pdsdirwrite.c
external/tiff-4.0.9/contrib/ras/CMakeLists.txt
external/tiff-4.0.9/contrib/ras/Makefile.am
external/tiff-4.0.9/contrib/ras/Makefile.in
external/tiff-4.0.9/contrib/ras/README
external/tiff-4.0.9/contrib/ras/ras2tif.c
external/tiff-4.0.9/contrib/ras/tif2ras.c
external/tiff-4.0.9/contrib/stream/CMakeLists.txt
external/tiff-4.0.9/contrib/stream/Makefile.am
external/tiff-4.0.9/contrib/stream/Makefile.in
external/tiff-4.0.9/contrib/stream/README
external/tiff-4.0.9/contrib/stream/tiffstream.cpp
external/tiff-4.0.9/contrib/stream/tiffstream.h
external/tiff-4.0.9/contrib/tags/CMakeLists.txt
external/tiff-4.0.9/contrib/tags/Makefile.am
external/tiff-4.0.9/contrib/tags/Makefile.in
external/tiff-4.0.9/contrib/tags/README
external/tiff-4.0.9/contrib/tags/listtif.c
external/tiff-4.0.9/contrib/tags/maketif.c
external/tiff-4.0.9/contrib/tags/xtif_dir.c
external/tiff-4.0.9/contrib/tags/xtiffio.h
external/tiff-4.0.9/contrib/tags/xtiffiop.h
external/tiff-4.0.9/contrib/win_dib/CMakeLists.txt
external/tiff-4.0.9/contrib/win_dib/Makefile.am
external/tiff-4.0.9/contrib/win_dib/Makefile.in
external/tiff-4.0.9/contrib/win_dib/Makefile.w95
external/tiff-4.0.9/contrib/win_dib/README.Tiffile
external/tiff-4.0.9/contrib/win_dib/README.tiff2dib
external/tiff-4.0.9/contrib/win_dib/Tiffile.cpp
external/tiff-4.0.9/contrib/win_dib/tiff2dib.c
external/tiff-4.0.9/html/CMakeLists.txt
external/tiff-4.0.9/html/Makefile.am
external/tiff-4.0.9/html/Makefile.in
external/tiff-4.0.9/html/TIFFTechNote2.html
external/tiff-4.0.9/html/addingtags.html
external/tiff-4.0.9/html/bugs.html
external/tiff-4.0.9/html/build.html
external/tiff-4.0.9/html/contrib.html
external/tiff-4.0.9/html/document.html
external/tiff-4.0.9/html/images.html
external/tiff-4.0.9/html/images/CMakeLists.txt
external/tiff-4.0.9/html/images/Makefile.am
external/tiff-4.0.9/html/images/Makefile.in
external/tiff-4.0.9/html/images/back.gif
external/tiff-4.0.9/html/images/bali.jpg
external/tiff-4.0.9/html/images/cat.gif
external/tiff-4.0.9/html/images/cover.jpg
external/tiff-4.0.9/html/images/cramps.gif
external/tiff-4.0.9/html/images/dave.gif
external/tiff-4.0.9/html/images/info.gif
external/tiff-4.0.9/html/images/jello.jpg
external/tiff-4.0.9/html/images/jim.gif
external/tiff-4.0.9/html/images/note.gif
external/tiff-4.0.9/html/images/oxford.gif
external/tiff-4.0.9/html/images/quad.jpg
external/tiff-4.0.9/html/images/ring.gif
external/tiff-4.0.9/html/images/smallliz.jpg
external/tiff-4.0.9/html/images/strike.gif
external/tiff-4.0.9/html/images/warning.gif
external/tiff-4.0.9/html/index.html
external/tiff-4.0.9/html/internals.html
external/tiff-4.0.9/html/intro.html
external/tiff-4.0.9/html/libtiff.html
external/tiff-4.0.9/html/man/CMakeLists.txt
external/tiff-4.0.9/html/man/HtmlDoc.cmake
external/tiff-4.0.9/html/man/Makefile.am
external/tiff-4.0.9/html/man/Makefile.in
external/tiff-4.0.9/html/man/TIFFClose.3tiff.html
external/tiff-4.0.9/html/man/TIFFDataWidth.3tiff.html
external/tiff-4.0.9/html/man/TIFFError.3tiff.html
external/tiff-4.0.9/html/man/TIFFFieldDataType.3tiff.html
external/tiff-4.0.9/html/man/TIFFFieldName.3tiff.html
external/tiff-4.0.9/html/man/TIFFFieldPassCount.3tiff.html
external/tiff-4.0.9/html/man/TIFFFieldReadCount.3tiff.html
external/tiff-4.0.9/html/man/TIFFFieldTag.3tiff.html
external/tiff-4.0.9/html/man/TIFFFieldWriteCount.3tiff.html
external/tiff-4.0.9/html/man/TIFFFlush.3tiff.html
external/tiff-4.0.9/html/man/TIFFGetField.3tiff.html
external/tiff-4.0.9/html/man/TIFFOpen.3tiff.html
external/tiff-4.0.9/html/man/TIFFPrintDirectory.3tiff.html
external/tiff-4.0.9/html/man/TIFFRGBAImage.3tiff.html
external/tiff-4.0.9/html/man/TIFFReadDirectory.3tiff.html
external/tiff-4.0.9/html/man/TIFFReadEncodedStrip.3tiff.html
external/tiff-4.0.9/html/man/TIFFReadEncodedTile.3tiff.html
external/tiff-4.0.9/html/man/TIFFReadRGBAImage.3tiff.html
external/tiff-4.0.9/html/man/TIFFReadRGBAStrip.3tiff.html
external/tiff-4.0.9/html/man/TIFFReadRGBATile.3tiff.html
external/tiff-4.0.9/html/man/TIFFReadRawStrip.3tiff.html
external/tiff-4.0.9/html/man/TIFFReadRawTile.3tiff.html
external/tiff-4.0.9/html/man/TIFFReadScanline.3tiff.html
external/tiff-4.0.9/html/man/TIFFReadTile.3tiff.html
external/tiff-4.0.9/html/man/TIFFSetDirectory.3tiff.html
external/tiff-4.0.9/html/man/TIFFSetField.3tiff.html
external/tiff-4.0.9/html/man/TIFFWarning.3tiff.html
external/tiff-4.0.9/html/man/TIFFWriteDirectory.3tiff.html
external/tiff-4.0.9/html/man/TIFFWriteEncodedStrip.3tiff.html
external/tiff-4.0.9/html/man/TIFFWriteEncodedTile.3tiff.html
external/tiff-4.0.9/html/man/TIFFWriteRawStrip.3tiff.html
external/tiff-4.0.9/html/man/TIFFWriteRawTile.3tiff.html
external/tiff-4.0.9/html/man/TIFFWriteScanline.3tiff.html
external/tiff-4.0.9/html/man/TIFFWriteTile.3tiff.html
external/tiff-4.0.9/html/man/TIFFbuffer.3tiff.html
external/tiff-4.0.9/html/man/TIFFcodec.3tiff.html
external/tiff-4.0.9/html/man/TIFFcolor.3tiff.html
external/tiff-4.0.9/html/man/TIFFmemory.3tiff.html
external/tiff-4.0.9/html/man/TIFFquery.3tiff.html
external/tiff-4.0.9/html/man/TIFFsize.3tiff.html
external/tiff-4.0.9/html/man/TIFFstrip.3tiff.html
external/tiff-4.0.9/html/man/TIFFswab.3tiff.html
external/tiff-4.0.9/html/man/TIFFtile.3tiff.html
external/tiff-4.0.9/html/man/fax2ps.1.html
external/tiff-4.0.9/html/man/fax2tiff.1.html
external/tiff-4.0.9/html/man/index.html
external/tiff-4.0.9/html/man/libtiff.3tiff.html
external/tiff-4.0.9/html/man/pal2rgb.1.html
external/tiff-4.0.9/html/man/ppm2tiff.1.html
external/tiff-4.0.9/html/man/raw2tiff.1.html
external/tiff-4.0.9/html/man/tiff2bw.1.html
external/tiff-4.0.9/html/man/tiff2pdf.1.html
external/tiff-4.0.9/html/man/tiff2ps.1.html
external/tiff-4.0.9/html/man/tiff2rgba.1.html
external/tiff-4.0.9/html/man/tiffcmp.1.html
external/tiff-4.0.9/html/man/tiffcp.1.html
external/tiff-4.0.9/html/man/tiffcrop.1.html
external/tiff-4.0.9/html/man/tiffdither.1.html
external/tiff-4.0.9/html/man/tiffdump.1.html
external/tiff-4.0.9/html/man/tiffgt.1.html
external/tiff-4.0.9/html/man/tiffinfo.1.html
external/tiff-4.0.9/html/man/tiffmedian.1.html
external/tiff-4.0.9/html/man/tiffset.1.html
external/tiff-4.0.9/html/man/tiffsplit.1.html
external/tiff-4.0.9/html/misc.html
external/tiff-4.0.9/html/support.html
external/tiff-4.0.9/html/tools.html
external/tiff-4.0.9/html/v3.4beta007.html
external/tiff-4.0.9/html/v3.4beta016.html
external/tiff-4.0.9/html/v3.4beta018.html
external/tiff-4.0.9/html/v3.4beta024.html
external/tiff-4.0.9/html/v3.4beta028.html
external/tiff-4.0.9/html/v3.4beta029.html
external/tiff-4.0.9/html/v3.4beta031.html
external/tiff-4.0.9/html/v3.4beta032.html
external/tiff-4.0.9/html/v3.4beta033.html
external/tiff-4.0.9/html/v3.4beta034.html
external/tiff-4.0.9/html/v3.4beta035.html
external/tiff-4.0.9/html/v3.4beta036.html
external/tiff-4.0.9/html/v3.5.1.html
external/tiff-4.0.9/html/v3.5.2.html
external/tiff-4.0.9/html/v3.5.3.html
external/tiff-4.0.9/html/v3.5.4.html
external/tiff-4.0.9/html/v3.5.5.html
external/tiff-4.0.9/html/v3.5.6-beta.html
external/tiff-4.0.9/html/v3.5.7.html
external/tiff-4.0.9/html/v3.6.0.html
external/tiff-4.0.9/html/v3.6.1.html
external/tiff-4.0.9/html/v3.7.0.html
external/tiff-4.0.9/html/v3.7.0alpha.html
external/tiff-4.0.9/html/v3.7.0beta.html
external/tiff-4.0.9/html/v3.7.0beta2.html
external/tiff-4.0.9/html/v3.7.1.html
external/tiff-4.0.9/html/v3.7.2.html
external/tiff-4.0.9/html/v3.7.3.html
external/tiff-4.0.9/html/v3.7.4.html
external/tiff-4.0.9/html/v3.8.0.html
external/tiff-4.0.9/html/v3.8.1.html
external/tiff-4.0.9/html/v3.8.2.html
external/tiff-4.0.9/html/v3.9.0beta.html
external/tiff-4.0.9/html/v3.9.1.html
external/tiff-4.0.9/html/v3.9.2.html
external/tiff-4.0.9/html/v4.0.0.html
external/tiff-4.0.9/html/v4.0.1.html
external/tiff-4.0.9/html/v4.0.2.html
external/tiff-4.0.9/html/v4.0.3.html
external/tiff-4.0.9/html/v4.0.4.html
external/tiff-4.0.9/html/v4.0.4beta.html
external/tiff-4.0.9/html/v4.0.5.html
external/tiff-4.0.9/html/v4.0.6.html
external/tiff-4.0.9/html/v4.0.7.html
external/tiff-4.0.9/html/v4.0.8.html
external/tiff-4.0.9/html/v4.0.9.html
external/tiff-4.0.9/libtiff-4.pc.in
external/tiff-4.0.9/libtiff-CVE-2017-11613.patch
external/tiff-4.0.9/libtiff-CVE-2017-18013.patch
external/tiff-4.0.9/libtiff-CVE-2017-9935.patch
external/tiff-4.0.9/libtiff-CVE-2018-10779.patch
external/tiff-4.0.9/libtiff-CVE-2018-10963.patch
external/tiff-4.0.9/libtiff-CVE-2018-17100.patch
external/tiff-4.0.9/libtiff-CVE-2018-17101.patch
external/tiff-4.0.9/libtiff-CVE-2018-5784.patch
external/tiff-4.0.9/libtiff-CVE-2018-7456.patch
external/tiff-4.0.9/libtiff-CVE-2018-8905.patch
external/tiff-4.0.9/libtiff/CMakeLists.txt
external/tiff-4.0.9/libtiff/Makefile.am
external/tiff-4.0.9/libtiff/Makefile.in
external/tiff-4.0.9/libtiff/Makefile.vc
external/tiff-4.0.9/libtiff/SConstruct
external/tiff-4.0.9/libtiff/libtiff.def
external/tiff-4.0.9/libtiff/libtiff.map
external/tiff-4.0.9/libtiff/libtiffxx.map
external/tiff-4.0.9/libtiff/mingw/Makefile
external/tiff-4.0.9/libtiff/mingw/tif_config.h
external/tiff-4.0.9/libtiff/mingw/tiffconf.h
external/tiff-4.0.9/libtiff/mkg3states.c
external/tiff-4.0.9/libtiff/t4.h
external/tiff-4.0.9/libtiff/tif_aux.c
external/tiff-4.0.9/libtiff/tif_close.c
external/tiff-4.0.9/libtiff/tif_codec.c
external/tiff-4.0.9/libtiff/tif_color.c
external/tiff-4.0.9/libtiff/tif_compress.c
external/tiff-4.0.9/libtiff/tif_config.h-vms
external/tiff-4.0.9/libtiff/tif_config.h.cmake.in
external/tiff-4.0.9/libtiff/tif_config.h.in
external/tiff-4.0.9/libtiff/tif_config.vc.h
external/tiff-4.0.9/libtiff/tif_config.wince.h
external/tiff-4.0.9/libtiff/tif_dir.c
external/tiff-4.0.9/libtiff/tif_dir.h
external/tiff-4.0.9/libtiff/tif_dirinfo.c
external/tiff-4.0.9/libtiff/tif_dirread.c
external/tiff-4.0.9/libtiff/tif_dirwrite.c
external/tiff-4.0.9/libtiff/tif_dumpmode.c
external/tiff-4.0.9/libtiff/tif_error.c
external/tiff-4.0.9/libtiff/tif_extension.c
external/tiff-4.0.9/libtiff/tif_fax3.c
external/tiff-4.0.9/libtiff/tif_fax3.h
external/tiff-4.0.9/libtiff/tif_fax3sm.c
external/tiff-4.0.9/libtiff/tif_flush.c
external/tiff-4.0.9/libtiff/tif_getimage.c
external/tiff-4.0.9/libtiff/tif_jbig.c
external/tiff-4.0.9/libtiff/tif_jpeg.c
external/tiff-4.0.9/libtiff/tif_jpeg_12.c
external/tiff-4.0.9/libtiff/tif_luv.c
external/tiff-4.0.9/libtiff/tif_lzma.c
external/tiff-4.0.9/libtiff/tif_lzw.c
external/tiff-4.0.9/libtiff/tif_next.c
external/tiff-4.0.9/libtiff/tif_ojpeg.c
external/tiff-4.0.9/libtiff/tif_open.c
external/tiff-4.0.9/libtiff/tif_packbits.c
external/tiff-4.0.9/libtiff/tif_pixarlog.c
external/tiff-4.0.9/libtiff/tif_predict.c
external/tiff-4.0.9/libtiff/tif_predict.h
external/tiff-4.0.9/libtiff/tif_print.c
external/tiff-4.0.9/libtiff/tif_read.c
external/tiff-4.0.9/libtiff/tif_stream.cxx
external/tiff-4.0.9/libtiff/tif_strip.c
external/tiff-4.0.9/libtiff/tif_swab.c
external/tiff-4.0.9/libtiff/tif_thunder.c
external/tiff-4.0.9/libtiff/tif_tile.c
external/tiff-4.0.9/libtiff/tif_unix.c
external/tiff-4.0.9/libtiff/tif_version.c
external/tiff-4.0.9/libtiff/tif_warning.c
external/tiff-4.0.9/libtiff/tif_win32.c
external/tiff-4.0.9/libtiff/tif_write.c
external/tiff-4.0.9/libtiff/tif_zip.c
external/tiff-4.0.9/libtiff/tiff.h
external/tiff-4.0.9/libtiff/tiffconf.h.cmake.in
external/tiff-4.0.9/libtiff/tiffconf.h.in
external/tiff-4.0.9/libtiff/tiffconf.vc.h
external/tiff-4.0.9/libtiff/tiffconf.wince.h
external/tiff-4.0.9/libtiff/tiffio.h
external/tiff-4.0.9/libtiff/tiffio.hxx
external/tiff-4.0.9/libtiff/tiffiop.h
external/tiff-4.0.9/libtiff/tiffvers.h
external/tiff-4.0.9/libtiff/uvcode.h
external/tiff-4.0.9/m4/acinclude.m4
external/tiff-4.0.9/m4/libtool.m4
external/tiff-4.0.9/m4/ltoptions.m4
external/tiff-4.0.9/m4/ltsugar.m4
external/tiff-4.0.9/m4/ltversion.m4
external/tiff-4.0.9/m4/lt~obsolete.m4
external/tiff-4.0.9/man/CMakeLists.txt
external/tiff-4.0.9/man/Makefile.am
external/tiff-4.0.9/man/Makefile.in
external/tiff-4.0.9/man/TIFFClose.3tiff
external/tiff-4.0.9/man/TIFFDataWidth.3tiff
external/tiff-4.0.9/man/TIFFError.3tiff
external/tiff-4.0.9/man/TIFFFieldDataType.3tiff
external/tiff-4.0.9/man/TIFFFieldName.3tiff
external/tiff-4.0.9/man/TIFFFieldPassCount.3tiff
external/tiff-4.0.9/man/TIFFFieldReadCount.3tiff
external/tiff-4.0.9/man/TIFFFieldTag.3tiff
external/tiff-4.0.9/man/TIFFFieldWriteCount.3tiff
external/tiff-4.0.9/man/TIFFFlush.3tiff
external/tiff-4.0.9/man/TIFFGetField.3tiff
external/tiff-4.0.9/man/TIFFOpen.3tiff
external/tiff-4.0.9/man/TIFFPrintDirectory.3tiff
external/tiff-4.0.9/man/TIFFRGBAImage.3tiff
external/tiff-4.0.9/man/TIFFReadDirectory.3tiff
external/tiff-4.0.9/man/TIFFReadEncodedStrip.3tiff
external/tiff-4.0.9/man/TIFFReadEncodedTile.3tiff
external/tiff-4.0.9/man/TIFFReadRGBAImage.3tiff
external/tiff-4.0.9/man/TIFFReadRGBAStrip.3tiff
external/tiff-4.0.9/man/TIFFReadRGBATile.3tiff
external/tiff-4.0.9/man/TIFFReadRawStrip.3tiff
external/tiff-4.0.9/man/TIFFReadRawTile.3tiff
external/tiff-4.0.9/man/TIFFReadScanline.3tiff
external/tiff-4.0.9/man/TIFFReadTile.3tiff
external/tiff-4.0.9/man/TIFFSetDirectory.3tiff
external/tiff-4.0.9/man/TIFFSetField.3tiff
external/tiff-4.0.9/man/TIFFWarning.3tiff
external/tiff-4.0.9/man/TIFFWriteDirectory.3tiff
external/tiff-4.0.9/man/TIFFWriteEncodedStrip.3tiff
external/tiff-4.0.9/man/TIFFWriteEncodedTile.3tiff
external/tiff-4.0.9/man/TIFFWriteRawStrip.3tiff
external/tiff-4.0.9/man/TIFFWriteRawTile.3tiff
external/tiff-4.0.9/man/TIFFWriteScanline.3tiff
external/tiff-4.0.9/man/TIFFWriteTile.3tiff
external/tiff-4.0.9/man/TIFFbuffer.3tiff
external/tiff-4.0.9/man/TIFFcodec.3tiff
external/tiff-4.0.9/man/TIFFcolor.3tiff
external/tiff-4.0.9/man/TIFFmemory.3tiff
external/tiff-4.0.9/man/TIFFquery.3tiff
external/tiff-4.0.9/man/TIFFsize.3tiff
external/tiff-4.0.9/man/TIFFstrip.3tiff
external/tiff-4.0.9/man/TIFFswab.3tiff
external/tiff-4.0.9/man/TIFFtile.3tiff
external/tiff-4.0.9/man/fax2ps.1
external/tiff-4.0.9/man/fax2tiff.1
external/tiff-4.0.9/man/libtiff.3tiff
external/tiff-4.0.9/man/pal2rgb.1
external/tiff-4.0.9/man/ppm2tiff.1
external/tiff-4.0.9/man/raw2tiff.1
external/tiff-4.0.9/man/tiff2bw.1
external/tiff-4.0.9/man/tiff2pdf.1
external/tiff-4.0.9/man/tiff2ps.1
external/tiff-4.0.9/man/tiff2rgba.1
external/tiff-4.0.9/man/tiffcmp.1
external/tiff-4.0.9/man/tiffcp.1
external/tiff-4.0.9/man/tiffcrop.1
external/tiff-4.0.9/man/tiffdither.1
external/tiff-4.0.9/man/tiffdump.1
external/tiff-4.0.9/man/tiffgt.1
external/tiff-4.0.9/man/tiffinfo.1
external/tiff-4.0.9/man/tiffmedian.1
external/tiff-4.0.9/man/tiffset.1
external/tiff-4.0.9/man/tiffsplit.1
external/tiff-4.0.9/nmake.opt
external/tiff-4.0.9/port/CMakeLists.txt
external/tiff-4.0.9/port/Makefile.am
external/tiff-4.0.9/port/Makefile.in
external/tiff-4.0.9/port/Makefile.vc
external/tiff-4.0.9/port/dummy.c
external/tiff-4.0.9/port/getopt.c
external/tiff-4.0.9/port/lfind.c
external/tiff-4.0.9/port/libport.h
external/tiff-4.0.9/port/snprintf.c
external/tiff-4.0.9/port/strcasecmp.c
external/tiff-4.0.9/port/strtoul.c
external/tiff-4.0.9/port/strtoull.c
external/tiff-4.0.9/test/CMakeLists.txt
external/tiff-4.0.9/test/Makefile.am
external/tiff-4.0.9/test/Makefile.in
external/tiff-4.0.9/test/TiffSplitTest.cmake
external/tiff-4.0.9/test/TiffTest.cmake
external/tiff-4.0.9/test/TiffTestCommon.cmake
external/tiff-4.0.9/test/ascii_tag.c
external/tiff-4.0.9/test/check_tag.c
external/tiff-4.0.9/test/common.sh
external/tiff-4.0.9/test/custom_dir.c
external/tiff-4.0.9/test/images/README.txt
external/tiff-4.0.9/test/images/logluv-3c-16b.tiff
external/tiff-4.0.9/test/images/minisblack-1c-16b.tiff
external/tiff-4.0.9/test/images/minisblack-1c-8b.pgm
external/tiff-4.0.9/test/images/minisblack-1c-8b.tiff
external/tiff-4.0.9/test/images/minisblack-2c-8b-alpha.tiff
external/tiff-4.0.9/test/images/miniswhite-1c-1b.pbm
external/tiff-4.0.9/test/images/miniswhite-1c-1b.tiff
external/tiff-4.0.9/test/images/palette-1c-1b.tiff
external/tiff-4.0.9/test/images/palette-1c-4b.tiff
external/tiff-4.0.9/test/images/palette-1c-8b.tiff
external/tiff-4.0.9/test/images/quad-lzw-compat.tiff
external/tiff-4.0.9/test/images/quad-tile.jpg.tiff
external/tiff-4.0.9/test/images/rgb-3c-16b.tiff
external/tiff-4.0.9/test/images/rgb-3c-8b.ppm
external/tiff-4.0.9/test/images/rgb-3c-8b.tiff
external/tiff-4.0.9/test/long_tag.c
external/tiff-4.0.9/test/ppm2tiff_pbm.sh
external/tiff-4.0.9/test/ppm2tiff_pgm.sh
external/tiff-4.0.9/test/ppm2tiff_ppm.sh
external/tiff-4.0.9/test/raw_decode.c
external/tiff-4.0.9/test/rewrite_tag.c
external/tiff-4.0.9/test/short_tag.c
external/tiff-4.0.9/test/strip.c
external/tiff-4.0.9/test/strip_rw.c
external/tiff-4.0.9/test/test_arrays.c
external/tiff-4.0.9/test/test_arrays.h
external/tiff-4.0.9/test/tiff2bw-palette-1c-8b.sh
external/tiff-4.0.9/test/tiff2bw-quad-lzw-compat.sh
external/tiff-4.0.9/test/tiff2bw-rgb-3c-8b.sh
external/tiff-4.0.9/test/tiff2pdf.sh
external/tiff-4.0.9/test/tiff2ps-EPS1.sh
external/tiff-4.0.9/test/tiff2ps-PS1.sh
external/tiff-4.0.9/test/tiff2ps-PS2.sh
external/tiff-4.0.9/test/tiff2ps-PS3.sh
external/tiff-4.0.9/test/tiff2rgba-logluv-3c-16b.sh
external/tiff-4.0.9/test/tiff2rgba-minisblack-1c-16b.sh
external/tiff-4.0.9/test/tiff2rgba-minisblack-1c-8b.sh
external/tiff-4.0.9/test/tiff2rgba-minisblack-2c-8b-alpha.sh
external/tiff-4.0.9/test/tiff2rgba-miniswhite-1c-1b.sh
external/tiff-4.0.9/test/tiff2rgba-palette-1c-1b.sh
external/tiff-4.0.9/test/tiff2rgba-palette-1c-4b.sh
external/tiff-4.0.9/test/tiff2rgba-palette-1c-8b.sh
external/tiff-4.0.9/test/tiff2rgba-quad-tile.jpg.sh
external/tiff-4.0.9/test/tiff2rgba-rgb-3c-16b.sh
external/tiff-4.0.9/test/tiff2rgba-rgb-3c-8b.sh
external/tiff-4.0.9/test/tiffcp-g3-1d-fill.sh
external/tiff-4.0.9/test/tiffcp-g3-1d.sh
external/tiff-4.0.9/test/tiffcp-g3-2d-fill.sh
external/tiff-4.0.9/test/tiffcp-g3-2d.sh
external/tiff-4.0.9/test/tiffcp-g3.sh
external/tiff-4.0.9/test/tiffcp-g4.sh
external/tiff-4.0.9/test/tiffcp-logluv.sh
external/tiff-4.0.9/test/tiffcp-lzw-compat.sh
external/tiff-4.0.9/test/tiffcp-split-join.sh
external/tiff-4.0.9/test/tiffcp-split.sh
external/tiff-4.0.9/test/tiffcp-thumbnail.sh
external/tiff-4.0.9/test/tiffcrop-R90-logluv-3c-16b.sh
external/tiff-4.0.9/test/tiffcrop-R90-minisblack-1c-16b.sh
external/tiff-4.0.9/test/tiffcrop-R90-minisblack-1c-8b.sh
external/tiff-4.0.9/test/tiffcrop-R90-minisblack-2c-8b-alpha.sh
external/tiff-4.0.9/test/tiffcrop-R90-miniswhite-1c-1b.sh
external/tiff-4.0.9/test/tiffcrop-R90-palette-1c-1b.sh
external/tiff-4.0.9/test/tiffcrop-R90-palette-1c-4b.sh
external/tiff-4.0.9/test/tiffcrop-R90-palette-1c-8b.sh
external/tiff-4.0.9/test/tiffcrop-R90-rgb-3c-16b.sh
external/tiff-4.0.9/test/tiffcrop-R90-rgb-3c-8b.sh
external/tiff-4.0.9/test/tiffcrop-doubleflip-logluv-3c-16b.sh
external/tiff-4.0.9/test/tiffcrop-doubleflip-minisblack-1c-16b.sh
external/tiff-4.0.9/test/tiffcrop-doubleflip-minisblack-1c-8b.sh
external/tiff-4.0.9/test/tiffcrop-doubleflip-minisblack-2c-8b-alpha.sh
external/tiff-4.0.9/test/tiffcrop-doubleflip-miniswhite-1c-1b.sh
external/tiff-4.0.9/test/tiffcrop-doubleflip-palette-1c-1b.sh
external/tiff-4.0.9/test/tiffcrop-doubleflip-palette-1c-4b.sh
external/tiff-4.0.9/test/tiffcrop-doubleflip-palette-1c-8b.sh
external/tiff-4.0.9/test/tiffcrop-doubleflip-rgb-3c-16b.sh
external/tiff-4.0.9/test/tiffcrop-doubleflip-rgb-3c-8b.sh
external/tiff-4.0.9/test/tiffcrop-extract-logluv-3c-16b.sh
external/tiff-4.0.9/test/tiffcrop-extract-minisblack-1c-16b.sh
external/tiff-4.0.9/test/tiffcrop-extract-minisblack-1c-8b.sh
external/tiff-4.0.9/test/tiffcrop-extract-minisblack-2c-8b-alpha.sh
external/tiff-4.0.9/test/tiffcrop-extract-miniswhite-1c-1b.sh
external/tiff-4.0.9/test/tiffcrop-extract-palette-1c-1b.sh
external/tiff-4.0.9/test/tiffcrop-extract-palette-1c-4b.sh
external/tiff-4.0.9/test/tiffcrop-extract-palette-1c-8b.sh
external/tiff-4.0.9/test/tiffcrop-extract-rgb-3c-16b.sh
external/tiff-4.0.9/test/tiffcrop-extract-rgb-3c-8b.sh
external/tiff-4.0.9/test/tiffcrop-extractz14-logluv-3c-16b.sh
external/tiff-4.0.9/test/tiffcrop-extractz14-minisblack-1c-16b.sh
external/tiff-4.0.9/test/tiffcrop-extractz14-minisblack-1c-8b.sh
external/tiff-4.0.9/test/tiffcrop-extractz14-minisblack-2c-8b-alpha.sh
external/tiff-4.0.9/test/tiffcrop-extractz14-miniswhite-1c-1b.sh
external/tiff-4.0.9/test/tiffcrop-extractz14-palette-1c-1b.sh
external/tiff-4.0.9/test/tiffcrop-extractz14-palette-1c-4b.sh
external/tiff-4.0.9/test/tiffcrop-extractz14-palette-1c-8b.sh
external/tiff-4.0.9/test/tiffcrop-extractz14-rgb-3c-16b.sh
external/tiff-4.0.9/test/tiffcrop-extractz14-rgb-3c-8b.sh
external/tiff-4.0.9/test/tiffdump.sh
external/tiff-4.0.9/test/tiffinfo.sh
external/tiff-4.0.9/test/tifftest.h
external/tiff-4.0.9/tools/CMakeLists.txt
external/tiff-4.0.9/tools/Makefile.am
external/tiff-4.0.9/tools/Makefile.in
external/tiff-4.0.9/tools/Makefile.vc
external/tiff-4.0.9/tools/fax2ps.c
external/tiff-4.0.9/tools/fax2tiff.c
external/tiff-4.0.9/tools/pal2rgb.c
external/tiff-4.0.9/tools/ppm2tiff.c
external/tiff-4.0.9/tools/raw2tiff.c
external/tiff-4.0.9/tools/rgb2ycbcr.c
external/tiff-4.0.9/tools/thumbnail.c
external/tiff-4.0.9/tools/tiff2bw.c
external/tiff-4.0.9/tools/tiff2pdf.c
external/tiff-4.0.9/tools/tiff2ps.c
external/tiff-4.0.9/tools/tiff2rgba.c
external/tiff-4.0.9/tools/tiffcmp.c
external/tiff-4.0.9/tools/tiffcp.c
external/tiff-4.0.9/tools/tiffcrop.c
external/tiff-4.0.9/tools/tiffdither.c
external/tiff-4.0.9/tools/tiffdump.c
external/tiff-4.0.9/tools/tiffgt.c
external/tiff-4.0.9/tools/tiffinfo.c
external/tiff-4.0.9/tools/tiffmedian.c
external/tiff-4.0.9/tools/tiffset.c
external/tiff-4.0.9/tools/tiffsplit.c
external/tiff-4.1.0-win32config.patch
external/tiff-4.1.0/CMakeLists.txt
external/tiff-4.1.0/COPYRIGHT
external/tiff-4.1.0/ChangeLog
external/tiff-4.1.0/HOWTO-RELEASE
external/tiff-4.1.0/Makefile.am
external/tiff-4.1.0/Makefile.in
external/tiff-4.1.0/Makefile.vc
external/tiff-4.1.0/README.md
external/tiff-4.1.0/RELEASE-DATE
external/tiff-4.1.0/SConstruct
external/tiff-4.1.0/TODO
external/tiff-4.1.0/VERSION
external/tiff-4.1.0/aclocal.m4
external/tiff-4.1.0/autogen.sh
external/tiff-4.1.0/build/CMakeLists.txt
external/tiff-4.1.0/build/Makefile.am
external/tiff-4.1.0/build/Makefile.in
external/tiff-4.1.0/build/README
external/tiff-4.1.0/config/compile
external/tiff-4.1.0/config/config.guess
external/tiff-4.1.0/config/config.sub
external/tiff-4.1.0/config/depcomp
external/tiff-4.1.0/config/install-sh
external/tiff-4.1.0/config/ltmain.sh
external/tiff-4.1.0/config/missing
external/tiff-4.1.0/config/test-driver
external/tiff-4.1.0/configure
external/tiff-4.1.0/configure.ac
external/tiff-4.1.0/configure.com
external/tiff-4.1.0/contrib/CMakeLists.txt
external/tiff-4.1.0/contrib/Makefile.am
external/tiff-4.1.0/contrib/Makefile.in
external/tiff-4.1.0/contrib/README
external/tiff-4.1.0/contrib/addtiffo/CMakeLists.txt
external/tiff-4.1.0/contrib/addtiffo/Makefile.am
external/tiff-4.1.0/contrib/addtiffo/Makefile.in
external/tiff-4.1.0/contrib/addtiffo/Makefile.vc
external/tiff-4.1.0/contrib/addtiffo/README
external/tiff-4.1.0/contrib/addtiffo/addtiffo.c
external/tiff-4.1.0/contrib/addtiffo/tif_overview.c
external/tiff-4.1.0/contrib/addtiffo/tif_ovrcache.c
external/tiff-4.1.0/contrib/addtiffo/tif_ovrcache.h
external/tiff-4.1.0/contrib/dbs/CMakeLists.txt
external/tiff-4.1.0/contrib/dbs/Makefile.am
external/tiff-4.1.0/contrib/dbs/Makefile.in
external/tiff-4.1.0/contrib/dbs/README
external/tiff-4.1.0/contrib/dbs/tiff-bi.c
external/tiff-4.1.0/contrib/dbs/tiff-grayscale.c
external/tiff-4.1.0/contrib/dbs/tiff-palette.c
external/tiff-4.1.0/contrib/dbs/tiff-rgb.c
external/tiff-4.1.0/contrib/dbs/xtiff/CMakeLists.txt
external/tiff-4.1.0/contrib/dbs/xtiff/Makefile.am
external/tiff-4.1.0/contrib/dbs/xtiff/Makefile.in
external/tiff-4.1.0/contrib/dbs/xtiff/README
external/tiff-4.1.0/contrib/dbs/xtiff/patchlevel.h
external/tiff-4.1.0/contrib/dbs/xtiff/xtiff.c
external/tiff-4.1.0/contrib/dbs/xtiff/xtifficon.h
external/tiff-4.1.0/contrib/iptcutil/CMakeLists.txt
external/tiff-4.1.0/contrib/iptcutil/Makefile.am
external/tiff-4.1.0/contrib/iptcutil/Makefile.in
external/tiff-4.1.0/contrib/iptcutil/README
external/tiff-4.1.0/contrib/iptcutil/iptcutil.c
external/tiff-4.1.0/contrib/iptcutil/test.iptc
external/tiff-4.1.0/contrib/iptcutil/test.txt
external/tiff-4.1.0/contrib/mfs/CMakeLists.txt
external/tiff-4.1.0/contrib/mfs/Makefile.am
external/tiff-4.1.0/contrib/mfs/Makefile.in
external/tiff-4.1.0/contrib/mfs/README
external/tiff-4.1.0/contrib/mfs/mfs_file.c
external/tiff-4.1.0/contrib/pds/CMakeLists.txt
external/tiff-4.1.0/contrib/pds/Makefile.am
external/tiff-4.1.0/contrib/pds/Makefile.in
external/tiff-4.1.0/contrib/pds/README
external/tiff-4.1.0/contrib/pds/tif_imageiter.c
external/tiff-4.1.0/contrib/pds/tif_imageiter.h
external/tiff-4.1.0/contrib/pds/tif_pdsdirread.c
external/tiff-4.1.0/contrib/pds/tif_pdsdirwrite.c
external/tiff-4.1.0/contrib/ras/CMakeLists.txt
external/tiff-4.1.0/contrib/ras/Makefile.am
external/tiff-4.1.0/contrib/ras/Makefile.in
external/tiff-4.1.0/contrib/ras/README
external/tiff-4.1.0/contrib/ras/ras2tif.c
external/tiff-4.1.0/contrib/ras/tif2ras.c
external/tiff-4.1.0/contrib/stream/CMakeLists.txt
external/tiff-4.1.0/contrib/stream/Makefile.am
external/tiff-4.1.0/contrib/stream/Makefile.in
external/tiff-4.1.0/contrib/stream/README
external/tiff-4.1.0/contrib/stream/tiffstream.cpp
external/tiff-4.1.0/contrib/stream/tiffstream.h
external/tiff-4.1.0/contrib/tags/CMakeLists.txt
external/tiff-4.1.0/contrib/tags/Makefile.am
external/tiff-4.1.0/contrib/tags/Makefile.in
external/tiff-4.1.0/contrib/tags/README
external/tiff-4.1.0/contrib/tags/listtif.c
external/tiff-4.1.0/contrib/tags/maketif.c
external/tiff-4.1.0/contrib/tags/xtif_dir.c
external/tiff-4.1.0/contrib/tags/xtiffio.h
external/tiff-4.1.0/contrib/tags/xtiffiop.h
external/tiff-4.1.0/contrib/win_dib/CMakeLists.txt
external/tiff-4.1.0/contrib/win_dib/Makefile.am
external/tiff-4.1.0/contrib/win_dib/Makefile.in
external/tiff-4.1.0/contrib/win_dib/Makefile.w95
external/tiff-4.1.0/contrib/win_dib/README.Tiffile
external/tiff-4.1.0/contrib/win_dib/README.tiff2dib
external/tiff-4.1.0/contrib/win_dib/Tiffile.cpp
external/tiff-4.1.0/contrib/win_dib/tiff2dib.c
external/tiff-4.1.0/html/CMakeLists.txt
external/tiff-4.1.0/html/Makefile.am
external/tiff-4.1.0/html/Makefile.in
external/tiff-4.1.0/html/TIFFTechNote2.html
external/tiff-4.1.0/html/addingtags.html
external/tiff-4.1.0/html/bugs.html
external/tiff-4.1.0/html/build.html
external/tiff-4.1.0/html/contrib.html
external/tiff-4.1.0/html/document.html
external/tiff-4.1.0/html/images.html
external/tiff-4.1.0/html/images/CMakeLists.txt
external/tiff-4.1.0/html/images/Makefile.am
external/tiff-4.1.0/html/images/Makefile.in
external/tiff-4.1.0/html/images/back.gif
external/tiff-4.1.0/html/images/bali.jpg
external/tiff-4.1.0/html/images/cat.gif
external/tiff-4.1.0/html/images/cover.jpg
external/tiff-4.1.0/html/images/cramps.gif
external/tiff-4.1.0/html/images/dave.gif
external/tiff-4.1.0/html/images/info.gif
external/tiff-4.1.0/html/images/jello.jpg
external/tiff-4.1.0/html/images/jim.gif
external/tiff-4.1.0/html/images/note.gif
external/tiff-4.1.0/html/images/oxford.gif
external/tiff-4.1.0/html/images/quad.jpg
external/tiff-4.1.0/html/images/ring.gif
external/tiff-4.1.0/html/images/smallliz.jpg
external/tiff-4.1.0/html/images/strike.gif
external/tiff-4.1.0/html/images/warning.gif
external/tiff-4.1.0/html/index.html
external/tiff-4.1.0/html/internals.html
external/tiff-4.1.0/html/intro.html
external/tiff-4.1.0/html/libtiff.html
external/tiff-4.1.0/html/man/CMakeLists.txt
external/tiff-4.1.0/html/man/HtmlDoc.cmake
external/tiff-4.1.0/html/man/Makefile.am
external/tiff-4.1.0/html/man/Makefile.in
external/tiff-4.1.0/html/man/TIFFClose.3tiff.html
external/tiff-4.1.0/html/man/TIFFDataWidth.3tiff.html
external/tiff-4.1.0/html/man/TIFFError.3tiff.html
external/tiff-4.1.0/html/man/TIFFFieldDataType.3tiff.html
external/tiff-4.1.0/html/man/TIFFFieldName.3tiff.html
external/tiff-4.1.0/html/man/TIFFFieldPassCount.3tiff.html
external/tiff-4.1.0/html/man/TIFFFieldReadCount.3tiff.html
external/tiff-4.1.0/html/man/TIFFFieldTag.3tiff.html
external/tiff-4.1.0/html/man/TIFFFieldWriteCount.3tiff.html
external/tiff-4.1.0/html/man/TIFFFlush.3tiff.html
external/tiff-4.1.0/html/man/TIFFGetField.3tiff.html
external/tiff-4.1.0/html/man/TIFFOpen.3tiff.html
external/tiff-4.1.0/html/man/TIFFPrintDirectory.3tiff.html
external/tiff-4.1.0/html/man/TIFFRGBAImage.3tiff.html
external/tiff-4.1.0/html/man/TIFFReadDirectory.3tiff.html
external/tiff-4.1.0/html/man/TIFFReadEncodedStrip.3tiff.html
external/tiff-4.1.0/html/man/TIFFReadEncodedTile.3tiff.html
external/tiff-4.1.0/html/man/TIFFReadRGBAImage.3tiff.html
external/tiff-4.1.0/html/man/TIFFReadRGBAStrip.3tiff.html
external/tiff-4.1.0/html/man/TIFFReadRGBATile.3tiff.html
external/tiff-4.1.0/html/man/TIFFReadRawStrip.3tiff.html
external/tiff-4.1.0/html/man/TIFFReadRawTile.3tiff.html
external/tiff-4.1.0/html/man/TIFFReadScanline.3tiff.html
external/tiff-4.1.0/html/man/TIFFReadTile.3tiff.html
external/tiff-4.1.0/html/man/TIFFSetDirectory.3tiff.html
external/tiff-4.1.0/html/man/TIFFSetField.3tiff.html
external/tiff-4.1.0/html/man/TIFFWarning.3tiff.html
external/tiff-4.1.0/html/man/TIFFWriteDirectory.3tiff.html
external/tiff-4.1.0/html/man/TIFFWriteEncodedStrip.3tiff.html
external/tiff-4.1.0/html/man/TIFFWriteEncodedTile.3tiff.html
external/tiff-4.1.0/html/man/TIFFWriteRawStrip.3tiff.html
external/tiff-4.1.0/html/man/TIFFWriteRawTile.3tiff.html
external/tiff-4.1.0/html/man/TIFFWriteScanline.3tiff.html
external/tiff-4.1.0/html/man/TIFFWriteTile.3tiff.html
external/tiff-4.1.0/html/man/TIFFbuffer.3tiff.html
external/tiff-4.1.0/html/man/TIFFcodec.3tiff.html
external/tiff-4.1.0/html/man/TIFFcolor.3tiff.html
external/tiff-4.1.0/html/man/TIFFmemory.3tiff.html
external/tiff-4.1.0/html/man/TIFFquery.3tiff.html
external/tiff-4.1.0/html/man/TIFFsize.3tiff.html
external/tiff-4.1.0/html/man/TIFFstrip.3tiff.html
external/tiff-4.1.0/html/man/TIFFswab.3tiff.html
external/tiff-4.1.0/html/man/TIFFtile.3tiff.html
external/tiff-4.1.0/html/man/fax2ps.1.html
external/tiff-4.1.0/html/man/fax2tiff.1.html
external/tiff-4.1.0/html/man/index.html
external/tiff-4.1.0/html/man/libtiff.3tiff.html
external/tiff-4.1.0/html/man/pal2rgb.1.html
external/tiff-4.1.0/html/man/ppm2tiff.1.html
external/tiff-4.1.0/html/man/raw2tiff.1.html
external/tiff-4.1.0/html/man/tiff2bw.1.html
external/tiff-4.1.0/html/man/tiff2pdf.1.html
external/tiff-4.1.0/html/man/tiff2ps.1.html
external/tiff-4.1.0/html/man/tiff2rgba.1.html
external/tiff-4.1.0/html/man/tiffcmp.1.html
external/tiff-4.1.0/html/man/tiffcp.1.html
external/tiff-4.1.0/html/man/tiffcrop.1.html
external/tiff-4.1.0/html/man/tiffdither.1.html
external/tiff-4.1.0/html/man/tiffdump.1.html
external/tiff-4.1.0/html/man/tiffgt.1.html
external/tiff-4.1.0/html/man/tiffinfo.1.html
external/tiff-4.1.0/html/man/tiffmedian.1.html
external/tiff-4.1.0/html/man/tiffset.1.html
external/tiff-4.1.0/html/man/tiffsplit.1.html
external/tiff-4.1.0/html/misc.html
external/tiff-4.1.0/html/support.html
external/tiff-4.1.0/html/tools.html
external/tiff-4.1.0/html/v3.4beta007.html
external/tiff-4.1.0/html/v3.4beta016.html
external/tiff-4.1.0/html/v3.4beta018.html
external/tiff-4.1.0/html/v3.4beta024.html
external/tiff-4.1.0/html/v3.4beta028.html
external/tiff-4.1.0/html/v3.4beta029.html
external/tiff-4.1.0/html/v3.4beta031.html
external/tiff-4.1.0/html/v3.4beta032.html
external/tiff-4.1.0/html/v3.4beta033.html
external/tiff-4.1.0/html/v3.4beta034.html
external/tiff-4.1.0/html/v3.4beta035.html
external/tiff-4.1.0/html/v3.4beta036.html
external/tiff-4.1.0/html/v3.5.1.html
external/tiff-4.1.0/html/v3.5.2.html
external/tiff-4.1.0/html/v3.5.3.html
external/tiff-4.1.0/html/v3.5.4.html
external/tiff-4.1.0/html/v3.5.5.html
external/tiff-4.1.0/html/v3.5.6-beta.html
external/tiff-4.1.0/html/v3.5.7.html
external/tiff-4.1.0/html/v3.6.0.html
external/tiff-4.1.0/html/v3.6.1.html
external/tiff-4.1.0/html/v3.7.0.html
external/tiff-4.1.0/html/v3.7.0alpha.html
external/tiff-4.1.0/html/v3.7.0beta.html
external/tiff-4.1.0/html/v3.7.0beta2.html
external/tiff-4.1.0/html/v3.7.1.html
external/tiff-4.1.0/html/v3.7.2.html
external/tiff-4.1.0/html/v3.7.3.html
external/tiff-4.1.0/html/v3.7.4.html
external/tiff-4.1.0/html/v3.8.0.html
external/tiff-4.1.0/html/v3.8.1.html
external/tiff-4.1.0/html/v3.8.2.html
external/tiff-4.1.0/html/v3.9.0beta.html
external/tiff-4.1.0/html/v3.9.1.html
external/tiff-4.1.0/html/v3.9.2.html
external/tiff-4.1.0/html/v4.0.0.html
external/tiff-4.1.0/html/v4.0.1.html
external/tiff-4.1.0/html/v4.0.10.html
external/tiff-4.1.0/html/v4.0.2.html
external/tiff-4.1.0/html/v4.0.3.html
external/tiff-4.1.0/html/v4.0.4.html
external/tiff-4.1.0/html/v4.0.4beta.html
external/tiff-4.1.0/html/v4.0.5.html
external/tiff-4.1.0/html/v4.0.6.html
external/tiff-4.1.0/html/v4.0.7.html
external/tiff-4.1.0/html/v4.0.8.html
external/tiff-4.1.0/html/v4.0.9.html
external/tiff-4.1.0/html/v4.1.0.html
external/tiff-4.1.0/libtiff-4.pc.in
external/tiff-4.1.0/libtiff/CMakeLists.txt
external/tiff-4.1.0/libtiff/Makefile.am
external/tiff-4.1.0/libtiff/Makefile.in
external/tiff-4.1.0/libtiff/Makefile.vc
external/tiff-4.1.0/libtiff/SConstruct
external/tiff-4.1.0/libtiff/libtiff.def
external/tiff-4.1.0/libtiff/libtiff.map
external/tiff-4.1.0/libtiff/libtiffxx.map
external/tiff-4.1.0/libtiff/mingw/tif_config.h
external/tiff-4.1.0/libtiff/mingw/tiffconf.h
external/tiff-4.1.0/libtiff/mkg3states.c
external/tiff-4.1.0/libtiff/t4.h
external/tiff-4.1.0/libtiff/tif_aux.c
external/tiff-4.1.0/libtiff/tif_close.c
external/tiff-4.1.0/libtiff/tif_codec.c
external/tiff-4.1.0/libtiff/tif_color.c
external/tiff-4.1.0/libtiff/tif_compress.c
external/tiff-4.1.0/libtiff/tif_config.h-vms
external/tiff-4.1.0/libtiff/tif_config.h.cmake.in
external/tiff-4.1.0/libtiff/tif_config.h.in
external/tiff-4.1.0/libtiff/tif_config.vc.h
external/tiff-4.1.0/libtiff/tif_config.wince.h
external/tiff-4.1.0/libtiff/tif_dir.c
external/tiff-4.1.0/libtiff/tif_dir.h
external/tiff-4.1.0/libtiff/tif_dirinfo.c
external/tiff-4.1.0/libtiff/tif_dirread.c
external/tiff-4.1.0/libtiff/tif_dirwrite.c
external/tiff-4.1.0/libtiff/tif_dumpmode.c
external/tiff-4.1.0/libtiff/tif_error.c
external/tiff-4.1.0/libtiff/tif_extension.c
external/tiff-4.1.0/libtiff/tif_fax3.c
external/tiff-4.1.0/libtiff/tif_fax3.h
external/tiff-4.1.0/libtiff/tif_fax3sm.c
external/tiff-4.1.0/libtiff/tif_flush.c
external/tiff-4.1.0/libtiff/tif_getimage.c
external/tiff-4.1.0/libtiff/tif_jbig.c
external/tiff-4.1.0/libtiff/tif_jpeg.c
external/tiff-4.1.0/libtiff/tif_jpeg_12.c
external/tiff-4.1.0/libtiff/tif_luv.c
external/tiff-4.1.0/libtiff/tif_lzma.c
external/tiff-4.1.0/libtiff/tif_lzw.c
external/tiff-4.1.0/libtiff/tif_next.c
external/tiff-4.1.0/libtiff/tif_ojpeg.c
external/tiff-4.1.0/libtiff/tif_open.c
external/tiff-4.1.0/libtiff/tif_packbits.c
external/tiff-4.1.0/libtiff/tif_pixarlog.c
external/tiff-4.1.0/libtiff/tif_predict.c
external/tiff-4.1.0/libtiff/tif_predict.h
external/tiff-4.1.0/libtiff/tif_print.c
external/tiff-4.1.0/libtiff/tif_read.c
external/tiff-4.1.0/libtiff/tif_stream.cxx
external/tiff-4.1.0/libtiff/tif_strip.c
external/tiff-4.1.0/libtiff/tif_swab.c
external/tiff-4.1.0/libtiff/tif_thunder.c
external/tiff-4.1.0/libtiff/tif_tile.c
external/tiff-4.1.0/libtiff/tif_unix.c
external/tiff-4.1.0/libtiff/tif_version.c
external/tiff-4.1.0/libtiff/tif_warning.c
external/tiff-4.1.0/libtiff/tif_webp.c
external/tiff-4.1.0/libtiff/tif_win32.c
external/tiff-4.1.0/libtiff/tif_write.c
external/tiff-4.1.0/libtiff/tif_zip.c
external/tiff-4.1.0/libtiff/tif_zstd.c
external/tiff-4.1.0/libtiff/tiff.h
external/tiff-4.1.0/libtiff/tiffconf.h.cmake.in
external/tiff-4.1.0/libtiff/tiffconf.h.in
external/tiff-4.1.0/libtiff/tiffconf.vc.h
external/tiff-4.1.0/libtiff/tiffconf.wince.h
external/tiff-4.1.0/libtiff/tiffio.h
external/tiff-4.1.0/libtiff/tiffio.hxx
external/tiff-4.1.0/libtiff/tiffiop.h
external/tiff-4.1.0/libtiff/tiffvers.h
external/tiff-4.1.0/libtiff/uvcode.h
external/tiff-4.1.0/m4/acinclude.m4
external/tiff-4.1.0/m4/libtool.m4
external/tiff-4.1.0/m4/ltoptions.m4
external/tiff-4.1.0/m4/ltsugar.m4
external/tiff-4.1.0/m4/ltversion.m4
external/tiff-4.1.0/m4/lt~obsolete.m4
external/tiff-4.1.0/man/CMakeLists.txt
external/tiff-4.1.0/man/Makefile.am
external/tiff-4.1.0/man/Makefile.in
external/tiff-4.1.0/man/TIFFClose.3tiff
external/tiff-4.1.0/man/TIFFDataWidth.3tiff
external/tiff-4.1.0/man/TIFFError.3tiff
external/tiff-4.1.0/man/TIFFFieldDataType.3tiff
external/tiff-4.1.0/man/TIFFFieldName.3tiff
external/tiff-4.1.0/man/TIFFFieldPassCount.3tiff
external/tiff-4.1.0/man/TIFFFieldReadCount.3tiff
external/tiff-4.1.0/man/TIFFFieldTag.3tiff
external/tiff-4.1.0/man/TIFFFieldWriteCount.3tiff
external/tiff-4.1.0/man/TIFFFlush.3tiff
external/tiff-4.1.0/man/TIFFGetField.3tiff
external/tiff-4.1.0/man/TIFFOpen.3tiff
external/tiff-4.1.0/man/TIFFPrintDirectory.3tiff
external/tiff-4.1.0/man/TIFFRGBAImage.3tiff
external/tiff-4.1.0/man/TIFFReadDirectory.3tiff
external/tiff-4.1.0/man/TIFFReadEncodedStrip.3tiff
external/tiff-4.1.0/man/TIFFReadEncodedTile.3tiff
external/tiff-4.1.0/man/TIFFReadRGBAImage.3tiff
external/tiff-4.1.0/man/TIFFReadRGBAStrip.3tiff
external/tiff-4.1.0/man/TIFFReadRGBATile.3tiff
external/tiff-4.1.0/man/TIFFReadRawStrip.3tiff
external/tiff-4.1.0/man/TIFFReadRawTile.3tiff
external/tiff-4.1.0/man/TIFFReadScanline.3tiff
external/tiff-4.1.0/man/TIFFReadTile.3tiff
external/tiff-4.1.0/man/TIFFSetDirectory.3tiff
external/tiff-4.1.0/man/TIFFSetField.3tiff
external/tiff-4.1.0/man/TIFFWarning.3tiff
external/tiff-4.1.0/man/TIFFWriteDirectory.3tiff
external/tiff-4.1.0/man/TIFFWriteEncodedStrip.3tiff
external/tiff-4.1.0/man/TIFFWriteEncodedTile.3tiff
external/tiff-4.1.0/man/TIFFWriteRawStrip.3tiff
external/tiff-4.1.0/man/TIFFWriteRawTile.3tiff
external/tiff-4.1.0/man/TIFFWriteScanline.3tiff
external/tiff-4.1.0/man/TIFFWriteTile.3tiff
external/tiff-4.1.0/man/TIFFbuffer.3tiff
external/tiff-4.1.0/man/TIFFcodec.3tiff
external/tiff-4.1.0/man/TIFFcolor.3tiff
external/tiff-4.1.0/man/TIFFmemory.3tiff
external/tiff-4.1.0/man/TIFFquery.3tiff
external/tiff-4.1.0/man/TIFFsize.3tiff
external/tiff-4.1.0/man/TIFFstrip.3tiff
external/tiff-4.1.0/man/TIFFswab.3tiff
external/tiff-4.1.0/man/TIFFtile.3tiff
external/tiff-4.1.0/man/fax2ps.1
external/tiff-4.1.0/man/fax2tiff.1
external/tiff-4.1.0/man/libtiff.3tiff
external/tiff-4.1.0/man/pal2rgb.1
external/tiff-4.1.0/man/ppm2tiff.1
external/tiff-4.1.0/man/raw2tiff.1
external/tiff-4.1.0/man/tiff2bw.1
external/tiff-4.1.0/man/tiff2pdf.1
external/tiff-4.1.0/man/tiff2ps.1
external/tiff-4.1.0/man/tiff2rgba.1
external/tiff-4.1.0/man/tiffcmp.1
external/tiff-4.1.0/man/tiffcp.1
external/tiff-4.1.0/man/tiffcrop.1
external/tiff-4.1.0/man/tiffdither.1
external/tiff-4.1.0/man/tiffdump.1
external/tiff-4.1.0/man/tiffgt.1
external/tiff-4.1.0/man/tiffinfo.1
external/tiff-4.1.0/man/tiffmedian.1
external/tiff-4.1.0/man/tiffset.1
external/tiff-4.1.0/man/tiffsplit.1
external/tiff-4.1.0/nmake.opt
external/tiff-4.1.0/port/CMakeLists.txt
external/tiff-4.1.0/port/Makefile.am
external/tiff-4.1.0/port/Makefile.in
external/tiff-4.1.0/port/Makefile.vc
external/tiff-4.1.0/port/_strtol.h
external/tiff-4.1.0/port/_strtoul.h
external/tiff-4.1.0/port/dummy.c
external/tiff-4.1.0/port/getopt.c
external/tiff-4.1.0/port/lfind.c
external/tiff-4.1.0/port/libport.h
external/tiff-4.1.0/port/snprintf.c
external/tiff-4.1.0/port/strcasecmp.c
external/tiff-4.1.0/port/strtol.c
external/tiff-4.1.0/port/strtoll.c
external/tiff-4.1.0/port/strtoul.c
external/tiff-4.1.0/port/strtoull.c
external/tiff-4.1.0/test/CMakeLists.txt
external/tiff-4.1.0/test/Makefile.am
external/tiff-4.1.0/test/Makefile.in
external/tiff-4.1.0/test/TiffSplitTest.cmake
external/tiff-4.1.0/test/TiffTest.cmake
external/tiff-4.1.0/test/TiffTestCommon.cmake
external/tiff-4.1.0/test/ascii_tag.c
external/tiff-4.1.0/test/check_tag.c
external/tiff-4.1.0/test/common.sh
external/tiff-4.1.0/test/custom_dir.c
external/tiff-4.1.0/test/defer_strile_loading.c
external/tiff-4.1.0/test/defer_strile_writing.c
external/tiff-4.1.0/test/fax2tiff.sh
external/tiff-4.1.0/test/images/README.txt
external/tiff-4.1.0/test/images/logluv-3c-16b.tiff
external/tiff-4.1.0/test/images/lzw-single-strip.tiff
external/tiff-4.1.0/test/images/minisblack-1c-16b.tiff
external/tiff-4.1.0/test/images/minisblack-1c-8b.pgm
external/tiff-4.1.0/test/images/minisblack-1c-8b.tiff
external/tiff-4.1.0/test/images/minisblack-2c-8b-alpha.tiff
external/tiff-4.1.0/test/images/miniswhite-1c-1b.g3
external/tiff-4.1.0/test/images/miniswhite-1c-1b.pbm
external/tiff-4.1.0/test/images/miniswhite-1c-1b.tiff
external/tiff-4.1.0/test/images/palette-1c-1b.tiff
external/tiff-4.1.0/test/images/palette-1c-4b.tiff
external/tiff-4.1.0/test/images/palette-1c-8b.tiff
external/tiff-4.1.0/test/images/quad-lzw-compat.tiff
external/tiff-4.1.0/test/images/quad-tile.jpg.tiff
external/tiff-4.1.0/test/images/rgb-3c-16b.tiff
external/tiff-4.1.0/test/images/rgb-3c-8b.ppm
external/tiff-4.1.0/test/images/rgb-3c-8b.tiff
external/tiff-4.1.0/test/long_tag.c
external/tiff-4.1.0/test/ppm2tiff_pbm.sh
external/tiff-4.1.0/test/ppm2tiff_pgm.sh
external/tiff-4.1.0/test/ppm2tiff_ppm.sh
external/tiff-4.1.0/test/raw_decode.c
external/tiff-4.1.0/test/refs/o-tiff2ps-EPS1.ps
external/tiff-4.1.0/test/refs/o-tiff2ps-PS1.ps
external/tiff-4.1.0/test/refs/o-tiff2ps-PS2.ps
external/tiff-4.1.0/test/refs/o-tiff2ps-PS3.ps
external/tiff-4.1.0/test/rewrite_tag.c
external/tiff-4.1.0/test/short_tag.c
external/tiff-4.1.0/test/strip.c
external/tiff-4.1.0/test/strip_rw.c
external/tiff-4.1.0/test/test_arrays.c
external/tiff-4.1.0/test/test_arrays.h
external/tiff-4.1.0/test/testtypes.c
external/tiff-4.1.0/test/tiff2bw-palette-1c-8b.sh
external/tiff-4.1.0/test/tiff2bw-quad-lzw-compat.sh
external/tiff-4.1.0/test/tiff2bw-rgb-3c-8b.sh
external/tiff-4.1.0/test/tiff2pdf.sh
external/tiff-4.1.0/test/tiff2ps-EPS1.sh
external/tiff-4.1.0/test/tiff2ps-PS1.sh
external/tiff-4.1.0/test/tiff2ps-PS2.sh
external/tiff-4.1.0/test/tiff2ps-PS3.sh
external/tiff-4.1.0/test/tiff2rgba-logluv-3c-16b.sh
external/tiff-4.1.0/test/tiff2rgba-minisblack-1c-16b.sh
external/tiff-4.1.0/test/tiff2rgba-minisblack-1c-8b.sh
external/tiff-4.1.0/test/tiff2rgba-minisblack-2c-8b-alpha.sh
external/tiff-4.1.0/test/tiff2rgba-miniswhite-1c-1b.sh
external/tiff-4.1.0/test/tiff2rgba-palette-1c-1b.sh
external/tiff-4.1.0/test/tiff2rgba-palette-1c-4b.sh
external/tiff-4.1.0/test/tiff2rgba-palette-1c-8b.sh
external/tiff-4.1.0/test/tiff2rgba-quad-tile.jpg.sh
external/tiff-4.1.0/test/tiff2rgba-rgb-3c-16b.sh
external/tiff-4.1.0/test/tiff2rgba-rgb-3c-8b.sh
external/tiff-4.1.0/test/tiffcp-g3-1d-fill.sh
external/tiff-4.1.0/test/tiffcp-g3-1d.sh
external/tiff-4.1.0/test/tiffcp-g3-2d-fill.sh
external/tiff-4.1.0/test/tiffcp-g3-2d.sh
external/tiff-4.1.0/test/tiffcp-g3.sh
external/tiff-4.1.0/test/tiffcp-g4.sh
external/tiff-4.1.0/test/tiffcp-logluv.sh
external/tiff-4.1.0/test/tiffcp-lzw-compat.sh
external/tiff-4.1.0/test/tiffcp-lzw-scanline-decode.sh
external/tiff-4.1.0/test/tiffcp-split-join.sh
external/tiff-4.1.0/test/tiffcp-split.sh
external/tiff-4.1.0/test/tiffcp-thumbnail.sh
external/tiff-4.1.0/test/tiffcrop-R90-logluv-3c-16b.sh
external/tiff-4.1.0/test/tiffcrop-R90-minisblack-1c-16b.sh
external/tiff-4.1.0/test/tiffcrop-R90-minisblack-1c-8b.sh
external/tiff-4.1.0/test/tiffcrop-R90-minisblack-2c-8b-alpha.sh
external/tiff-4.1.0/test/tiffcrop-R90-miniswhite-1c-1b.sh
external/tiff-4.1.0/test/tiffcrop-R90-palette-1c-1b.sh
external/tiff-4.1.0/test/tiffcrop-R90-palette-1c-4b.sh
external/tiff-4.1.0/test/tiffcrop-R90-palette-1c-8b.sh
external/tiff-4.1.0/test/tiffcrop-R90-rgb-3c-16b.sh
external/tiff-4.1.0/test/tiffcrop-R90-rgb-3c-8b.sh
external/tiff-4.1.0/test/tiffcrop-doubleflip-logluv-3c-16b.sh
external/tiff-4.1.0/test/tiffcrop-doubleflip-minisblack-1c-16b.sh
external/tiff-4.1.0/test/tiffcrop-doubleflip-minisblack-1c-8b.sh
external/tiff-4.1.0/test/tiffcrop-doubleflip-minisblack-2c-8b-alpha.sh
external/tiff-4.1.0/test/tiffcrop-doubleflip-miniswhite-1c-1b.sh
external/tiff-4.1.0/test/tiffcrop-doubleflip-palette-1c-1b.sh
external/tiff-4.1.0/test/tiffcrop-doubleflip-palette-1c-4b.sh
external/tiff-4.1.0/test/tiffcrop-doubleflip-palette-1c-8b.sh
external/tiff-4.1.0/test/tiffcrop-doubleflip-rgb-3c-16b.sh
external/tiff-4.1.0/test/tiffcrop-doubleflip-rgb-3c-8b.sh
external/tiff-4.1.0/test/tiffcrop-extract-logluv-3c-16b.sh
external/tiff-4.1.0/test/tiffcrop-extract-minisblack-1c-16b.sh
external/tiff-4.1.0/test/tiffcrop-extract-minisblack-1c-8b.sh
external/tiff-4.1.0/test/tiffcrop-extract-minisblack-2c-8b-alpha.sh
external/tiff-4.1.0/test/tiffcrop-extract-miniswhite-1c-1b.sh
external/tiff-4.1.0/test/tiffcrop-extract-palette-1c-1b.sh
external/tiff-4.1.0/test/tiffcrop-extract-palette-1c-4b.sh
external/tiff-4.1.0/test/tiffcrop-extract-palette-1c-8b.sh
external/tiff-4.1.0/test/tiffcrop-extract-rgb-3c-16b.sh
external/tiff-4.1.0/test/tiffcrop-extract-rgb-3c-8b.sh
external/tiff-4.1.0/test/tiffcrop-extractz14-logluv-3c-16b.sh
external/tiff-4.1.0/test/tiffcrop-extractz14-minisblack-1c-16b.sh
external/tiff-4.1.0/test/tiffcrop-extractz14-minisblack-1c-8b.sh
external/tiff-4.1.0/test/tiffcrop-extractz14-minisblack-2c-8b-alpha.sh
external/tiff-4.1.0/test/tiffcrop-extractz14-miniswhite-1c-1b.sh
external/tiff-4.1.0/test/tiffcrop-extractz14-palette-1c-1b.sh
external/tiff-4.1.0/test/tiffcrop-extractz14-palette-1c-4b.sh
external/tiff-4.1.0/test/tiffcrop-extractz14-palette-1c-8b.sh
external/tiff-4.1.0/test/tiffcrop-extractz14-rgb-3c-16b.sh
external/tiff-4.1.0/test/tiffcrop-extractz14-rgb-3c-8b.sh
external/tiff-4.1.0/test/tiffdump.sh
external/tiff-4.1.0/test/tiffinfo.sh
external/tiff-4.1.0/test/tifftest.h
external/tiff-4.1.0/tools/CMakeLists.txt
external/tiff-4.1.0/tools/Makefile.am
external/tiff-4.1.0/tools/Makefile.in
external/tiff-4.1.0/tools/Makefile.vc
external/tiff-4.1.0/tools/fax2ps.c
external/tiff-4.1.0/tools/fax2tiff.c
external/tiff-4.1.0/tools/pal2rgb.c
external/tiff-4.1.0/tools/ppm2tiff.c
external/tiff-4.1.0/tools/raw2tiff.c
external/tiff-4.1.0/tools/rgb2ycbcr.c
external/tiff-4.1.0/tools/thumbnail.c
external/tiff-4.1.0/tools/tiff2bw.c
external/tiff-4.1.0/tools/tiff2pdf.c
external/tiff-4.1.0/tools/tiff2ps.c
external/tiff-4.1.0/tools/tiff2rgba.c
external/tiff-4.1.0/tools/tiffcmp.c
external/tiff-4.1.0/tools/tiffcp.c
external/tiff-4.1.0/tools/tiffcrop.c
external/tiff-4.1.0/tools/tiffdither.c
external/tiff-4.1.0/tools/tiffdump.c
external/tiff-4.1.0/tools/tiffgt.c
external/tiff-4.1.0/tools/tiffinfo.c
external/tiff-4.1.0/tools/tiffmedian.c
external/tiff-4.1.0/tools/tiffset.c
external/tiff-4.1.0/tools/tiffsplit.c
     1.1 --- a/VisualC/external/include/tiff.h	Wed Nov 06 20:50:02 2019 +0300
     1.2 +++ b/VisualC/external/include/tiff.h	Wed Nov 06 20:55:21 2019 +0300
     1.3 @@ -1,5 +1,3 @@
     1.4 -/* $Id: tiff.h,v 1.70 2016-01-23 21:20:34 erouault Exp $ */
     1.5 -
     1.6  /*
     1.7   * Copyright (c) 1988-1997 Sam Leffler
     1.8   * Copyright (c) 1991-1997 Silicon Graphics, Inc.
     1.9 @@ -189,7 +187,11 @@
    1.10  #define     COMPRESSION_SGILOG		34676	/* SGI Log Luminance RLE */
    1.11  #define     COMPRESSION_SGILOG24	34677	/* SGI Log 24-bit packed */
    1.12  #define     COMPRESSION_JP2000          34712   /* Leadtools JPEG2000 */
    1.13 +#define     COMPRESSION_LERC            34887   /* ESRI Lerc codec: https://github.com/Esri/lerc */
    1.14 +/* compression codes 34887-34889 are reserved for ESRI */
    1.15  #define	    COMPRESSION_LZMA		34925	/* LZMA2 */
    1.16 +#define	    COMPRESSION_ZSTD		50000	/* ZSTD: WARNING not registered in Adobe-maintained registry */
    1.17 +#define	    COMPRESSION_WEBP		50001	/* WEBP: WARNING not registered in Adobe-maintained registry */
    1.18  #define	TIFFTAG_PHOTOMETRIC		262	/* photometric interpretation */
    1.19  #define	    PHOTOMETRIC_MINISWHITE	0	/* min value is white */
    1.20  #define	    PHOTOMETRIC_MINISBLACK	1	/* min value is black */
    1.21 @@ -450,6 +452,8 @@
    1.22  /* tag 34929 is a private tag registered to FedEx */
    1.23  #define	TIFFTAG_FEDEX_EDR		34929	/* unknown use */
    1.24  #define TIFFTAG_INTEROPERABILITYIFD	40965	/* Pointer to Interoperability private directory */
    1.25 +/* tags 50674 to 50677 are reserved for ESRI */
    1.26 +#define TIFFTAG_LERC_PARAMETERS         50674   /* Stores LERC version and additional compression method */
    1.27  /* Adobe Digital Negative (DNG) format tags */
    1.28  #define TIFFTAG_DNGVERSION		50706	/* &DNG version number */
    1.29  #define TIFFTAG_DNGBACKWARDVERSION	50707	/* &DNG compatibility version */
    1.30 @@ -603,6 +607,16 @@
    1.31  #define TIFFTAG_PERSAMPLE       65563	/* interface for per sample tags */
    1.32  #define     PERSAMPLE_MERGED        0	/* present as a single value */
    1.33  #define     PERSAMPLE_MULTI         1	/* present as multiple values */
    1.34 +#define TIFFTAG_ZSTD_LEVEL      65564    /* ZSTD compression level */
    1.35 +#define TIFFTAG_LERC_VERSION            65565 /* LERC version */
    1.36 +#define     LERC_VERSION_2_4            4
    1.37 +#define TIFFTAG_LERC_ADD_COMPRESSION    65566 /* LERC additional compression */
    1.38 +#define     LERC_ADD_COMPRESSION_NONE    0
    1.39 +#define     LERC_ADD_COMPRESSION_DEFLATE 1
    1.40 +#define     LERC_ADD_COMPRESSION_ZSTD    2
    1.41 +#define TIFFTAG_LERC_MAXZERROR          65567    /* LERC maximum error */
    1.42 +#define TIFFTAG_WEBP_LEVEL		  65568	/* WebP compression level: WARNING not registered in Adobe-maintained registry */
    1.43 +#define TIFFTAG_WEBP_LOSSLESS		65569	/* WebP lossless/lossy : WARNING not registered in Adobe-maintained registry */
    1.44  
    1.45  /*
    1.46   * EXIF tags
     2.1 --- a/VisualC/external/include/tiffconf.h	Wed Nov 06 20:50:02 2019 +0300
     2.2 +++ b/VisualC/external/include/tiffconf.h	Wed Nov 06 20:55:21 2019 +0300
     2.3 @@ -42,15 +42,6 @@
     2.4  /* Pointer difference type */
     2.5  #define TIFF_PTRDIFF_T ptrdiff_t
     2.6  
     2.7 -/* Define to 1 if the system has the type `int16'. */
     2.8 -/* #undef HAVE_INT16 */
     2.9 -
    2.10 -/* Define to 1 if the system has the type `int32'. */
    2.11 -/* #undef HAVE_INT32 */
    2.12 -
    2.13 -/* Define to 1 if the system has the type `int8'. */
    2.14 -/* #undef HAVE_INT8 */
    2.15 -
    2.16  /* Compatibility stuff. */
    2.17  
    2.18  /* Define as 0 or 1 according to the floating point format suported by the
     3.1 --- a/VisualC/external/include/tiffio.h	Wed Nov 06 20:50:02 2019 +0300
     3.2 +++ b/VisualC/external/include/tiffio.h	Wed Nov 06 20:55:21 2019 +0300
     3.3 @@ -1,5 +1,3 @@
     3.4 -/* $Id: tiffio.h,v 1.94 2017-01-11 19:02:49 erouault Exp $ */
     3.5 -
     3.6  /*
     3.7   * Copyright (c) 1988-1997 Sam Leffler
     3.8   * Copyright (c) 1991-1997 Silicon Graphics, Inc.
     3.9 @@ -52,7 +50,7 @@
    3.10   *     promoted type (i.e. one of int, unsigned int, pointer,
    3.11   *     or double) and because we defined pseudo-tags that are
    3.12   *     outside the range of legal Aldus-assigned tags.
    3.13 - * NB: tsize_t is int32 and not uint32 because some functions
    3.14 + * NB: tsize_t is signed and not unsigned because some functions
    3.15   *     return -1.
    3.16   * NB: toff_t is not off_t for many reasons; TIFFs max out at
    3.17   *     32-bit file offsets, and BigTIFF maxes out at 64-bit
    3.18 @@ -413,6 +411,8 @@
    3.19  extern int TIFFWriteCustomDirectory(TIFF *, uint64 *);
    3.20  extern int TIFFCheckpointDirectory(TIFF *);
    3.21  extern int TIFFRewriteDirectory(TIFF *);
    3.22 +extern int TIFFDeferStrileArrayWriting(TIFF *);
    3.23 +extern int TIFFForceStrileArrayWriting(TIFF* );
    3.24  
    3.25  #if defined(c_plusplus) || defined(__cplusplus)
    3.26  extern void TIFFPrintDirectory(TIFF*, FILE*, long = 0);
    3.27 @@ -470,6 +470,9 @@
    3.28  extern tmsize_t TIFFReadRawStrip(TIFF* tif, uint32 strip, void* buf, tmsize_t size);  
    3.29  extern tmsize_t TIFFReadEncodedTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size);  
    3.30  extern tmsize_t TIFFReadRawTile(TIFF* tif, uint32 tile, void* buf, tmsize_t size);  
    3.31 +extern int      TIFFReadFromUserBuffer(TIFF* tif, uint32 strile,
    3.32 +                                       void* inbuf, tmsize_t insize,
    3.33 +                                       void* outbuf, tmsize_t outsize);
    3.34  extern tmsize_t TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc);
    3.35  extern tmsize_t TIFFWriteRawStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc);  
    3.36  extern tmsize_t TIFFWriteEncodedTile(TIFF* tif, uint32 tile, void* data, tmsize_t cc);  
    3.37 @@ -490,6 +493,11 @@
    3.38  extern void TIFFReverseBits(uint8* cp, tmsize_t n);
    3.39  extern const unsigned char* TIFFGetBitRevTable(int);
    3.40  
    3.41 +extern uint64 TIFFGetStrileOffset(TIFF *tif, uint32 strile);
    3.42 +extern uint64 TIFFGetStrileByteCount(TIFF *tif, uint32 strile);
    3.43 +extern uint64 TIFFGetStrileOffsetWithErr(TIFF *tif, uint32 strile, int *pbErr);
    3.44 +extern uint64 TIFFGetStrileByteCountWithErr(TIFF *tif, uint32 strile, int *pbErr);
    3.45 +
    3.46  #ifdef LOGLUV_PUBLIC
    3.47  #define U_NEU		0.210526316
    3.48  #define V_NEU		0.473684211
     4.1 --- a/VisualC/external/include/tiffvers.h	Wed Nov 06 20:50:02 2019 +0300
     4.2 +++ b/VisualC/external/include/tiffvers.h	Wed Nov 06 20:55:21 2019 +0300
     4.3 @@ -1,4 +1,4 @@
     4.4 -#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.0.9\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
     4.5 +#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.1.0\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
     4.6  /*
     4.7   * This define can be used in code that requires
     4.8   * compilation-related definitions specific to a
     4.9 @@ -6,4 +6,4 @@
    4.10   * version checking should be done based on the
    4.11   * string returned by TIFFGetVersion.
    4.12   */
    4.13 -#define TIFFLIB_VERSION 20171118
    4.14 +#define TIFFLIB_VERSION 20191103
     5.1 Binary file VisualC/external/lib/x64/libtiff-5.dll has changed
     6.1 Binary file VisualC/external/lib/x86/libtiff-5.dll has changed
     7.1 --- a/external/tiff-4.0.9-win32config.patch	Wed Nov 06 20:50:02 2019 +0300
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,647 +0,0 @@
     7.4 -diff -u /dev/null tiff-4.0.9/libtiff/mingw/Makefile
     7.5 ---- /dev/null
     7.6 -+++ tiff-4.0.9/libtiff/mingw/Makefile	2018-11-04 17:01:00.000000000 +0300
     7.7 -@@ -0,0 +1,68 @@
     7.8 -+CROSS	=
     7.9 -+CC	= $(CROSS)gcc
    7.10 -+
    7.11 -+DLLNAME = libtiff-5.dll
    7.12 -+LIBNAME = libtiff.dll.a
    7.13 -+INCLUDES= -I. -Iexternal/include
    7.14 -+CPPFLAGS= -DDLL_EXPORT
    7.15 -+CFLAGS	= -O2 -Wall
    7.16 -+LDFLAGS = -Wl,--enable-auto-image-base -Wl,--no-undefined
    7.17 -+LDLIBS	= -Lexternal/lib -ljpeg -lz
    7.18 -+
    7.19 -+OBJ =	tif_aux.o \
    7.20 -+	tif_close.o \
    7.21 -+	tif_codec.o \
    7.22 -+	tif_color.o \
    7.23 -+	tif_compress.o \
    7.24 -+	tif_dir.o \
    7.25 -+	tif_dirinfo.o \
    7.26 -+	tif_dirread.o \
    7.27 -+	tif_dirwrite.o \
    7.28 -+	tif_dumpmode.o \
    7.29 -+	tif_error.o \
    7.30 -+	tif_extension.o \
    7.31 -+	tif_fax3.o \
    7.32 -+	tif_fax3sm.o \
    7.33 -+	tif_flush.o \
    7.34 -+	tif_getimage.o \
    7.35 -+	tif_jbig.o \
    7.36 -+	tif_jpeg.o \
    7.37 -+	tif_jpeg_12.o \
    7.38 -+	tif_luv.o \
    7.39 -+	tif_lzma.o \
    7.40 -+	tif_lzw.o \
    7.41 -+	tif_next.o \
    7.42 -+	tif_ojpeg.o \
    7.43 -+	tif_open.o \
    7.44 -+	tif_packbits.o \
    7.45 -+	tif_pixarlog.o \
    7.46 -+	tif_predict.o \
    7.47 -+	tif_print.o \
    7.48 -+	tif_read.o \
    7.49 -+	tif_strip.o \
    7.50 -+	tif_swab.o \
    7.51 -+	tif_thunder.o \
    7.52 -+	tif_tile.o \
    7.53 -+	tif_version.o \
    7.54 -+	tif_warning.o \
    7.55 -+	tif_write.o \
    7.56 -+	tif_zip.o \
    7.57 -+	tif_win32.o
    7.58 -+
    7.59 -+all: $(DLLNAME)
    7.60 -+
    7.61 -+.PHONY: clean distclean
    7.62 -+.SUFFIXES:
    7.63 -+.SUFFIXES: .o .c
    7.64 -+
    7.65 -+%.o: ../%.c
    7.66 -+	$(CC) -c $(CPPFLAGS) $(INCLUDES) $(CFLAGS) -o $@ $<
    7.67 -+
    7.68 -+$(DLLNAME): $(OBJ)
    7.69 -+	$(CC) -shared -o $(DLLNAME) ../libtiff.def $(OBJ) $(LDFLAGS) $(LDLIBS) \
    7.70 -+		-Xlinker --out-implib -Xlinker $(LIBNAME)
    7.71 -+
    7.72 -+distclean: clean
    7.73 -+	$(RM) *.dll *.a
    7.74 -+clean:
    7.75 -+	$(RM) *.o
    7.76 -diff -u /dev/null tiff-4.0.9/libtiff/mingw/tif_config.h
    7.77 ---- /dev/null
    7.78 -+++ tiff-4.0.9/libtiff/mingw/tif_config.h	2018-11-04 17:01:00.000000000 +0300
    7.79 -@@ -0,0 +1,435 @@
    7.80 -+/* libtiff/tif_config.h.  Generated from tif_config.h.in by configure.  */
    7.81 -+/* libtiff/tif_config.h.in.  Generated from configure.ac by autoheader.  */
    7.82 -+
    7.83 -+/* Define if building universal (internal helper macro) */
    7.84 -+/* #undef AC_APPLE_UNIVERSAL_BUILD */
    7.85 -+
    7.86 -+/* Support CCITT Group 3 & 4 algorithms */
    7.87 -+#define CCITT_SUPPORT 1
    7.88 -+
    7.89 -+/* Pick up YCbCr subsampling info from the JPEG data stream to support files
    7.90 -+   lacking the tag (default enabled). */
    7.91 -+#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
    7.92 -+
    7.93 -+/* enable partial strip reading for large strips (experimental) */
    7.94 -+/* #undef CHUNKY_STRIP_READ_SUPPORT */
    7.95 -+
    7.96 -+/* Support C++ stream API (requires C++ compiler) */
    7.97 -+#define CXX_SUPPORT 1
    7.98 -+
    7.99 -+/* Treat extra sample as alpha (default enabled). The RGBA interface will
   7.100 -+   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
   7.101 -+   packages produce RGBA files but don't mark the alpha properly. */
   7.102 -+#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
   7.103 -+
   7.104 -+/* enable deferred strip/tile offset/size loading (experimental) */
   7.105 -+/* #undef DEFER_STRILE_LOAD */
   7.106 -+
   7.107 -+/* Define to 1 if you have the <assert.h> header file. */
   7.108 -+#define HAVE_ASSERT_H 1
   7.109 -+
   7.110 -+/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
   7.111 -+   */
   7.112 -+#define HAVE_DECL_OPTARG 1
   7.113 -+
   7.114 -+/* Define to 1 if you have the <dlfcn.h> header file. */
   7.115 -+/* #undef HAVE_DLFCN_H */
   7.116 -+
   7.117 -+/* Define to 1 if you have the <fcntl.h> header file. */
   7.118 -+#define HAVE_FCNTL_H 1
   7.119 -+
   7.120 -+/* Define to 1 if you have the `floor' function. */
   7.121 -+#define HAVE_FLOOR 1
   7.122 -+
   7.123 -+/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
   7.124 -+/* #undef HAVE_FSEEKO */
   7.125 -+
   7.126 -+/* Define to 1 if you have the `getopt' function. */
   7.127 -+#define HAVE_GETOPT 1
   7.128 -+
   7.129 -+/* Define to 1 if you have the <GLUT/glut.h> header file. */
   7.130 -+/* #undef HAVE_GLUT_GLUT_H */
   7.131 -+
   7.132 -+/* Define to 1 if you have the <GL/glut.h> header file. */
   7.133 -+/* #undef HAVE_GL_GLUT_H */
   7.134 -+
   7.135 -+/* Define to 1 if you have the <GL/glu.h> header file. */
   7.136 -+#define HAVE_GL_GLU_H 1
   7.137 -+
   7.138 -+/* Define to 1 if you have the <GL/gl.h> header file. */
   7.139 -+#define HAVE_GL_GL_H 1
   7.140 -+
   7.141 -+/* Define as 0 or 1 according to the floating point format suported by the
   7.142 -+   machine */
   7.143 -+#define HAVE_IEEEFP 1
   7.144 -+
   7.145 -+/* Define to 1 if the system has the type `int16'. */
   7.146 -+/* #undef HAVE_INT16 */
   7.147 -+
   7.148 -+/* Define to 1 if the system has the type `int32'. */
   7.149 -+/* #undef HAVE_INT32 */
   7.150 -+
   7.151 -+/* Define to 1 if the system has the type `int8'. */
   7.152 -+/* #undef HAVE_INT8 */
   7.153 -+
   7.154 -+/* Define to 1 if you have the <inttypes.h> header file. */
   7.155 -+#define HAVE_INTTYPES_H 1
   7.156 -+
   7.157 -+/* Define to 1 if you have the <io.h> header file. */
   7.158 -+#define HAVE_IO_H 1
   7.159 -+
   7.160 -+/* Define to 1 if you have the `isascii' function. */
   7.161 -+#define HAVE_ISASCII 1
   7.162 -+
   7.163 -+/* Define to 1 if you have the `jbg_newlen' function. */
   7.164 -+/* #undef HAVE_JBG_NEWLEN */
   7.165 -+
   7.166 -+/* Define to 1 if you have the `lfind' function. */
   7.167 -+#define HAVE_LFIND 1
   7.168 -+
   7.169 -+/* Define to 1 if you have the <limits.h> header file. */
   7.170 -+#define HAVE_LIMITS_H 1
   7.171 -+
   7.172 -+/* Define to 1 if you have the <malloc.h> header file. */
   7.173 -+#define HAVE_MALLOC_H 1
   7.174 -+
   7.175 -+/* Define to 1 if you have the `memmove' function. */
   7.176 -+#define HAVE_MEMMOVE 1
   7.177 -+
   7.178 -+/* Define to 1 if you have the <memory.h> header file. */
   7.179 -+#define HAVE_MEMORY_H 1
   7.180 -+
   7.181 -+/* Define to 1 if you have the `memset' function. */
   7.182 -+#define HAVE_MEMSET 1
   7.183 -+
   7.184 -+/* Define to 1 if you have the `mmap' function. */
   7.185 -+/* #undef HAVE_MMAP */
   7.186 -+
   7.187 -+/* Define to 1 if you have the <OpenGL/glu.h> header file. */
   7.188 -+/* #undef HAVE_OPENGL_GLU_H */
   7.189 -+
   7.190 -+/* Define to 1 if you have the <OpenGL/gl.h> header file. */
   7.191 -+/* #undef HAVE_OPENGL_GL_H */
   7.192 -+
   7.193 -+/* Define to 1 if you have the `pow' function. */
   7.194 -+#define HAVE_POW 1
   7.195 -+
   7.196 -+/* Define if you have POSIX threads libraries and header files. */
   7.197 -+/* #undef HAVE_PTHREAD */
   7.198 -+
   7.199 -+/* Define to 1 if you have the <search.h> header file. */
   7.200 -+#define HAVE_SEARCH_H 1
   7.201 -+
   7.202 -+/* Define to 1 if you have the `setmode' function. */
   7.203 -+#define HAVE_SETMODE 1
   7.204 -+
   7.205 -+/* Define to 1 if you have the `snprintf' function. */
   7.206 -+#define HAVE_SNPRINTF 1
   7.207 -+
   7.208 -+/* Define to 1 if you have the `sqrt' function. */
   7.209 -+#define HAVE_SQRT 1
   7.210 -+
   7.211 -+/* Define to 1 if you have the <stdint.h> header file. */
   7.212 -+#define HAVE_STDINT_H 1
   7.213 -+
   7.214 -+/* Define to 1 if you have the <stdlib.h> header file. */
   7.215 -+#define HAVE_STDLIB_H 1
   7.216 -+
   7.217 -+/* Define to 1 if you have the `strcasecmp' function. */
   7.218 -+#define HAVE_STRCASECMP 1
   7.219 -+
   7.220 -+/* Define to 1 if you have the `strchr' function. */
   7.221 -+#define HAVE_STRCHR 1
   7.222 -+
   7.223 -+/* Define to 1 if you have the <strings.h> header file. */
   7.224 -+#define HAVE_STRINGS_H 1
   7.225 -+
   7.226 -+/* Define to 1 if you have the <string.h> header file. */
   7.227 -+#define HAVE_STRING_H 1
   7.228 -+
   7.229 -+/* Define to 1 if you have the `strrchr' function. */
   7.230 -+#define HAVE_STRRCHR 1
   7.231 -+
   7.232 -+/* Define to 1 if you have the `strstr' function. */
   7.233 -+#define HAVE_STRSTR 1
   7.234 -+
   7.235 -+/* Define to 1 if you have the `strtol' function. */
   7.236 -+#define HAVE_STRTOL 1
   7.237 -+
   7.238 -+/* Define to 1 if you have the `strtoul' function. */
   7.239 -+#define HAVE_STRTOUL 1
   7.240 -+
   7.241 -+/* Define to 1 if you have the `strtoull' function. */
   7.242 -+#define HAVE_STRTOULL 1
   7.243 -+
   7.244 -+/* Define to 1 if you have the <sys/stat.h> header file. */
   7.245 -+#define HAVE_SYS_STAT_H 1
   7.246 -+
   7.247 -+/* Define to 1 if you have the <sys/time.h> header file. */
   7.248 -+#define HAVE_SYS_TIME_H 1
   7.249 -+
   7.250 -+/* Define to 1 if you have the <sys/types.h> header file. */
   7.251 -+#define HAVE_SYS_TYPES_H 1
   7.252 -+
   7.253 -+/* Define to 1 if you have the <unistd.h> header file. */
   7.254 -+#define HAVE_UNISTD_H 1
   7.255 -+
   7.256 -+/* Use nonstandard varargs form for the GLU tesselator callback */
   7.257 -+/* #undef HAVE_VARARGS_GLU_TESSCB */
   7.258 -+
   7.259 -+/* Define to 1 if you have the <windows.h> header file. */
   7.260 -+#define HAVE_WINDOWS_H 1
   7.261 -+
   7.262 -+/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
   7.263 -+   (Intel) */
   7.264 -+#define HOST_BIGENDIAN 0
   7.265 -+
   7.266 -+/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
   7.267 -+#define HOST_FILLORDER FILLORDER_LSB2MSB
   7.268 -+
   7.269 -+/* Support ISO JBIG compression (requires JBIG-KIT library) */
   7.270 -+/* #undef JBIG_SUPPORT */
   7.271 -+
   7.272 -+/* 8/12 bit libjpeg dual mode enabled */
   7.273 -+/* #undef JPEG_DUAL_MODE_8_12 */
   7.274 -+
   7.275 -+/* Support JPEG compression (requires IJG JPEG library) */
   7.276 -+#define JPEG_SUPPORT 1
   7.277 -+
   7.278 -+/* 12bit libjpeg primary include file with path */
   7.279 -+/* #undef LIBJPEG_12_PATH */
   7.280 -+
   7.281 -+/* Support LogLuv high dynamic range encoding */
   7.282 -+#define LOGLUV_SUPPORT 1
   7.283 -+
   7.284 -+/* Define to the sub-directory where libtool stores uninstalled libraries. */
   7.285 -+#define LT_OBJDIR ".libs/"
   7.286 -+
   7.287 -+/* Support LZMA2 compression */
   7.288 -+/* #undef LZMA_SUPPORT */
   7.289 -+
   7.290 -+/* Support LZW algorithm */
   7.291 -+#define LZW_SUPPORT 1
   7.292 -+
   7.293 -+/* Support Microsoft Document Imaging format */
   7.294 -+#define MDI_SUPPORT 1
   7.295 -+
   7.296 -+/* Support NeXT 2-bit RLE algorithm */
   7.297 -+#define NEXT_SUPPORT 1
   7.298 -+
   7.299 -+/* Support Old JPEG compresson (read-only) */
   7.300 -+#define OJPEG_SUPPORT 1
   7.301 -+
   7.302 -+/* Name of package */
   7.303 -+#define PACKAGE "tiff"
   7.304 -+
   7.305 -+/* Define to the address where bug reports for this package should be sent. */
   7.306 -+#define PACKAGE_BUGREPORT "tiff@lists.maptools.org"
   7.307 -+
   7.308 -+/* Define to the full name of this package. */
   7.309 -+#define PACKAGE_NAME "LibTIFF Software"
   7.310 -+
   7.311 -+/* Define to the full name and version of this package. */
   7.312 -+#define PACKAGE_STRING "LibTIFF Software 4.0.9"
   7.313 -+
   7.314 -+/* Define to the one symbol short name of this package. */
   7.315 -+#define PACKAGE_TARNAME "tiff"
   7.316 -+
   7.317 -+/* Define to the home page for this package. */
   7.318 -+#define PACKAGE_URL ""
   7.319 -+
   7.320 -+/* Define to the version of this package. */
   7.321 -+#define PACKAGE_VERSION "4.0.9"
   7.322 -+
   7.323 -+/* Support Macintosh PackBits algorithm */
   7.324 -+#define PACKBITS_SUPPORT 1
   7.325 -+
   7.326 -+/* Support Pixar log-format algorithm (requires Zlib) */
   7.327 -+#define PIXARLOG_SUPPORT 1
   7.328 -+
   7.329 -+/* Define to necessary symbol if this constant uses a non-standard name on
   7.330 -+   your system. */
   7.331 -+/* #undef PTHREAD_CREATE_JOINABLE */
   7.332 -+
   7.333 -+/* The size of `signed int', as computed by sizeof. */
   7.334 -+#define SIZEOF_SIGNED_INT 4
   7.335 -+
   7.336 -+/* The size of `signed long', as computed by sizeof. */
   7.337 -+#define SIZEOF_SIGNED_LONG 4
   7.338 -+
   7.339 -+/* The size of `signed long long', as computed by sizeof. */
   7.340 -+#define SIZEOF_SIGNED_LONG_LONG 8
   7.341 -+
   7.342 -+/* The size of `signed short', as computed by sizeof. */
   7.343 -+#define SIZEOF_SIGNED_SHORT 2
   7.344 -+
   7.345 -+/* The size of `size_t', as computed by sizeof. */
   7.346 -+#ifdef _WIN64
   7.347 -+#define SIZEOF_SIZE_T 8
   7.348 -+#else
   7.349 -+#define SIZEOF_SIZE_T 4
   7.350 -+#endif
   7.351 -+
   7.352 -+/* The size of `unsigned char *', as computed by sizeof. */
   7.353 -+#ifdef _WIN64
   7.354 -+#define SIZEOF_UNSIGNED_CHAR_P 8
   7.355 -+#else
   7.356 -+#define SIZEOF_UNSIGNED_CHAR_P 4
   7.357 -+#endif
   7.358 -+
   7.359 -+/* The size of `unsigned int', as computed by sizeof. */
   7.360 -+#define SIZEOF_UNSIGNED_INT 4
   7.361 -+
   7.362 -+/* The size of `unsigned long', as computed by sizeof. */
   7.363 -+#define SIZEOF_UNSIGNED_LONG 4
   7.364 -+
   7.365 -+/* The size of `unsigned long long', as computed by sizeof. */
   7.366 -+#define SIZEOF_UNSIGNED_LONG_LONG 8
   7.367 -+
   7.368 -+/* The size of `unsigned short', as computed by sizeof. */
   7.369 -+#define SIZEOF_UNSIGNED_SHORT 2
   7.370 -+
   7.371 -+/* Define to 1 if you have the ANSI C header files. */
   7.372 -+#define STDC_HEADERS 1
   7.373 -+
   7.374 -+/* Support strip chopping (whether or not to convert single-strip uncompressed
   7.375 -+   images to mutiple strips of specified size to reduce memory usage) */
   7.376 -+#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
   7.377 -+
   7.378 -+/* Default size of the strip in bytes (when strip chopping enabled) */
   7.379 -+#define STRIP_SIZE_DEFAULT 8192
   7.380 -+
   7.381 -+/* Enable SubIFD tag (330) support */
   7.382 -+#define SUBIFD_SUPPORT 1
   7.383 -+
   7.384 -+/* Support ThunderScan 4-bit RLE algorithm */
   7.385 -+#define THUNDER_SUPPORT 1
   7.386 -+
   7.387 -+/* Signed 16-bit type */
   7.388 -+#define TIFF_INT16_T signed short
   7.389 -+
   7.390 -+/* Signed 32-bit type formatter */
   7.391 -+#define TIFF_INT32_FORMAT "%d"
   7.392 -+
   7.393 -+/* Signed 32-bit type */
   7.394 -+#define TIFF_INT32_T signed int
   7.395 -+
   7.396 -+/* Signed 64-bit type formatter */
   7.397 -+#define TIFF_INT64_FORMAT "%I64d"
   7.398 -+
   7.399 -+/* Signed 64-bit type */
   7.400 -+#define TIFF_INT64_T signed long long
   7.401 -+
   7.402 -+/* Signed 8-bit type */
   7.403 -+#define TIFF_INT8_T signed char
   7.404 -+
   7.405 -+/* Pointer difference type formatter */
   7.406 -+#define TIFF_PTRDIFF_FORMAT "%ld"
   7.407 -+
   7.408 -+/* Pointer difference type */
   7.409 -+#define TIFF_PTRDIFF_T ptrdiff_t
   7.410 -+
   7.411 -+/* Size type formatter */
   7.412 -+#ifdef _WIN64
   7.413 -+#define TIFF_SIZE_FORMAT "%I64u"
   7.414 -+#else
   7.415 -+#define TIFF_SIZE_FORMAT "%u"
   7.416 -+#endif
   7.417 -+
   7.418 -+/* Unsigned size type */
   7.419 -+#ifdef _WIN64
   7.420 -+#define TIFF_SIZE_T unsigned long long
   7.421 -+#else
   7.422 -+#define TIFF_SIZE_T unsigned int
   7.423 -+#endif
   7.424 -+
   7.425 -+/* Signed size type formatter */
   7.426 -+#ifdef _WIN64
   7.427 -+#define TIFF_SSIZE_FORMAT "%I64d"
   7.428 -+#else
   7.429 -+#define TIFF_SSIZE_FORMAT "%d"
   7.430 -+#endif
   7.431 -+
   7.432 -+/* Signed size type */
   7.433 -+#ifdef _WIN64
   7.434 -+#define TIFF_SSIZE_T signed long long
   7.435 -+#else
   7.436 -+#define TIFF_SSIZE_T signed int
   7.437 -+#endif
   7.438 -+
   7.439 -+/* Unsigned 16-bit type */
   7.440 -+#define TIFF_UINT16_T unsigned short
   7.441 -+
   7.442 -+/* Unsigned 32-bit type formatter */
   7.443 -+#define TIFF_UINT32_FORMAT "%u"
   7.444 -+
   7.445 -+/* Unsigned 32-bit type */
   7.446 -+#define TIFF_UINT32_T unsigned int
   7.447 -+
   7.448 -+/* Unsigned 64-bit type formatter */
   7.449 -+#define TIFF_UINT64_FORMAT "%I64u"
   7.450 -+
   7.451 -+/* Unsigned 64-bit type */
   7.452 -+#define TIFF_UINT64_T unsigned long long
   7.453 -+
   7.454 -+/* Unsigned 8-bit type */
   7.455 -+#define TIFF_UINT8_T unsigned char
   7.456 -+
   7.457 -+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
   7.458 -+#define TIME_WITH_SYS_TIME 1
   7.459 -+
   7.460 -+/* Define to 1 if your <sys/time.h> declares `struct tm'. */
   7.461 -+/* #undef TM_IN_SYS_TIME */
   7.462 -+
   7.463 -+/* define to use win32 IO system */
   7.464 -+#define USE_WIN32_FILEIO 1
   7.465 -+
   7.466 -+/* Version number of package */
   7.467 -+#define VERSION "4.0.9"
   7.468 -+
   7.469 -+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
   7.470 -+   significant byte first (like Motorola and SPARC, unlike Intel). */
   7.471 -+#if defined AC_APPLE_UNIVERSAL_BUILD
   7.472 -+# if defined __BIG_ENDIAN__
   7.473 -+#  define WORDS_BIGENDIAN 1
   7.474 -+# endif
   7.475 -+#else
   7.476 -+# ifndef WORDS_BIGENDIAN
   7.477 -+/* #  undef WORDS_BIGENDIAN */
   7.478 -+# endif
   7.479 -+#endif
   7.480 -+
   7.481 -+/* Define to 1 if the X Window System is missing or not being used. */
   7.482 -+/* #undef X_DISPLAY_MISSING */
   7.483 -+
   7.484 -+/* Support Deflate compression */
   7.485 -+#define ZIP_SUPPORT 1
   7.486 -+
   7.487 -+/* Enable large inode numbers on Mac OS X 10.5.  */
   7.488 -+#ifndef _DARWIN_USE_64_BIT_INODE
   7.489 -+# define _DARWIN_USE_64_BIT_INODE 1
   7.490 -+#endif
   7.491 -+
   7.492 -+/* Number of bits in a file offset, on hosts where this is settable. */
   7.493 -+/* #undef _FILE_OFFSET_BITS */
   7.494 -+
   7.495 -+/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
   7.496 -+/* #undef _LARGEFILE_SOURCE */
   7.497 -+
   7.498 -+/* Define for large files, on AIX-style hosts. */
   7.499 -+/* #undef _LARGE_FILES */
   7.500 -+
   7.501 -+/* Define to empty if `const' does not conform to ANSI C. */
   7.502 -+/* #undef const */
   7.503 -+
   7.504 -+/* Define to `__inline__' or `__inline' if that's what the C compiler
   7.505 -+   calls it, or to nothing if 'inline' is not supported under any name.  */
   7.506 -+#ifndef __cplusplus
   7.507 -+/* #undef inline */
   7.508 -+#endif
   7.509 -+
   7.510 -+/* Define to `long int' if <sys/types.h> does not define. */
   7.511 -+/* #undef off_t */
   7.512 -+
   7.513 -+/* Define to `unsigned int' if <sys/types.h> does not define. */
   7.514 -+/* #undef size_t */
   7.515 -diff -u /dev/null tiff-4.0.9/libtiff/mingw/tiffconf.h
   7.516 ---- /dev/null
   7.517 -+++ tiff-4.0.9/libtiff/mingw/tiffconf.h	2018-11-04 17:01:00.000000000 +0300
   7.518 -@@ -0,0 +1,132 @@
   7.519 -+/* libtiff/tiffconf.h.  Generated from tiffconf.h.in by configure.  */
   7.520 -+/*
   7.521 -+  Configuration defines for installed libtiff.
   7.522 -+  This file maintained for backward compatibility. Do not use definitions
   7.523 -+  from this file in your programs.
   7.524 -+*/
   7.525 -+
   7.526 -+#ifndef _TIFFCONF_
   7.527 -+#define _TIFFCONF_
   7.528 -+
   7.529 -+/* Signed 16-bit type */
   7.530 -+#define TIFF_INT16_T signed short
   7.531 -+
   7.532 -+/* Signed 32-bit type */
   7.533 -+#define TIFF_INT32_T signed int
   7.534 -+
   7.535 -+/* Signed 64-bit type */
   7.536 -+#define TIFF_INT64_T signed long long
   7.537 -+
   7.538 -+/* Signed 8-bit type */
   7.539 -+#define TIFF_INT8_T signed char
   7.540 -+
   7.541 -+/* Unsigned 16-bit type */
   7.542 -+#define TIFF_UINT16_T unsigned short
   7.543 -+
   7.544 -+/* Unsigned 32-bit type */
   7.545 -+#define TIFF_UINT32_T unsigned int
   7.546 -+
   7.547 -+/* Unsigned 64-bit type */
   7.548 -+#define TIFF_UINT64_T unsigned long long
   7.549 -+
   7.550 -+/* Unsigned 8-bit type */
   7.551 -+#define TIFF_UINT8_T unsigned char
   7.552 -+
   7.553 -+/* Signed size type */
   7.554 -+#if defined _WIN64
   7.555 -+#define TIFF_SSIZE_T signed long long
   7.556 -+#else
   7.557 -+#define TIFF_SSIZE_T signed int
   7.558 -+#endif
   7.559 -+
   7.560 -+/* Pointer difference type */
   7.561 -+#define TIFF_PTRDIFF_T ptrdiff_t
   7.562 -+
   7.563 -+/* Define to 1 if the system has the type `int16'. */
   7.564 -+/* #undef HAVE_INT16 */
   7.565 -+
   7.566 -+/* Define to 1 if the system has the type `int32'. */
   7.567 -+/* #undef HAVE_INT32 */
   7.568 -+
   7.569 -+/* Define to 1 if the system has the type `int8'. */
   7.570 -+/* #undef HAVE_INT8 */
   7.571 -+
   7.572 -+/* Compatibility stuff. */
   7.573 -+
   7.574 -+/* Define as 0 or 1 according to the floating point format suported by the
   7.575 -+   machine */
   7.576 -+#define HAVE_IEEEFP 1
   7.577 -+
   7.578 -+/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
   7.579 -+#define HOST_FILLORDER FILLORDER_LSB2MSB
   7.580 -+
   7.581 -+/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
   7.582 -+   (Intel) */
   7.583 -+#define HOST_BIGENDIAN 0
   7.584 -+
   7.585 -+/* Support CCITT Group 3 & 4 algorithms */
   7.586 -+#define CCITT_SUPPORT 1
   7.587 -+
   7.588 -+/* Support JPEG compression (requires IJG JPEG library) */
   7.589 -+#define JPEG_SUPPORT 1
   7.590 -+
   7.591 -+/* Support JBIG compression (requires JBIG-KIT library) */
   7.592 -+/* #undef JBIG_SUPPORT */
   7.593 -+
   7.594 -+/* Support LogLuv high dynamic range encoding */
   7.595 -+#define LOGLUV_SUPPORT 1
   7.596 -+
   7.597 -+/* Support LZW algorithm */
   7.598 -+#define LZW_SUPPORT 1
   7.599 -+
   7.600 -+/* Support NeXT 2-bit RLE algorithm */
   7.601 -+#define NEXT_SUPPORT 1
   7.602 -+
   7.603 -+/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
   7.604 -+   fails with unpatched IJG JPEG library) */
   7.605 -+#define OJPEG_SUPPORT 1
   7.606 -+
   7.607 -+/* Support Macintosh PackBits algorithm */
   7.608 -+#define PACKBITS_SUPPORT 1
   7.609 -+
   7.610 -+/* Support Pixar log-format algorithm (requires Zlib) */
   7.611 -+#define PIXARLOG_SUPPORT 1
   7.612 -+
   7.613 -+/* Support ThunderScan 4-bit RLE algorithm */
   7.614 -+#define THUNDER_SUPPORT 1
   7.615 -+
   7.616 -+/* Support Deflate compression */
   7.617 -+#define ZIP_SUPPORT 1
   7.618 -+
   7.619 -+/* Support strip chopping (whether or not to convert single-strip uncompressed
   7.620 -+   images to mutiple strips of ~8Kb to reduce memory usage) */
   7.621 -+#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
   7.622 -+
   7.623 -+/* Enable SubIFD tag (330) support */
   7.624 -+#define SUBIFD_SUPPORT 1
   7.625 -+
   7.626 -+/* Treat extra sample as alpha (default enabled). The RGBA interface will
   7.627 -+   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
   7.628 -+   packages produce RGBA files but don't mark the alpha properly. */
   7.629 -+#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
   7.630 -+
   7.631 -+/* Pick up YCbCr subsampling info from the JPEG data stream to support files
   7.632 -+   lacking the tag (default enabled). */
   7.633 -+#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
   7.634 -+
   7.635 -+/* Support MS MDI magic number files as TIFF */
   7.636 -+#define MDI_SUPPORT 1
   7.637 -+
   7.638 -+/*
   7.639 -+ * Feature support definitions.
   7.640 -+ * XXX: These macros are obsoleted. Don't use them in your apps!
   7.641 -+ * Macros stays here for backward compatibility and should be always defined.
   7.642 -+ */
   7.643 -+#define COLORIMETRY_SUPPORT
   7.644 -+#define YCBCR_SUPPORT
   7.645 -+#define CMYK_SUPPORT
   7.646 -+#define ICC_SUPPORT
   7.647 -+#define PHOTOSHOP_SUPPORT
   7.648 -+#define IPTC_SUPPORT
   7.649 -+
   7.650 -+#endif /* _TIFFCONF_ */
     8.1 --- a/external/tiff-4.0.9/CMakeLists.txt	Wed Nov 06 20:50:02 2019 +0300
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,764 +0,0 @@
     8.4 -# CMake build for libtiff
     8.5 -# Run "cmake" to generate the build files for your platform
     8.6 -#
     8.7 -# Copyright © 2015 Open Microscopy Environment / University of Dundee
     8.8 -# Written by Roger Leigh <rleigh@codelibre.net>
     8.9 -#
    8.10 -# Permission to use, copy, modify, distribute, and sell this software and
    8.11 -# its documentation for any purpose is hereby granted without fee, provided
    8.12 -# that (i) the above copyright notices and this permission notice appear in
    8.13 -# all copies of the software and related documentation, and (ii) the names of
    8.14 -# Sam Leffler and Silicon Graphics may not be used in any advertising or
    8.15 -# publicity relating to the software without the specific, prior written
    8.16 -# permission of Sam Leffler and Silicon Graphics.
    8.17 -#
    8.18 -# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
    8.19 -# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
    8.20 -# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
    8.21 -#
    8.22 -# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
    8.23 -# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
    8.24 -# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
    8.25 -# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
    8.26 -# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
    8.27 -# OF THIS SOFTWARE.
    8.28 -
    8.29 -cmake_minimum_required(VERSION 2.8.9)
    8.30 -
    8.31 -# Default policy is from 2.8.9
    8.32 -cmake_policy(VERSION 2.8.9)
    8.33 -# Set MacOSX @rpath usage globally.
    8.34 -if (POLICY CMP0020)
    8.35 -  cmake_policy(SET CMP0020 NEW)
    8.36 -endif(POLICY CMP0020)
    8.37 -if (POLICY CMP0042)
    8.38 -  cmake_policy(SET CMP0042 NEW)
    8.39 -endif(POLICY CMP0042)
    8.40 -# Use new variable expansion policy.
    8.41 -if (POLICY CMP0053)
    8.42 -  cmake_policy(SET CMP0053 NEW)
    8.43 -endif(POLICY CMP0053)
    8.44 -if (POLICY CMP0054)
    8.45 -  cmake_policy(SET CMP0054 NEW)
    8.46 -endif(POLICY CMP0054)
    8.47 -
    8.48 -# Read version information from configure.ac.
    8.49 -FILE(READ "${CMAKE_CURRENT_SOURCE_DIR}/configure.ac" configure)
    8.50 -STRING(REGEX REPLACE ";" "\\\\;" configure "${configure}")
    8.51 -STRING(REGEX REPLACE "\n" ";" configure "${configure}")
    8.52 -foreach(line ${configure})
    8.53 -  foreach(var LIBTIFF_MAJOR_VERSION LIBTIFF_MINOR_VERSION LIBTIFF_MICRO_VERSION LIBTIFF_ALPHA_VERSION
    8.54 -          LIBTIFF_CURRENT LIBTIFF_REVISION LIBTIFF_AGE)
    8.55 -    if(NOT ${var})
    8.56 -      string(REGEX MATCH "^${var}=(.*)" ${var}_MATCH "${line}")
    8.57 -      if(${var}_MATCH)
    8.58 -        string(REGEX REPLACE "^${var}=(.*)" "\\1" ${var} "${line}")
    8.59 -      endif()
    8.60 -    endif()
    8.61 -  endforeach()
    8.62 -endforeach()
    8.63 -
    8.64 -math(EXPR SO_MAJOR "${LIBTIFF_CURRENT} - ${LIBTIFF_AGE}")
    8.65 -set(SO_MINOR "${LIBTIFF_AGE}")
    8.66 -set(SO_REVISION "${LIBTIFF_REVISION}")
    8.67 -
    8.68 -message(STATUS "Building tiff version ${LIBTIFF_MAJOR_VERSION}.${LIBTIFF_MINOR_VERSION}.${LIBTIFF_MICRO_VERSION}${LIBTIFF_ALPHA_VERSION}")
    8.69 -message(STATUS "libtiff library version ${SO_MAJOR}.${SO_MINOR}.${SO_REVISION}")
    8.70 -
    8.71 -set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries")
    8.72 -
    8.73 -# Project version
    8.74 -project(tiff C)
    8.75 -set(VERSION "${LIBTIFF_MAJOR_VERSION}.${LIBTIFF_MINOR_VERSION}.${LIBTIFF_MICRO_VERSION}")
    8.76 -set(tiff_VERSION "${VERSION}")
    8.77 -set(tiff_VERSION_MAJOR "${LIBTIFF_MAJOR_VERSION}")
    8.78 -set(tiff_VERSION_MINOR "${LIBTIFF_MINOR_VERSION}")
    8.79 -set(tiff_VERSION_PATCH "${LIBTIFF_MICRO_VERSION}")
    8.80 -
    8.81 -# the other tiff_VERSION_* variables are set automatically
    8.82 -set(tiff_VERSION_ALPHA "${LIBTIFF_ALPHA_VERSION}")
    8.83 -# Library version (unlike libtool's baroque scheme, WYSIWYG here)
    8.84 -set(SO_COMPATVERSION "${SO_MAJOR}")
    8.85 -set(SO_VERSION "${SO_MAJOR}.${SO_MINOR}.${SO_REVISION}")
    8.86 -
    8.87 -# For autotools header compatibility
    8.88 -set(PACKAGE_NAME "LibTIFF Software")
    8.89 -set(PACKAGE_TARNAME "${PROJECT_NAME}")
    8.90 -set(PACKAGE_VERSION "${PROJECT_VERSION}${tiff_VERSION_ALPHA}")
    8.91 -set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
    8.92 -set(PACKAGE_BUGREPORT "tiff@lists.maptools.org")
    8.93 -
    8.94 -include(GNUInstallDirs)
    8.95 -include(CheckCCompilerFlag)
    8.96 -include(CheckCSourceCompiles)
    8.97 -include(CheckIncludeFile)
    8.98 -include(CheckTypeSize)
    8.99 -include(CheckFunctionExists)
   8.100 -enable_testing()
   8.101 -
   8.102 -macro(current_date var)
   8.103 -  if(UNIX)
   8.104 -    execute_process(COMMAND "date" +"%Y%m%d" OUTPUT_VARIABLE ${var})
   8.105 -  endif()
   8.106 -endmacro()
   8.107 -
   8.108 -current_date(RELEASE_DATE)
   8.109 -
   8.110 -macro(extra_dist)
   8.111 -  foreach(file ${ARGV})
   8.112 -    file(RELATIVE_PATH relfile "${PROJECT_SOURCE_DIR}"
   8.113 -         "${CMAKE_CURRENT_SOURCE_DIR}/${file}")
   8.114 -    list(APPEND EXTRA_DIST "${relfile}")
   8.115 -  endforeach()
   8.116 -  set(EXTRA_DIST "${EXTRA_DIST}" PARENT_SCOPE)
   8.117 -endmacro()
   8.118 -
   8.119 -set(EXTRA_DIST
   8.120 -  HOWTO-RELEASE
   8.121 -  Makefile.vc
   8.122 -  SConstruct
   8.123 -  autogen.sh
   8.124 -  configure.com
   8.125 -  nmake.opt
   8.126 -  libtiff-4.pc.in)
   8.127 -
   8.128 -# These are annoyingly verbose, produce false positives or don't work
   8.129 -# nicely with all supported compiler versions, so are disabled unless
   8.130 -# explicitly enabled.
   8.131 -option(extra-warnings "Enable extra compiler warnings" OFF)
   8.132 -
   8.133 -# This will cause the compiler to fail when an error occurs.
   8.134 -option(fatal-warnings "Compiler warnings are errors" OFF)
   8.135 -
   8.136 -# Check if the compiler supports each of the following additional
   8.137 -# flags, and enable them if supported.  This greatly improves the
   8.138 -# quality of the build by checking for a number of common problems,
   8.139 -# some of which are quite serious.
   8.140 -if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR
   8.141 -   CMAKE_C_COMPILER_ID MATCHES "Clang")
   8.142 -  set(test_flags
   8.143 -      -Wall
   8.144 -      -Winline
   8.145 -      -W
   8.146 -      -Wformat-security
   8.147 -      -Wpointer-arith
   8.148 -      -Wdisabled-optimization
   8.149 -      -Wno-unknown-pragmas
   8.150 -      -Wdeclaration-after-statement
   8.151 -      -fstrict-aliasing)
   8.152 -  if(extra-warnings)
   8.153 -    list(APPEND test_flags
   8.154 -        -Wfloat-equal
   8.155 -        -Wmissing-prototypes
   8.156 -        -Wunreachable-code)
   8.157 -  endif()
   8.158 -  if(fatal-warnings)
   8.159 -    list(APPEND test_flags
   8.160 -         -Werror)
   8.161 -  endif()
   8.162 -elseif(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
   8.163 -  set(test_flags)
   8.164 -  if(extra-warnings)
   8.165 -    list(APPEND test_flags
   8.166 -         /W4)
   8.167 -  else()
   8.168 -    list(APPEND test_flags
   8.169 -         /W3)
   8.170 -  endif()
   8.171 -  if (fatal-warnings)
   8.172 -    list(APPEND test_flags
   8.173 -         /WX)
   8.174 -  endif()
   8.175 -endif()
   8.176 -
   8.177 -foreach(flag ${test_flags})
   8.178 -  string(REGEX REPLACE "[^A-Za-z0-9]" "_" flag_var "${flag}")
   8.179 -  set(test_c_flag "C_FLAG${flag_var}")
   8.180 -  CHECK_C_COMPILER_FLAG(${flag} "${test_c_flag}")
   8.181 -  if (${test_c_flag})
   8.182 -     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${flag}")
   8.183 -  endif (${test_c_flag})
   8.184 -endforeach(flag ${test_flags})
   8.185 -
   8.186 -if(MSVC)
   8.187 -    set(CMAKE_DEBUG_POSTFIX "d")
   8.188 -endif()
   8.189 -
   8.190 -option(ld-version-script "Enable linker version script" ON)
   8.191 -# Check if LD supports linker scripts.
   8.192 -file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/conftest.map" "VERS_1 {
   8.193 -        global: sym;
   8.194 -};
   8.195 -
   8.196 -VERS_2 {
   8.197 -        global: sym;
   8.198 -} VERS_1;
   8.199 -")
   8.200 -set(CMAKE_REQUIRED_FLAGS_SAVE ${CMAKE_REQUIRED_FLAGS})
   8.201 -set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} "-Wl,--version-script=${CMAKE_CURRENT_BINARY_DIR}/conftest.map")
   8.202 -check_c_source_compiles("int main(void){return 0;}" HAVE_LD_VERSION_SCRIPT)
   8.203 -set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS_SAVE})
   8.204 -file(REMOVE "${CMAKE_CURRENT_BINARY_DIR}/conftest.map")
   8.205 -if (ld-version-script AND HAVE_LD_VERSION_SCRIPT)
   8.206 -  set(HAVE_LD_VERSION_SCRIPT TRUE)
   8.207 -else()
   8.208 -  set(HAVE_LD_VERSION_SCRIPT FALSE)
   8.209 -endif()
   8.210 -
   8.211 -# Find libm, if available
   8.212 -find_library(M_LIBRARY m)
   8.213 -
   8.214 -check_include_file(assert.h    HAVE_ASSERT_H)
   8.215 -check_include_file(dlfcn.h     HAVE_DLFCN_H)
   8.216 -check_include_file(fcntl.h     HAVE_FCNTL_H)
   8.217 -check_include_file(inttypes.h  HAVE_INTTYPES_H)
   8.218 -check_include_file(io.h        HAVE_IO_H)
   8.219 -check_include_file(limits.h    HAVE_LIMITS_H)
   8.220 -check_include_file(malloc.h    HAVE_MALLOC_H)
   8.221 -check_include_file(memory.h    HAVE_MEMORY_H)
   8.222 -check_include_file(search.h    HAVE_SEARCH_H)
   8.223 -check_include_file(stdint.h    HAVE_STDINT_H)
   8.224 -check_include_file(string.h    HAVE_STRING_H)
   8.225 -check_include_file(strings.h   HAVE_STRINGS_H)
   8.226 -check_include_file(sys/time.h  HAVE_SYS_TIME_H)
   8.227 -check_include_file(sys/types.h HAVE_SYS_TYPES_H)
   8.228 -check_include_file(unistd.h    HAVE_UNISTD_H)
   8.229 -
   8.230 -# Inspired from /usr/share/autoconf/autoconf/c.m4
   8.231 -foreach(inline_keyword "inline" "__inline__" "__inline")
   8.232 -  if(NOT DEFINED C_INLINE)
   8.233 -    set(CMAKE_REQUIRED_DEFINITIONS_SAVE ${CMAKE_REQUIRED_DEFINITIONS})
   8.234 -    set(CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
   8.235 -        "-Dinline=${inline_keyword}")
   8.236 -    check_c_source_compiles("
   8.237 -        typedef int foo_t;
   8.238 -        static inline foo_t static_foo() {return 0;}
   8.239 -        foo_t foo(){return 0;}
   8.240 -        int main(int argc, char *argv[]) {return 0;}"
   8.241 -      C_HAS_${inline_keyword})
   8.242 -    set(CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS_SAVE})
   8.243 -    if(C_HAS_${inline_keyword})
   8.244 -      set(C_INLINE TRUE)
   8.245 -      set(INLINE_KEYWORD "${inline_keyword}")
   8.246 -    endif()
   8.247 - endif()
   8.248 -endforeach()
   8.249 -if(NOT DEFINED C_INLINE)
   8.250 -  set(INLINE_KEYWORD)
   8.251 -endif()
   8.252 -
   8.253 -# off_t and size_t checks omitted; not clear they are used at all
   8.254 -# Are off_t and size_t checks strictly necessary?
   8.255 -
   8.256 -# Check if sys/time.h and time.h allow use together
   8.257 -check_c_source_compiles("
   8.258 -#include <sys/time.h>
   8.259 -#include <time.h>
   8.260 -int main(void){return 0;}"
   8.261 -  TIME_WITH_SYS_TIME)
   8.262 -
   8.263 -# Check if struct tm is in sys/time.h
   8.264 -check_c_source_compiles("
   8.265 -#include <sys/types.h>
   8.266 -#include <time.h>
   8.267 -
   8.268 -int main(void){
   8.269 -  struct tm tm;
   8.270 -  int *p = &tm.tm_sec;
   8.271 -  return !p;
   8.272 -}"
   8.273 -  TM_IN_SYS_TIME)
   8.274 -
   8.275 -# Check type sizes
   8.276 -# NOTE: Could be replaced with C99 <stdint.h>
   8.277 -check_type_size("signed short" SIZEOF_SIGNED_SHORT)
   8.278 -check_type_size("unsigned short" SIZEOF_UNSIGNED_SHORT)
   8.279 -check_type_size("signed int" SIZEOF_SIGNED_INT)
   8.280 -check_type_size("unsigned int" SIZEOF_UNSIGNED_INT)
   8.281 -check_type_size("signed long" SIZEOF_SIGNED_LONG)
   8.282 -check_type_size("unsigned long" SIZEOF_UNSIGNED_LONG)
   8.283 -check_type_size("signed long long" SIZEOF_SIGNED_LONG_LONG)
   8.284 -check_type_size("unsigned long long" SIZEOF_UNSIGNED_LONG_LONG)
   8.285 -check_type_size("unsigned char *" SIZEOF_UNSIGNED_CHAR_P)
   8.286 -
   8.287 -set(CMAKE_EXTRA_INCLUDE_FILES_SAVE ${CMAKE_EXTRA_INCLUDE_FILES})
   8.288 -set(CMAKE_EXTRA_INCLUDE_FILES ${CMAKE_EXTRA_INCLUDE_FILES} "stddef.h")
   8.289 -check_type_size("size_t" SIZEOF_SIZE_T)
   8.290 -check_type_size("ptrdiff_t" SIZEOF_PTRDIFF_T)
   8.291 -set(CMAKE_EXTRA_INCLUDE_FILES ${CMAKE_EXTRA_INCLUDE_FILES_SAVE})
   8.292 -
   8.293 -macro(report_values)
   8.294 -  foreach(val ${ARGV})
   8.295 -    message(STATUS "${val} set to ${${val}}")
   8.296 -  endforeach()
   8.297 -endmacro()
   8.298 -
   8.299 -set(TIFF_INT8_T "signed char")
   8.300 -set(TIFF_UINT8_T "unsigned char")
   8.301 -
   8.302 -set(TIFF_INT16_T "signed short")
   8.303 -set(TIFF_UINT16_T "unsigned short")
   8.304 -
   8.305 -if(SIZEOF_SIGNED_INT EQUAL 4)
   8.306 -  set(TIFF_INT32_T "signed int")
   8.307 -  set(TIFF_INT32_FORMAT "%d")
   8.308 -elseif(SIZEOF_SIGNED_LONG EQUAL 4)
   8.309 -  set(TIFF_INT32_T "signed long")
   8.310 -  set(TIFF_INT32_FORMAT "%ld")
   8.311 -endif()
   8.312 -
   8.313 -if(SIZEOF_UNSIGNED_INT EQUAL 4)
   8.314 -  set(TIFF_UINT32_T "unsigned int")
   8.315 -  set(TIFF_UINT32_FORMAT "%u")
   8.316 -elseif(SIZEOF_UNSIGNED_LONG EQUAL 4)
   8.317 -  set(TIFF_UINT32_T "unsigned long")
   8.318 -  set(TIFF_UINT32_FORMAT "%lu")
   8.319 -endif()
   8.320 -
   8.321 -if(SIZEOF_SIGNED_LONG EQUAL 8)
   8.322 -  set(TIFF_INT64_T "signed long")
   8.323 -  set(TIFF_INT64_FORMAT "%ld")
   8.324 -elseif(SIZEOF_SIGNED_LONG_LONG EQUAL 8)
   8.325 -  set(TIFF_INT64_T "signed long long")
   8.326 -  if (MINGW)
   8.327 -    set(TIFF_INT64_FORMAT "%I64d")
   8.328 -  else()
   8.329 -    set(TIFF_INT64_FORMAT "%lld")
   8.330 -  endif()
   8.331 -endif()
   8.332 -
   8.333 -if(SIZEOF_UNSIGNED_LONG EQUAL 8)
   8.334 -  set(TIFF_UINT64_T "unsigned long")
   8.335 -  set(TIFF_UINT64_FORMAT "%lu")
   8.336 -elseif(SIZEOF_UNSIGNED_LONG_LONG EQUAL 8)
   8.337 -  set(TIFF_UINT64_T "unsigned long long")
   8.338 -  if (MINGW)
   8.339 -    set(TIFF_UINT64_FORMAT "%I64u")
   8.340 -  else()
   8.341 -    set(TIFF_UINT64_FORMAT "%llu")
   8.342 -  endif()
   8.343 -endif()
   8.344 -
   8.345 -if(SIZEOF_UNSIGNED_INT EQUAL SIZEOF_SIZE_T)
   8.346 -  set(TIFF_SIZE_T "unsigned int")
   8.347 -  set(TIFF_SIZE_FORMAT "%u")
   8.348 -elseif(SIZEOF_UNSIGNED_LONG EQUAL SIZEOF_SIZE_T)
   8.349 -  set(TIFF_SIZE_T "unsigned long")
   8.350 -  set(TIFF_SIZE_FORMAT "%lu")
   8.351 -elseif(SIZEOF_UNSIGNED_LONG_LONG EQUAL SIZEOF_SIZE_T)
   8.352 -  set(TIFF_SIZE_T "unsigned long")
   8.353 -  if (MINGW)
   8.354 -    set(TIFF_SIZE_FORMAT "%I64u")
   8.355 -  else()
   8.356 -    set(TIFF_SIZE_FORMAT "%llu")
   8.357 -  endif()
   8.358 -endif()
   8.359 -
   8.360 -if(SIZEOF_SIGNED_INT EQUAL SIZEOF_UNSIGNED_CHAR_P)
   8.361 -  set(TIFF_SSIZE_T "signed int")
   8.362 -  set(TIFF_SSIZE_FORMAT "%d")
   8.363 -elseif(SIZEOF_SIGNED_LONG EQUAL SIZEOF_UNSIGNED_CHAR_P)
   8.364 -  set(TIFF_SSIZE_T "signed long")
   8.365 -  set(TIFF_SSIZE_FORMAT "%ld")
   8.366 -elseif(SIZEOF_SIGNED_LONG_LONG EQUAL SIZEOF_UNSIGNED_CHAR_P)
   8.367 -  set(TIFF_SSIZE_T "signed long long")
   8.368 -  if (MINGW)
   8.369 -    set(TIFF_SSIZE_FORMAT "%I64d")
   8.370 -  else()
   8.371 -    set(TIFF_SSIZE_FORMAT "%lld")
   8.372 -  endif()
   8.373 -endif()
   8.374 -
   8.375 -if(NOT SIZEOF_PTRDIFF_T)
   8.376 -  set(TIFF_PTRDIFF_T "${TIFF_SSIZE_T}")
   8.377 -  set(TIFF_PTRDIFF_FORMAT "${SSIZE_FORMAT}")
   8.378 -else()
   8.379 -  set(TIFF_PTRDIFF_T "ptrdiff_t")
   8.380 -  set(TIFF_PTRDIFF_FORMAT "%ld")
   8.381 -endif()
   8.382 -
   8.383 -#report_values(TIFF_INT8_T TIFF_INT8_FORMAT
   8.384 -#              TIFF_UINT8_T TIFF_UINT8_FORMAT
   8.385 -#              TIFF_INT16_T TIFF_INT16_FORMAT
   8.386 -#              TIFF_UINT16_T TIFF_UINT16_FORMAT
   8.387 -#              TIFF_INT32_T TIFF_INT32_FORMAT
   8.388 -#              TIFF_UINT32_T TIFF_UINT32_FORMAT
   8.389 -#              TIFF_INT64_T TIFF_INT64_FORMAT
   8.390 -#              TIFF_UINT64_T TIFF_UINT64_FORMAT
   8.391 -#              TIFF_SSIZE_T TIFF_SSIZE_FORMAT
   8.392 -#              TIFF_PTRDIFF_T TIFF_PTRDIFF_FORMAT)
   8.393 -
   8.394 -# Nonstandard int types
   8.395 -check_type_size(INT8 int8)
   8.396 -set(HAVE_INT8 ${INT8})
   8.397 -check_type_size(INT16 int16)
   8.398 -set(HAVE_INT16 ${INT16})
   8.399 -check_type_size(INT32 int32)
   8.400 -set(HAVE_INT32 ${INT32})
   8.401 -
   8.402 -# Check functions
   8.403 -set(CMAKE_REQUIRED_LIBRARIES_SAVE ${CMAKE_REQUIRED_LIBRARIES})
   8.404 -set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${M_LIBRARY})
   8.405 -check_function_exists(floor HAVE_FLOOR)
   8.406 -check_function_exists(pow   HAVE_POW)
   8.407 -check_function_exists(sqrt  HAVE_SQRT)
   8.408 -set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES_SAVE})
   8.409 -
   8.410 -check_function_exists(isascii    HAVE_ISASCII)
   8.411 -check_function_exists(memmove    HAVE_MEMMOVE)
   8.412 -check_function_exists(memset     HAVE_MEMSET)
   8.413 -check_function_exists(mmap       HAVE_MMAP)
   8.414 -check_function_exists(setmode    HAVE_SETMODE)
   8.415 -check_function_exists(strcasecmp HAVE_STRCASECMP)
   8.416 -check_function_exists(strchr     HAVE_STRCHR)
   8.417 -check_function_exists(strrchr    HAVE_STRRCHR)
   8.418 -check_function_exists(strstr     HAVE_STRSTR)
   8.419 -check_function_exists(strtol     HAVE_STRTOL)
   8.420 -check_function_exists(strtol     HAVE_STRTOUL)
   8.421 -check_function_exists(strtoull   HAVE_STRTOULL)
   8.422 -check_function_exists(getopt     HAVE_GETOPT)
   8.423 -check_function_exists(lfind      HAVE_LFIND)
   8.424 -
   8.425 -# May be inlined, so check it compiles:
   8.426 -check_c_source_compiles("
   8.427 -#include <stdio.h>
   8.428 -int main(void) {
   8.429 -  char buf[10];
   8.430 -  snprintf(buf, 10, \"Test %d\", 1);
   8.431 -  return 0;
   8.432 -}"
   8.433 -  HAVE_SNPRINTF)
   8.434 -
   8.435 -if(NOT HAVE_SNPRINTF)
   8.436 -  add_definitions(-DNEED_LIBPORT)
   8.437 -endif()
   8.438 -
   8.439 -# CPU bit order
   8.440 -set(fillorder FILLORDER_MSB2LSB)
   8.441 -if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i.*86.*" OR
   8.442 -   CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "amd64.*" OR
   8.443 -   CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "x86_64.*")
   8.444 -  set(fillorder FILLORDER_LSB2MSB)
   8.445 -endif()
   8.446 -set(HOST_FILLORDER ${fillorder} CACHE STRING "Native CPU bit order")
   8.447 -mark_as_advanced(HOST_FILLORDER)
   8.448 -
   8.449 -# CPU endianness
   8.450 -include(TestBigEndian)
   8.451 -test_big_endian(bigendian)
   8.452 -if (bigendian)
   8.453 -  set(bigendian ON)
   8.454 -else()
   8.455 -  set(bigendian OFF)
   8.456 -endif()
   8.457 -set(HOST_BIG_ENDIAN ${bigendian} CACHE STRING "Native CPU bit order")
   8.458 -mark_as_advanced(HOST_BIG_ENDIAN)
   8.459 -if (HOST_BIG_ENDIAN)
   8.460 -  set(HOST_BIG_ENDIAN 1)
   8.461 -else()
   8.462 -  set(HOST_BIG_ENDIAN 0)
   8.463 -endif()
   8.464 -
   8.465 -# IEEE floating point
   8.466 -set(HAVE_IEEEFP 1 CACHE STRING "IEEE floating point is available")
   8.467 -mark_as_advanced(HAVE_IEEEFP)
   8.468 -
   8.469 -report_values(CMAKE_HOST_SYSTEM_PROCESSOR HOST_FILLORDER
   8.470 -              HOST_BIG_ENDIAN HAVE_IEEEFP)
   8.471 -
   8.472 -# Large file support
   8.473 -if (UNIX OR MINGW)
   8.474 -  # This might not catch every possibility catered for by
   8.475 -  # AC_SYS_LARGEFILE.
   8.476 -  add_definitions(-D_FILE_OFFSET_BITS=64)
   8.477 -  set(FILE_OFFSET_BITS 64)
   8.478 -endif()
   8.479 -
   8.480 -# Documentation install directory (default to cmake project docdir)
   8.481 -set(LIBTIFF_DOCDIR "${CMAKE_INSTALL_FULL_DOCDIR}")
   8.482 -
   8.483 -# Options to enable and disable internal codecs
   8.484 -
   8.485 -option(ccitt "support for CCITT Group 3 & 4 algorithms" ON)
   8.486 -set(CCITT_SUPPORT ${ccitt})
   8.487 -
   8.488 -option(packbits "support for Macintosh PackBits algorithm" ON)
   8.489 -set(PACKBITS_SUPPORT ${packbits})
   8.490 -
   8.491 -option(lzw "support for LZW algorithm" ON)
   8.492 -set(LZW_SUPPORT ${lzw})
   8.493 -
   8.494 -option(thunder "support for ThunderScan 4-bit RLE algorithm" ON)
   8.495 -set(THUNDER_SUPPORT ${thunder})
   8.496 -
   8.497 -option(next "support for NeXT 2-bit RLE algorithm" ON)
   8.498 -set(NEXT_SUPPORT ${next})
   8.499 -
   8.500 -option(logluv "support for LogLuv high dynamic range algorithm" ON)
   8.501 -set(LOGLUV_SUPPORT ${logluv})
   8.502 -
   8.503 -# Option for Microsoft Document Imaging
   8.504 -option(mdi "support for Microsoft Document Imaging" ON)
   8.505 -set(MDI_SUPPORT ${mdi})
   8.506 -
   8.507 -# ZLIB
   8.508 -option(zlib "use zlib (required for Deflate compression)" ON)
   8.509 -if (zlib)
   8.510 -  find_package(ZLIB)
   8.511 -endif()
   8.512 -set(ZLIB_SUPPORT 0)
   8.513 -if(ZLIB_FOUND)
   8.514 -  set(ZLIB_SUPPORT 1)
   8.515 -endif()
   8.516 -set(ZIP_SUPPORT ${ZLIB_SUPPORT})
   8.517 -# Option for Pixar log-format algorithm
   8.518 -
   8.519 -# Pixar log format
   8.520 -option(pixarlog "support for Pixar log-format algorithm (requires Zlib)" ON)
   8.521 -set(PIXARLOG_SUPPORT FALSE)
   8.522 -if (ZLIB_SUPPORT)
   8.523 -  if(pixarlog)
   8.524 -    set(PIXARLOG_SUPPORT TRUE)
   8.525 -  endif()
   8.526 -endif()
   8.527 -
   8.528 -# JPEG
   8.529 -option(jpeg "use libjpeg (required for JPEG compression)" ON)
   8.530 -if (jpeg)
   8.531 -  find_package(JPEG)
   8.532 -endif()
   8.533 -set(JPEG_SUPPORT FALSE)
   8.534 -if(JPEG_FOUND)
   8.535 -  set(JPEG_SUPPORT TRUE)
   8.536 -endif()
   8.537 -
   8.538 -option(old-jpeg "support for Old JPEG compression (read-only)" ON)
   8.539 -set(OJPEG_SUPPORT FALSE)
   8.540 -if (JPEG_SUPPORT)
   8.541 -  if (old-jpeg)
   8.542 -    set(OJPEG_SUPPORT TRUE)
   8.543 -  endif()
   8.544 -endif()
   8.545 -
   8.546 -# JBIG-KIT
   8.547 -option(jbig "use ISO JBIG compression (requires JBIT-KIT library)" ON)
   8.548 -if (jbig)
   8.549 -  set(JBIG_FOUND 0)
   8.550 -  find_path(JBIG_INCLUDE_DIR jbig.h)
   8.551 -  set(JBIG_NAMES ${JBIG_NAMES} jbig libjbig)
   8.552 -  find_library(JBIG_LIBRARY NAMES ${JBIG_NAMES})
   8.553 -  if (JBIG_INCLUDE_DIR AND JBIG_LIBRARY)
   8.554 -    set(JBIG_FOUND 1)
   8.555 -    set(JBIG_LIBRARIES ${JBIG_LIBRARY})
   8.556 -  endif()
   8.557 -endif()
   8.558 -set(JBIG_SUPPORT 0)
   8.559 -if(JBIG_FOUND)
   8.560 -  set(JBIG_FOUND TRUE)
   8.561 -  set(JBIG_SUPPORT 1)
   8.562 -else()
   8.563 -  set(JBIG_FOUND FALSE)
   8.564 -endif()
   8.565 -
   8.566 -set(CMAKE_REQUIRED_LIBRARIES_SAVE ${CMAKE_REQUIRED_LIBRARIES})
   8.567 -set(CMAKE_REQUIRED_INCLUDES_SAVE ${CMAKE_REQUIRED_INCLUDES})
   8.568 -set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${JBIG_INCLUDE_DIR})
   8.569 -set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${JBIG_LIBRARY})
   8.570 -check_function_exists(jbg_newlen HAVE_JBG_NEWLEN)
   8.571 -set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES_SAVE})
   8.572 -set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES_SAVE})
   8.573 -
   8.574 -# liblzma2
   8.575 -option(lzma "use liblzma (required for LZMA2 compression)" ON)
   8.576 -if (lzma)
   8.577 -  find_package(LibLZMA)
   8.578 -endif()
   8.579 -set(LZMA_SUPPORT 0)
   8.580 -if(LIBLZMA_FOUND)
   8.581 -  set(LZMA_SUPPORT 1)
   8.582 -endif()
   8.583 -
   8.584 -# 8/12-bit jpeg mode
   8.585 -option(jpeg12 "enable libjpeg 8/12-bit dual mode (requires separate
   8.586 -12-bit libjpeg build)" ON)
   8.587 -set(JPEG12_INCLUDE_DIR JPEG12_INCLUDE_DIR-NOTFOUND CACHE PATH "Include directory for 12-bit libjpeg")
   8.588 -set(JPEG12_LIBRARY JPEG12_LIBRARY-NOTFOUND CACHE FILEPATH "12-bit libjpeg library")
   8.589 -set(JPEG12_FOUND FALSE)
   8.590 -if (JPEG12_INCLUDE_DIR AND JPEG12_LIBRARY)
   8.591 -  set(JPEG12_LIBRARIES ${JPEG12_LIBRARY})
   8.592 -  set(JPEG12_FOUND TRUE)
   8.593 -endif()
   8.594 -if (JPEG12_FOUND)
   8.595 -  set(JPEG_DUAL_MODE_8_12 1)
   8.596 -  set(LIBJPEG_12_PATH "${JPEG12_INCLUDE_DIR}/jpeglib.h")
   8.597 -endif()
   8.598 -
   8.599 -# C++ support
   8.600 -option(cxx "Enable C++ stream API building (requires C++ compiler)" ON)
   8.601 -set(CXX_SUPPORT FALSE)
   8.602 -if (cxx)
   8.603 -  enable_language(CXX)
   8.604 -  set(CXX_SUPPORT TRUE)
   8.605 -endif()
   8.606 -
   8.607 -# OpenGL and GLUT
   8.608 -find_package(OpenGL)
   8.609 -find_package(GLUT)
   8.610 -set(HAVE_OPENGL FALSE)
   8.611 -if(OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND)
   8.612 -  set(HAVE_OPENGL TRUE)
   8.613 -endif()
   8.614 -# Purely to satisfy the generated headers:
   8.615 -check_include_file(GL/gl.h HAVE_GL_GL_H)
   8.616 -check_include_file(GL/glu.h HAVE_GL_GLU_H)
   8.617 -check_include_file(GL/glut.h HAVE_GL_GLUT_H)
   8.618 -check_include_file(GLUT/glut.h HAVE_GLUT_GLUT_H)
   8.619 -check_include_file(OpenGL/gl.h HAVE_OPENGL_GL_H)
   8.620 -check_include_file(OpenGL/glu.h HAVE_OPENGL_GLU_H)
   8.621 -
   8.622 -# Win32 IO
   8.623 -set(win32_io FALSE)
   8.624 -if(WIN32)
   8.625 -  set(win32_io TRUE)
   8.626 -endif()
   8.627 -set(USE_WIN32_FILEIO ${win32_io} CACHE BOOL "Use win32 IO system (Microsoft Windows only)")
   8.628 -if (USE_WIN32_FILEIO)
   8.629 -  set(USE_WIN32_FILEIO TRUE)
   8.630 -else()
   8.631 -  set(USE_WIN32_FILEIO FALSE)
   8.632 -endif()
   8.633 -
   8.634 -# Orthogonal features
   8.635 -
   8.636 -# Strip chopping
   8.637 -option(strip-chopping "strip chopping (whether or not to convert single-strip uncompressed images to mutiple strips of specified size to reduce memory usage)" ON)
   8.638 -set(TIFF_DEFAULT_STRIP_SIZE 8192 CACHE STRING "default size of the strip in bytes (when strip chopping is enabled)")
   8.639 -
   8.640 -set(STRIPCHOP_DEFAULT)
   8.641 -if(strip-chopping)
   8.642 -  set(STRIPCHOP_DEFAULT TRUE)
   8.643 -  if(TIFF_DEFAULT_STRIP_SIZE)
   8.644 -    set(STRIP_SIZE_DEFAULT "${TIFF_DEFAULT_STRIP_SIZE}")
   8.645 -  endif()
   8.646 -endif()
   8.647 -
   8.648 -# Defer loading of strip/tile offsets
   8.649 -option(defer-strile-load "enable deferred strip/tile offset/size loading (experimental)" OFF)
   8.650 -set(DEFER_STRILE_LOAD ${defer-strile-load})
   8.651 -
   8.652 -# CHUNKY_STRIP_READ_SUPPORT
   8.653 -option(chunky-strip-read "enable reading large strips in chunks for TIFFReadScanline() (experimental)" OFF)
   8.654 -set(CHUNKY_STRIP_READ_SUPPORT ${chunky-strip-read})
   8.655 -
   8.656 -# SUBIFD support
   8.657 -set(SUBIFD_SUPPORT 1)
   8.658 -
   8.659 -# Default handling of ASSOCALPHA support.
   8.660 -option(extrasample-as-alpha "the RGBA interface will treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many packages produce RGBA files but don't mark the alpha properly" ON)
   8.661 -if(extrasample-as-alpha)
   8.662 -  set(DEFAULT_EXTRASAMPLE_AS_ALPHA 1)
   8.663 -endif()
   8.664 -
   8.665 -# Default handling of YCbCr subsampling support.
   8.666 -# See Bug 168 in Bugzilla, and JPEGFixupTestSubsampling() for details.
   8.667 -option(check-ycbcr-subsampling "enable picking up YCbCr subsampling info from the JPEG data stream to support files lacking the tag" ON)
   8.668 -if (check-ycbcr-subsampling)
   8.669 -  set(CHECK_JPEG_YCBCR_SUBSAMPLING 1)
   8.670 -endif()
   8.671 -
   8.672 -# Generate pkg-config file
   8.673 -set(prefix "${CMAKE_INSTALL_PREFIX}")
   8.674 -set(exec_prefix "${CMAKE_INSTALL_PREFIX}")
   8.675 -set(libdir "${CMAKE_INSTALL_FULL_LIBDIR}")
   8.676 -set(includedir "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
   8.677 -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libtiff-4.pc.in
   8.678 -               ${CMAKE_CURRENT_BINARY_DIR}/libtiff-4.pc)
   8.679 -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libtiff-4.pc
   8.680 -        DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig")
   8.681 -
   8.682 -# Includes used by libtiff (and tests)
   8.683 -if(ZLIB_INCLUDE_DIRS)
   8.684 -  list(APPEND TIFF_INCLUDES ${ZLIB_INCLUDE_DIRS})
   8.685 -endif()
   8.686 -if(JPEG_INCLUDE_DIR)
   8.687 -  list(APPEND TIFF_INCLUDES ${JPEG_INCLUDE_DIR})
   8.688 -endif()
   8.689 -if(JPEG12_INCLUDE_DIR)
   8.690 -  list(APPEND TIFF_INCLUDES ${JPEG12_INCLUDE_DIR})
   8.691 -endif()
   8.692 -if(JBIG_INCLUDE_DIR)
   8.693 -  list(APPEND TIFF_INCLUDES ${JBIG_INCLUDE_DIR})
   8.694 -endif()
   8.695 -if(LIBLZMA_INCLUDE_DIRS)
   8.696 -  list(APPEND TIFF_INCLUDES ${LIBLZMA_INCLUDE_DIRS})
   8.697 -endif()
   8.698 -
   8.699 -# Libraries required by libtiff
   8.700 -set(TIFF_LIBRARY_DEPS)
   8.701 -if(M_LIBRARY)
   8.702 -  list(APPEND TIFF_LIBRARY_DEPS ${M_LIBRARY})
   8.703 -endif()
   8.704 -if(ZLIB_LIBRARIES)
   8.705 -  list(APPEND TIFF_LIBRARY_DEPS ${ZLIB_LIBRARIES})
   8.706 -endif()
   8.707 -if(JPEG_LIBRARIES)
   8.708 -  list(APPEND TIFF_LIBRARY_DEPS ${JPEG_LIBRARIES})
   8.709 -endif()
   8.710 -if(JPEG12_LIBRARIES)
   8.711 -  list(APPEND TIFF_LIBRARY_DEPS ${JPEG12_LIBRARIES})
   8.712 -endif()
   8.713 -if(JBIG_LIBRARIES)
   8.714 -  list(APPEND TIFF_LIBRARY_DEPS ${JBIG_LIBRARIES})
   8.715 -endif()
   8.716 -if(LIBLZMA_LIBRARIES)
   8.717 -  list(APPEND TIFF_LIBRARY_DEPS ${LIBLZMA_LIBRARIES})
   8.718 -endif()
   8.719 -
   8.720 -#report_values(TIFF_INCLUDES TIFF_LIBRARY_DEPS)
   8.721 -
   8.722 -# Process subdirectories
   8.723 -add_subdirectory(port)
   8.724 -add_subdirectory(libtiff)
   8.725 -add_subdirectory(tools)
   8.726 -add_subdirectory(test)
   8.727 -add_subdirectory(contrib)
   8.728 -add_subdirectory(build)
   8.729 -add_subdirectory(man)
   8.730 -add_subdirectory(html)
   8.731 -
   8.732 -#message(STATUS "EXTRA_DIST: ${EXTRA_DIST}")
   8.733 -
   8.734 -message(STATUS "")
   8.735 -message(STATUS "Libtiff is now configured for ${host}")
   8.736 -message(STATUS "")
   8.737 -message(STATUS "  Installation directory:             ${prefix}")
   8.738 -message(STATUS "  Documentation directory:            ${LIBTIFF_DOCDIR}")
   8.739 -message(STATUS "  C compiler:                         ${CMAKE_C_COMPILER}")
   8.740 -message(STATUS "  C++ compiler:                       ${CMAKE_CXX_COMPILER}")
   8.741 -message(STATUS "  Build shared libraries:             ${BUILD_SHARED_LIBS}")
   8.742 -message(STATUS "  Enable linker symbol versioning:    ${HAVE_LD_VERSION_SCRIPT}")
   8.743 -message(STATUS "  Support Microsoft Document Imaging: ${mdi}")
   8.744 -message(STATUS "  Use win32 IO:                       ${USE_WIN32_FILEIO}")
   8.745 -message(STATUS "")
   8.746 -message(STATUS " Support for internal codecs:")
   8.747 -message(STATUS "  CCITT Group 3 & 4 algorithms:       ${ccitt}")
   8.748 -message(STATUS "  Macintosh PackBits algorithm:       ${packbits}")
   8.749 -message(STATUS "  LZW algorithm:                      ${lzw}")
   8.750 -message(STATUS "  ThunderScan 4-bit RLE algorithm:    ${thunder}")
   8.751 -message(STATUS "  NeXT 2-bit RLE algorithm:           ${next}")
   8.752 -message(STATUS "  LogLuv high dynamic range encoding: ${logluv}")
   8.753 -message(STATUS "")
   8.754 -message(STATUS " Support for external codecs:")
   8.755 -message(STATUS "  ZLIB support:                       ${zlib} (requested) ${ZLIB_FOUND} (availability)")
   8.756 -message(STATUS "  Pixar log-format algorithm:         ${pixarlog} (requested) ${PIXARLOG_SUPPORT} (availability)")
   8.757 -message(STATUS "  JPEG support:                       ${jpeg} (requested) ${JPEG_FOUND} (availability)")
   8.758 -message(STATUS "  Old JPEG support:                   ${old-jpeg} (requested) ${JPEG_FOUND} (availability)")
   8.759 -message(STATUS "  JPEG 8/12 bit dual mode:            ${jpeg12} (requested) ${JPEG12_FOUND} (availability)")
   8.760 -message(STATUS "  ISO JBIG support:                   ${jbig} (requested) ${JBIG_FOUND} (availability)")
   8.761 -message(STATUS "  LZMA2 support:                      ${lzma} (requested) ${LIBLZMA_FOUND} (availability)")
   8.762 -message(STATUS "")
   8.763 -message(STATUS "  C++ support:                        ${cxx} (requested) ${CXX_SUPPORT} (availability)")
   8.764 -message(STATUS "")
   8.765 -# message(STATUS "  X Athena Widgets support:           ${HAVE_XAW}")
   8.766 -message(STATUS "  OpenGL support:                     ${HAVE_OPENGL}")
   8.767 -message(STATUS "")
     9.1 --- a/external/tiff-4.0.9/COPYRIGHT	Wed Nov 06 20:50:02 2019 +0300
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,21 +0,0 @@
     9.4 -Copyright (c) 1988-1997 Sam Leffler
     9.5 -Copyright (c) 1991-1997 Silicon Graphics, Inc.
     9.6 -
     9.7 -Permission to use, copy, modify, distribute, and sell this software and 
     9.8 -its documentation for any purpose is hereby granted without fee, provided
     9.9 -that (i) the above copyright notices and this permission notice appear in
    9.10 -all copies of the software and related documentation, and (ii) the names of
    9.11 -Sam Leffler and Silicon Graphics may not be used in any advertising or
    9.12 -publicity relating to the software without the specific, prior written
    9.13 -permission of Sam Leffler and Silicon Graphics.
    9.14 -
    9.15 -THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
    9.16 -EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
    9.17 -WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
    9.18 -
    9.19 -IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
    9.20 -ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
    9.21 -OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
    9.22 -WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
    9.23 -LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
    9.24 -OF THIS SOFTWARE.
    10.1 --- a/external/tiff-4.0.9/ChangeLog	Wed Nov 06 20:50:02 2019 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,8073 +0,0 @@
    10.4 -2017-11-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
    10.5 -
    10.6 -	* configure.ac: libtiff 4.0.9 released.
    10.7 -
    10.8 -	* html/v4.0.9.html: Add HTML file to document changes in libtiff
    10.9 -	v4.0.9.
   10.10 -
   10.11 -2017-11-17  Even Rouault <even.rouault at spatialys.com>
   10.12 -
   10.13 -	* libtiff/tif_aux.c, tif_getimage.c, tif_read.c: typo fixes in
   10.14 -	comments.
   10.15 -
   10.16 -2017-11-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
   10.17 -
   10.18 -	* test/Makefile.am: Add some tests for tiff2bw.
   10.19 -
   10.20 -2017-11-01  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
   10.21 -
   10.22 -	* tools/tiff2bw.c (main): Free memory allocated in the tiff2bw
   10.23 -	program.  This is in response to the report associated with
   10.24 -	CVE-2017-16232 but does not solve the extremely high memory usage
   10.25 -	with the associated POC file.
   10.26 -
   10.27 -2017-10-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
   10.28 -
   10.29 -	* tools/tiff2pdf.c (t2p_sample_realize_palette): Fix possible
   10.30 -	arithmetic overflow in bounds checking code and eliminate
   10.31 -	comparison between signed and unsigned type.
   10.32 -
   10.33 -	* tools/fax2tiff.c (_FAX_Client_Data): Pass FAX_Client_Data as the
   10.34 -	client data.  This client data is not used at all at the moment,
   10.35 -	but it makes the most sense.  Issue that the value of
   10.36 -	client_data.fd was passed where a pointer is expected was reported
   10.37 -	via email by Gerald Schade on Sun, 29 Oct 2017.
   10.38 -
   10.39 -2017-10-23  Even Rouault <even.rouault at spatialys.com>
   10.40 -
   10.41 -	* libtiff/tif_getimage.c: avoid floating point division by zero in
   10.42 -	initCIELabConversion()
   10.43 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3733
   10.44 -	Credit to OSS Fuzz
   10.45 -
   10.46 -2017-10-17  Even Rouault <even.rouault at spatialys.com>
   10.47 -
   10.48 -	* libtiff/tif_jpeg.c: add compatibility with libjpeg-turbo 1.5.2 that
   10.49 -	honours max_memory_to_use > 0.
   10.50 -	Cf https://github.com/libjpeg-turbo/libjpeg-turbo/issues/162
   10.51 -
   10.52 -2017-10-10  Even Rouault <even.rouault at spatialys.com>
   10.53 -
   10.54 -	* nmake.opt: support a DEBUG=1 option, so as to adjust OPTFLAGS and use
   10.55 -	/MDd runtime in debug mode.
   10.56 -
   10.57 -2017-10-01  Even Rouault <even.rouault at spatialys.com>
   10.58 -
   10.59 -	* tools/tiffset.c: fix setting a single value for the ExtraSamples tag
   10.60 -	(and other tags with variable number of values).
   10.61 -	So 'tiffset -s ExtraSamples 1 X'. This only worked
   10.62 -	when setting 2 or more values, but not just one.
   10.63 -
   10.64 -2017-09-29  Even Rouault <even.rouault at spatialys.com>
   10.65 -
   10.66 -	* libtiff/libtiff.def: add TIFFReadRGBAStripExt and TIFFReadRGBATileExt
   10.67 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2735
   10.68 -
   10.69 -2017-09-09  Even Rouault <even.rouault at spatialys.com>
   10.70 -
   10.71 -	* libtiff/tif_dirread.c: add NULL check to avoid likely false positive
   10.72 -	null-pointer dereference warning by CLang Static Analyzer. 
   10.73 -
   10.74 -2017-09-07  Even Rouault <even.rouault at spatialys.com>
   10.75 -
   10.76 -	* libtiff/tiffiop.h, tif_aux.c: redirect SeekOK() macro to a _TIFFSeekoK()
   10.77 -	function that checks if the offset is not bigger than INT64_MAX, so as
   10.78 -	to avoid a -1 error return code of TIFFSeekFile() to match a required
   10.79 -	seek to UINT64_MAX/-1.
   10.80 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2726
   10.81 -	Adapted from proposal by Nicolas Ruff.
   10.82 -
   10.83 -2017-08-29  Even Rouault <even.rouault at spatialys.com>
   10.84 -
   10.85 -	* libtiff/tif_jpeg.c: accept reading the last strip of a JPEG compressed
   10.86 -	file if the codestream height is larger than the truncated height of the
   10.87 -	strip. Emit a warning in this situation since this is non compliant.
   10.88 -
   10.89 -2017-08-28  Even Rouault <even.rouault at spatialys.com>
   10.90 -
   10.91 -	* test/Makefile.am: add missing reference to images/quad-lzw-compat.tiff
   10.92 -	to fix "make distcheck". Patch by Roger Leigh
   10.93 -
   10.94 -2017-08-23  Even Rouault <even.rouault at spatialys.com>
   10.95 -
   10.96 -	* libtiff/tif_dirwrite.c: replace assertion to tag value not fitting
   10.97 -	on uint32 when selecting the value of SubIFD tag by runtime check
   10.98 -	(in TIFFWriteDirectoryTagSubifd()).
   10.99 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2728
  10.100 -	Reported by team OWL337
  10.101 -
  10.102 -2017-08-23  Even Rouault <even.rouault at spatialys.com>
  10.103 -
  10.104 -	* libtiff/tif_dirwrite.c: replace assertion related to not finding the
  10.105 -	SubIFD tag by runtime check (in TIFFWriteDirectorySec())
  10.106 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2727
  10.107 -	Reported by team OWL337
  10.108 -
  10.109 -2017-07-24  Even Rouault <even.rouault at spatialys.com>
  10.110 -
  10.111 -	* libtiff/tif_luv.c: further reduce memory requirements for temporary
  10.112 -	buffer when RowsPerStrip >= image_length in LogLuvInitState() and
  10.113 -	LogL16InitState().
  10.114 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2700
  10.115 -	Credit to OSS Fuzz
  10.116 -
  10.117 -2017-07-24  Even Rouault <even.rouault at spatialys.com>
  10.118 -
  10.119 -	* libtiff/tif_getimage.c: fix fromskew computation when to-be-skipped
  10.120 -	pixel number is not a multiple of the horizontal subsampling, and
  10.121 -	also in some other cases. Impact putcontig8bitYCbCr44tile,
  10.122 -	putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile,
  10.123 -	putcontig8bitYCbCr21tile and putcontig8bitYCbCr12tile
  10.124 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2637 (discovered
  10.125 -	by Agostino Sarubbo)
  10.126 -	and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2691 (credit
  10.127 -	to OSS Fuzz)
  10.128 -
  10.129 -2017-07-24  Even Rouault <even.rouault at spatialys.com>
  10.130 -
  10.131 -	* libtiff/tif_getimage.c: gtTileContig() and gtTileSeparate():
  10.132 -	properly break from loops on error when stoponerr is set, instead
  10.133 -	of going on iterating on row based loop.
  10.134 -
  10.135 -2017-07-18  Even Rouault <even.rouault at spatialys.com>
  10.136 -
  10.137 -	* libtiff/tif_luv.c: LogLuvInitState(): avoid excessive memory
  10.138 -	allocation when RowsPerStrip tag is missing.
  10.139 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2683
  10.140 -	Credit to OSS-Fuzz
  10.141 -
  10.142 -2017-07-15  Even Rouault <even.rouault at spatialys.com>
  10.143 -
  10.144 -	* libtiff/tif_read.c: add protection against excessive memory
  10.145 -	allocation attempts in TIFFReadDirEntryArray() on short files.
  10.146 -	Effective for mmap'ed case. And non-mmap'ed case, but restricted
  10.147 -	to 64bit builds.
  10.148 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2675
  10.149 -
  10.150 -2017-07-15  Even Rouault <even.rouault at spatialys.com>
  10.151 -
  10.152 -	* libtiff/tif_read.c: in TIFFFetchStripThing(), only grow the
  10.153 -	arrays that hold StripOffsets/StripByteCounts, when they are smaller
  10.154 -	than the expected number of striles, up to 1 million striles, and
  10.155 -	error out beyond. Can be tweaked by setting the environment variable
  10.156 -	LIBTIFF_STRILE_ARRAY_MAX_RESIZE_COUNT.
  10.157 -	This partially goes against a change added on 2002-12-17 to accept
  10.158 -	those arrays of wrong sizes, but is needed to avoid denial of services.
  10.159 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2350
  10.160 -	Credit to OSS Fuzz
  10.161 -
  10.162 -2017-07-15  Even Rouault <even.rouault at spatialys.com>
  10.163 -
  10.164 -	* libtiff/tif_read.c: TIFFFillStrip() / TIFFFillTile().
  10.165 -	Complementary fix for http://bugzilla.maptools.org/show_bug.cgi?id=2708
  10.166 -	in the isMapped() case, so as to avoid excessive memory allocation
  10.167 -	when we need a temporary buffer but the file is truncated.
  10.168 -
  10.169 -2017-07-15  Even Rouault <even.rouault at spatialys.com>
  10.170 -
  10.171 -	* tools/tiff2pdf.c: prevent heap buffer overflow write in "Raw"
  10.172 -	mode on PlanarConfig=Contig input images.
  10.173 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2715
  10.174 -	Reported by team OWL337
  10.175 -
  10.176 -2017-07-11  Even Rouault <even.rouault at spatialys.com>
  10.177 -
  10.178 -	* libtiff/tif_dir.c: avoid potential null pointer dereference in
  10.179 -	_TIFFVGetField() on corrupted TIFFTAG_NUMBEROFINKS tag instance.
  10.180 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2713
  10.181 -
  10.182 -2017-07-11  Even Rouault <even.rouault at spatialys.com>
  10.183 -
  10.184 -	* libtiff/tif_lzw.c: fix potential out-of-buffer read on 1-byte LZW
  10.185 -	strips. Crashing issue only on memory mapped files, where the strip
  10.186 -	offset is the last byte of the file, and the file size is a multiple
  10.187 -	of one page size on the CPU architecture (typically 4096). Credit
  10.188 -	to myself :-)
  10.189 -
  10.190 -2017-07-11  Even Rouault <even.rouault at spatialys.com>
  10.191 -
  10.192 -	* test/tiffcp-lzw-compat.sh, test/images/quad-lzw-compat.tiff: new files
  10.193 -	to test old-style LZW decompression
  10.194 -	* test/common.sh, Makefile.am, CMakeList.txt: updated with above
  10.195 -
  10.196 -2017-07-11  Even Rouault <even.rouault at spatialys.com>
  10.197 -
  10.198 -	* refresh autoconf/make stuff with what is on Ubuntu 16.04 (minor changes)
  10.199 -
  10.200 -2017-07-11  Even Rouault <even.rouault at spatialys.com>
  10.201 -
  10.202 -	* libtiff/tif_lzw.c: fix 4.0.8 regression in the decoding of old-style LZW
  10.203 -	compressed files.
  10.204 -
  10.205 -2017-07-10  Even Rouault <even.rouault at spatialys.com>
  10.206 -
  10.207 -	* libtiff/tif_pixarlog.c: avoid excessive memory allocation on decoding
  10.208 -	when RowsPerStrip tag is not defined (and thus td_rowsperstrip == UINT_MAX)
  10.209 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2554
  10.210 -	Credit to OSS Fuzz
  10.211 -
  10.212 -2017-07-04  Even Rouault <even.rouault at spatialys.com>
  10.213 -
  10.214 -	* libtiff/tif_read.c, tiffiop.h: add a _TIFFReadEncodedTileAndAllocBuffer()
  10.215 -	and _TIFFReadTileAndAllocBuffer() variants of TIFFReadEncodedTile() and
  10.216 -	TIFFReadTile() that allocates the decoded buffer only after a first
  10.217 -	successful TIFFFillTile(). This avoids excessive memory allocation
  10.218 -	on corrupted files.
  10.219 -	* libtiff/tif_getimage.c: use _TIFFReadTileAndAllocBuffer().
  10.220 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2470
  10.221 -	Credit to OSS Fuzz.
  10.222 -
  10.223 -2017-07-04  Even Rouault <even.rouault at spatialys.com>
  10.224 -
  10.225 -	* libtiff/tif_error.c, tif_warning.c: correctly use va_list when both
  10.226 -	an old-style and new-style warning/error handlers are installed.
  10.227 -	Patch by Paavo Helde (sent on the mailing list)
  10.228 -
  10.229 -2017-07-02  Even Rouault <even.rouault at spatialys.com>
  10.230 -
  10.231 -	* libtiff/tif_read.c: TIFFStartTile(): set tif_rawcc to
  10.232 -	tif_rawdataloaded when it is set. Similarly to TIFFStartStrip().
  10.233 -	This issue was revealed by the change of 2017-06-30 in TIFFFileTile(),
  10.234 -	limiting the number of bytes read. But it could probably have been hit
  10.235 -	too in CHUNKY_STRIP_READ_SUPPORT mode previously ?
  10.236 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2454
  10.237 -	Credit to OSS Fuzz
  10.238 -
  10.239 -2017-06-30  Even Rouault <even.rouault at spatialys.com>
  10.240 -
  10.241 -	* man: update documentation regarding SubIFD tag and
  10.242 -	TIFFSetSubDirectory() data type.
  10.243 -	Patch by Eric Piel
  10.244 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2671
  10.245 -
  10.246 -2017-06-30  Even Rouault <even.rouault at spatialys.com>
  10.247 -
  10.248 -	* libtiff/tif_dirwrite.c: in TIFFWriteDirectoryTagCheckedXXXX()
  10.249 -	functions associated with LONG8/SLONG8 data type, replace assertion that
  10.250 -	the file is BigTIFF, by a non-fatal error.
  10.251 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2712
  10.252 -	Reported by team OWL337
  10.253 -
  10.254 -2017-06-30  Even Rouault <even.rouault at spatialys.com>
  10.255 -
  10.256 -	* libtiff/tif_read.c, tiffiop.h: add a _TIFFReadEncodedStripAndAllocBuffer()
  10.257 -	function, variant of TIFFReadEncodedStrip() that allocates the
  10.258 -	decoded buffer only after a first successful TIFFFillStrip(). This avoids
  10.259 -	excessive memory allocation on corrupted files.
  10.260 -	* libtiff/tif_getimage.c: use _TIFFReadEncodedStripAndAllocBuffer(). 
  10.261 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2708 and
  10.262 -	https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2433 .
  10.263 -	Credit to OSS Fuzz
  10.264 -
  10.265 -2017-06-30  Even Rouault <even.rouault at spatialys.com>
  10.266 -
  10.267 -	* libtiff/tif_read.c: TIFFFillTile(): add limitation to the number
  10.268 -	of bytes read in case td_stripbytecount[strip] is bigger than
  10.269 -	reasonable, so as to avoid excessive memory allocation (similarly to
  10.270 -	what was done for TIFFFileStrip() on 2017-05-10)
  10.271 -
  10.272 -2017-06-29  Even Rouault <even.rouault at spatialys.com>
  10.273 -
  10.274 -	* libtiff/tiffiop.h, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c,
  10.275 -	libtiff/tif_read.c: make TIFFReadScanline() works in
  10.276 -	CHUNKY_STRIP_READ_SUPPORT mode with JPEG stream with multiple scans.
  10.277 -	Also make configurable through a LIBTIFF_JPEG_MAX_ALLOWED_SCAN_NUMBER
  10.278 -	environment variable the maximum number of scans allowed. Defaults to
  10.279 -	100.
  10.280 -
  10.281 -2017-06-27  Even Rouault <even.rouault at spatialys.com>
  10.282 -
  10.283 -	* libtiff/tif_dirread.c: in TIFFReadDirEntryFloat(), check that a
  10.284 -	double value can fit in a float before casting. Patch by Nicolas RUFF
  10.285 -
  10.286 -2017-06-26  Even Rouault <even.rouault at spatialys.com>
  10.287 -
  10.288 -	* libtiff/tif_jbig.c: fix memory leak in error code path of JBIGDecode()
  10.289 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2706
  10.290 -	Reported by team OWL337
  10.291 -
  10.292 -2017-06-24  Even Rouault <even.rouault at spatialys.com>
  10.293 -
  10.294 -	* libtiff/tif_jpeg.c: error out at decoding time if anticipated libjpeg
  10.295 -	memory allocation is above 100 MB. libjpeg in case of multiple scans,
  10.296 -	which is allowed even in baseline JPEG, if components are spread over several
  10.297 -	scans and not interleavedin a single one, needs to allocate memory (or
  10.298 -	backing store) for the whole strip/tile.
  10.299 -	See http://www.libjpeg-turbo.org/pmwiki/uploads/About/TwoIssueswiththeJPEGStandard.pdf
  10.300 -	This limitation may be overriden by setting the 
  10.301 -	LIBTIFF_ALLOW_LARGE_LIBJPEG_MEM_ALLOC environment variable, or recompiling
  10.302 -	libtiff with a custom value of TIFF_LIBJPEG_LARGEST_MEM_ALLOC macro.
  10.303 -
  10.304 -2017-06-24  Even Rouault <even.rouault at spatialys.com>
  10.305 -
  10.306 -	* libtiff/tif_jpeg.c: add anti-denial of service measure to avoid excessive
  10.307 -	CPU consumption on progressive JPEGs with a huge number of scans.
  10.308 -	See http://www.libjpeg-turbo.org/pmwiki/uploads/About/TwoIssueswiththeJPEGStandard.pdf
  10.309 -	Note: only affects libtiff since 2014-12-29 where support of non-baseline JPEG
  10.310 -	was added.
  10.311 -
  10.312 -2017-06-18  Even Rouault <even.rouault at spatialys.com>
  10.313 -
  10.314 -	* libtiff/tiffiop.h: add TIFF_NOSANITIZE_UNSIGNED_INT_OVERFLOW macro to
  10.315 -	disable CLang warnings raised by -fsanitize=undefined,unsigned-integer-overflow
  10.316 -	* libtiff/tif_predict.c: decorate legitimate functions where unsigned int
  10.317 -	overflow occur with TIFF_NOSANITIZE_UNSIGNED_INT_OVERFLOW
  10.318 -	* libtiff/tif_dirread.c: avoid unsigned int overflow in EstimateStripByteCounts()
  10.319 -	and BYTECOUNTLOOKSBAD when file is too short.
  10.320 -	* libtiff/tif_jpeg.c: avoid (harmless) unsigned int overflow on tiled images.
  10.321 -	* libtiff/tif_fax3.c: avoid unsigned int overflow in Fax3Encode2DRow(). Could
  10.322 -	potentially be a bug with huge rows.
  10.323 -	* libtiff/tif_getimage.c: avoid many (harmless) unsigned int overflows.
  10.324 -
  10.325 -2017-06-12  Even Rouault <even.rouault at spatialys.com>
  10.326 -
  10.327 -	* libtiff/tif_dirread.c: TIFFFetchStripThing(): limit the number of items
  10.328 -	read in StripOffsets/StripByteCounts tags to the number of strips to avoid
  10.329 -	excessive memory allocation.
  10.330 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2215
  10.331 -	Credit to OSS Fuzz
  10.332 -
  10.333 -2017-06-12  Even Rouault <even.rouault at spatialys.com>
  10.334 -
  10.335 -	* libtiff/tif_dirread.c: fix regression of libtiff 4.0.8 in
  10.336 -	ChopUpSingleUncompressedStrip() regarding update of newly single-strip
  10.337 -	uncompressed files whose bytecount is 0. Before the change of 2016-12-03,
  10.338 -	the condition bytecount==0 used to trigger an early exit/disabling of
  10.339 -	strip chop. Re-introduce that in update mode. Otherwise this cause
  10.340 -	later incorrect setting for the value of StripByCounts/StripOffsets.
  10.341 -	( https://trac.osgeo.org/gdal/ticket/6924 )
  10.342 -
  10.343 -2017-06-10  Even Rouault <even.rouault at spatialys.com>
  10.344 -
  10.345 -	* .appveyor.yml, .travis.yml, build/travis-ci: apply patches
  10.346 -	0001-ci-Travis-script-improvements.patch and
  10.347 -	0002-ci-Invoke-helper-script-via-shell.patch by Roger Leigh
  10.348 -	(sent to mailing list)
  10.349 -
  10.350 -2017-06-08  Even Rouault <even.rouault at spatialys.com>
  10.351 -
  10.352 -	* .travis.yml, build/travis-ci: new files from
  10.353 -	0001-ci-Add-Travis-support-for-Linux-builds-with-Autoconf.patch by
  10.354 -	Roger Leigh (sent to mailing list on 2017-06-08)
  10.355 -	This patch adds support for the Travis-CI service.
  10.356 -
  10.357 -	* .appveyor.yml: new file from
  10.358 -	0002-ci-Add-AppVeyor-support.patch by Roger Leigh (sent to mailing
  10.359 -	list on 2017-06-08)
  10.360 -	This patch adds a .appveyor.yml file to the top-level.  This allows
  10.361 -	one to opt in to having a branch built on Windows with Cygwin,
  10.362 -	MinGW and MSVC automatically when a branch is pushed to GitHub,
  10.363 -	GitLab, BitBucket or any other supported git hosting service.
  10.364 -
  10.365 -	* CMakeLists.txt, test/CMakeLists.txt, test/TiffTestCommon.cmake: apply
  10.366 -	patch 0001-cmake-Improve-Cygwin-and-MingGW-test-support.patch from Roger
  10.367 -	Leigh (sent to mailing list on 2017-06-08)
  10.368 -	This patch makes the CMake build system support running the tests
  10.369 -	with MinGW or Cygwin.
  10.370 -
  10.371 -2017-06-08  Even Rouault <even.rouault at spatialys.com>
  10.372 -
  10.373 -	* libtiff/tif_swab.c: if DISABLE_CHECK_TIFFSWABMACROS is defined, do not do
  10.374 -	the #ifdef TIFFSwabXXX checks. Make it easier for GDAL to rename the symbols
  10.375 -	of its internal libtiff copy.
  10.376 -
  10.377 -2017-06-01  Even Rouault <even.rouault at spatialys.com>
  10.378 -
  10.379 -	* libtiff/tif_dirinfo.c, tif_dirread.c: add _TIFFCheckFieldIsValidForCodec(),
  10.380 -	and use it in TIFFReadDirectory() so as to ignore fields whose tag is a
  10.381 -	codec-specified tag but this codec is not enabled. This avoids TIFFGetField()
  10.382 -	to behave differently depending on whether the codec is enabled or not, and
  10.383 -	thus can avoid stack based buffer overflows in a number of TIFF utilities
  10.384 -	such as tiffsplit, tiffcmp, thumbnail, etc.
  10.385 -	Patch derived from 0063-Handle-properly-CODEC-specific-tags.patch
  10.386 -	(http://bugzilla.maptools.org/show_bug.cgi?id=2580) by Raphaël Hertzog.
  10.387 -	Fixes:
  10.388 -	http://bugzilla.maptools.org/show_bug.cgi?id=2580
  10.389 -	http://bugzilla.maptools.org/show_bug.cgi?id=2693
  10.390 -	http://bugzilla.maptools.org/show_bug.cgi?id=2625 (CVE-2016-10095)
  10.391 -	http://bugzilla.maptools.org/show_bug.cgi?id=2564 (CVE-2015-7554)
  10.392 -	http://bugzilla.maptools.org/show_bug.cgi?id=2561 (CVE-2016-5318)
  10.393 -	http://bugzilla.maptools.org/show_bug.cgi?id=2499 (CVE-2014-8128)
  10.394 -	http://bugzilla.maptools.org/show_bug.cgi?id=2441
  10.395 -	http://bugzilla.maptools.org/show_bug.cgi?id=2433
  10.396 -
  10.397 -2017-05-29  Even Rouault <even.rouault at spatialys.com>
  10.398 -
  10.399 -	* libtiff/tif_getimage.c: initYCbCrConversion(): stricter validation for
  10.400 -	refBlackWhite coefficients values. To avoid invalid float->int32 conversion
  10.401 -	(when refBlackWhite[0] == 2147483648.f)
  10.402 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1907
  10.403 -	Credit to OSS Fuzz
  10.404 -
  10.405 -2017-05-29  Even Rouault <even.rouault at spatialys.com>
  10.406 -
  10.407 -	* libtiff/tif_color.c: TIFFYCbCrToRGBInit(): stricter clamping to avoid
  10.408 -	int32 overflow in TIFFYCbCrtoRGB().
  10.409 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1844
  10.410 -	Credit to OSS Fuzz
  10.411 -
  10.412 -2017-05-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
  10.413 -
  10.414 -	* configure.ac: libtiff 4.0.8 released.
  10.415 -
  10.416 -	* html/v4.0.8.html: Add description of changes targeting the 4.0.8
  10.417 -	release.
  10.418 -
  10.419 -2017-05-20 Even Rouault <even.rouault at spatialys.com>
  10.420 -
  10.421 -	* libtiff/tif_getimage.c: initYCbCrConversion(): stricter validation for
  10.422 -	refBlackWhite coefficients values. To avoid invalid float->int32 conversion.
  10.423 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1718
  10.424 -	Credit to OSS Fuzz
  10.425 -
  10.426 -2017-05-18 Even Rouault <even.rouault at spatialys.com>
  10.427 -
  10.428 -	* libtiff/tif_getimage.c: initYCbCrConversion(): check luma[1] is not zero
  10.429 -	to avoid division by zero.
  10.430 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1665
  10.431 -	Credit to OSS Fuzz
  10.432 -
  10.433 -2017-05-17 Even Rouault <even.rouault at spatialys.com>
  10.434 -
  10.435 -	* libtiff/tif_read.c: _TIFFVSetField(): fix outside range cast of double to
  10.436 -	float.
  10.437 -	Credit to Google Autofuzz project
  10.438 -
  10.439 -2017-05-17 Even Rouault <even.rouault at spatialys.com>
  10.440 -
  10.441 -	* libtiff/tif_getimage.c: initYCbCrConversion(): add basic validation of
  10.442 -	luma and refBlackWhite coefficients (just check they are not NaN for now),
  10.443 -	to avoid potential float to int overflows.
  10.444 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1663
  10.445 -	Credit to OSS Fuzz
  10.446 -
  10.447 -2017-05-17 Even Rouault <even.rouault at spatialys.com>
  10.448 -
  10.449 -	* libtiff/tif_pixarlog.c: PixarLogDecode(): resync tif_rawcp with
  10.450 -	next_in and tif_rawcc with avail_in at beginning and end of function,
  10.451 -	similarly to what is done in LZWDecode(). Likely needed so that it
  10.452 -	works properly with latest chnges in tif_read.c in CHUNKY_STRIP_READ_SUPPORT
  10.453 -	mode. But untested...
  10.454 -
  10.455 -2017-05-17 Even Rouault <even.rouault at spatialys.com>
  10.456 -
  10.457 -	* libtiff/tif_lzw.c: update dec_bitsleft at beginning of LZWDecode(),
  10.458 -	and update tif_rawcc at end of LZWDecode(). This is needed to properly
  10.459 -	work with the latest chnges in tif_read.c in CHUNKY_STRIP_READ_SUPPORT
  10.460 -	mode.
  10.461 -
  10.462 -2017-05-14 Even Rouault <even.rouault at spatialys.com>
  10.463 -
  10.464 -	* libtiff/tif_luv.c: LogL16InitState(): avoid excessive memory
  10.465 -	allocation when RowsPerStrip tag is missing.
  10.466 -	Credit to OSS-Fuzz (locally run, on GDAL)
  10.467 -
  10.468 -2017-05-14 Even Rouault <even.rouault at spatialys.com>
  10.469 -
  10.470 -	* libtiff/tif_packbits.c: fix out-of-buffer read in PackBitsDecode()
  10.471 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1563
  10.472 -	Credit to OSS-Fuzz
  10.473 -
  10.474 -2017-05-13 Even Rouault <even.rouault at spatialys.com>
  10.475 -
  10.476 -	* libtiff/tif_pixarlog.c, tif_luv.c: avoid potential int32
  10.477 -	overflows in multiply_ms() and add_ms().
  10.478 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1558
  10.479 -	Credit to OSS-Fuzz
  10.480 -
  10.481 -2017-05-13 Even Rouault <even.rouault at spatialys.com>
  10.482 -
  10.483 -	* libtiff/tif_color.c: avoid potential int32 overflow in
  10.484 -	TIFFYCbCrToRGBInit()
  10.485 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1533
  10.486 -	Credit to OSS-Fuzz
  10.487 -
  10.488 -2017-05-13 Even Rouault <even.rouault at spatialys.com>
  10.489 -
  10.490 -	* libtiff/tif_read.c: update tif_rawcc in CHUNKY_STRIP_READ_SUPPORT
  10.491 -	mode with tif_rawdataloaded when calling TIFFStartStrip() or
  10.492 -	TIFFFillStripPartial(). This avoids reading beyond tif_rawdata
  10.493 -	when bytecount > tif_rawdatasize.
  10.494 -	Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1545.
  10.495 -	Credit to OSS-Fuzz
  10.496 -
  10.497 -2017-05-12 Even Rouault <even.rouault at spatialys.com>
  10.498 -
  10.499 -	* libtiff/tif_read.c: TIFFFillStripPartial():
  10.500 -	avoid excessive memory allocation in case of shorten files.
  10.501 -	Only effective on 64 bit builds.
  10.502 -	Credit to OSS-Fuzz (locally run, on GDAL)
  10.503 -
  10.504 -2017-05-12 Even Rouault <even.rouault at spatialys.com>
  10.505 -
  10.506 -	* libtiff/tif_read.c: TIFFFillStripPartial() / TIFFSeek(),
  10.507 -	avoid potential integer overflows with read_ahead in
  10.508 -	CHUNKY_STRIP_READ_SUPPORT mode. Should
  10.509 -	especially occur on 32 bit platforms.
  10.510 -
  10.511 -2017-05-10 Even Rouault <even.rouault at spatialys.com>
  10.512 -
  10.513 -	* libtiff/tif_read.c: TIFFFillStrip() and TIFFFillTile():
  10.514 -	avoid excessive memory allocation in case of shorten files.
  10.515 -	Only effective on 64 bit builds and non-mapped cases.
  10.516 -	Credit to OSS-Fuzz (locally run, on GDAL)
  10.517 -
  10.518 -2017-05-10 Even Rouault <even.rouault at spatialys.com>
  10.519 -
  10.520 -	* libtiff/tif_zip.c, tif_pixarlog.c, tif_predict.c: fix memory
  10.521 -	leak when the underlying codec (ZIP, PixarLog) succeeds its
  10.522 -	setupdecode() method, but PredictorSetup fails.
  10.523 -	Credit to OSS-Fuzz (locally run, on GDAL)
  10.524 -
  10.525 -2017-05-10 Even Rouault <even.rouault at spatialys.com>
  10.526 -
  10.527 -	* libtiff/tif_read.c: TIFFFillStrip(): add limitation to the number
  10.528 -	of bytes read in case td_stripbytecount[strip] is bigger than
  10.529 -	reasonable, so as to avoid excessive memory allocation.
  10.530 -
  10.531 -2017-04-28 Even Rouault <even.rouault at spatialys.com>
  10.532 -
  10.533 -	* tools/tiff2bw.c: close TIFF handle in error code path.
  10.534 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2677
  10.535 -
  10.536 -2017-04-27 Even Rouault <even.rouault at spatialys.com>
  10.537 -
  10.538 -	* litiff/tif_fax3.c: avoid crash in Fax3Close() on empty file.
  10.539 -	Patch by Alan Coopersmith  + complement by myself.
  10.540 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2673
  10.541 -	* tools/fax2tiff.c: emit appropriate message if the input file is
  10.542 -	empty. Patch by Alan Coopersmith.
  10.543 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2672
  10.544 -
  10.545 -2017-04-27 Even Rouault <even.rouault at spatialys.com>
  10.546 -
  10.547 -	* libtiff/tif_ojpeg.c: fix potential memory leak in
  10.548 -	OJPEGReadHeaderInfoSecTablesQTable, OJPEGReadHeaderInfoSecTablesDcTable
  10.549 -	and OJPEGReadHeaderInfoSecTablesAcTable
  10.550 -	Patch by Nicolás Peña.
  10.551 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2670
  10.552 -
  10.553 -2017-04-27 Even Rouault <even.rouault at spatialys.com>
  10.554 -
  10.555 -	* libtiff/tif_dirread.c: fix memory leak in non DEFER_STRILE_LOAD
  10.556 -	mode (ie default) when there is both a StripOffsets and
  10.557 -	TileOffsets tag, or a StripByteCounts and TileByteCounts
  10.558 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2689
  10.559 -	* tools/tiff2ps.c: call TIFFClose() in error code paths.
  10.560 -
  10.561 -2017-02-25 Even Rouault <even.rouault at spatialys.com>
  10.562 -
  10.563 -	* libtiff/tif_fax3.c, tif_predict.c, tif_getimage.c: fix GCC 7
  10.564 -	-Wimplicit-fallthrough warnings.
  10.565 -
  10.566 -2017-02-18 Even Rouault <even.rouault at spatialys.com>
  10.567 -
  10.568 -	* libtiff/tif_pixarlog.c: fix memory leak in error code path of
  10.569 -	PixarLogSetupDecode(). Patch by Nicolás Peña.
  10.570 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2665
  10.571 -
  10.572 -2017-02-18 Even Rouault <even.rouault at spatialys.com>
  10.573 -
  10.574 -	* libtiff/tif_lzw.c: in LZWPostEncode(), increase, if necessary, the
  10.575 -	code bit-width after flushing the remaining code and before emitting
  10.576 -	the EOI code.
  10.577 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=1982
  10.578 -
  10.579 -2017-01-31 Even Rouault <even.rouault at spatialys.com>
  10.580 -
  10.581 -	* libtiff/tif_jpeg.c: only run JPEGFixupTagsSubsampling() if the
  10.582 -	YCbCrSubsampling tag is not explicitly present. This helps a bit to reduce
  10.583 -	the I/O amount when te tag is present (especially on cloud hosted files).
  10.584 -
  10.585 -2017-01-14 Even Rouault <even.rouault at spatialys.com>
  10.586 -
  10.587 -	* tools/raw2tiff.c: avoid integer division by zero.
  10.588 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2631
  10.589 -
  10.590 -2017-01-12 Even Rouault <even.rouault at spatialys.com>
  10.591 -
  10.592 -	* libtiff/tif_ojpeg.c: fix leak in OJPEGReadHeaderInfoSecTablesQTable,
  10.593 -	OJPEGReadHeaderInfoSecTablesDcTable and OJPEGReadHeaderInfoSecTablesAcTable
  10.594 -	when read fails.
  10.595 -	Patch by Nicolás Peña.
  10.596 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2659
  10.597 -
  10.598 -2017-01-11 Even Rouault <even.rouault at spatialys.com>
  10.599 -
  10.600 -	* libtiff/tif_luv.c, tif_lzw.c, tif_packbits.c: return 0 in Encode
  10.601 -	functions instead of -1 when TIFFFlushData1() fails.
  10.602 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2130
  10.603 -
  10.604 -2017-01-11 Even Rouault <even.rouault at spatialys.com>
  10.605 -
  10.606 -	* tools/tiffcp.c: error out cleanly in cpContig2SeparateByRow and
  10.607 -	cpSeparate2ContigByRow if BitsPerSample != 8 to avoid heap based overflow.
  10.608 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2656 and
  10.609 -	http://bugzilla.maptools.org/show_bug.cgi?id=2657
  10.610 -
  10.611 -2017-01-11 Even Rouault <even.rouault at spatialys.com>
  10.612 -
  10.613 -	* libtiff/tiffio.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc()
  10.614 -
  10.615 -	* libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero
  10.616 -	initialize tif_rawdata.
  10.617 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
  10.618 -
  10.619 -2017-01-11 Even Rouault <even.rouault at spatialys.com>
  10.620 -
  10.621 -	* libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to
  10.622 -	avoid UndefinedBehaviorSanitizer warning.
  10.623 -	Patch by Nicolás Peña.
  10.624 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
  10.625 -
  10.626 -2017-01-11 Even Rouault <even.rouault at spatialys.com>
  10.627 -
  10.628 -	* libtiff/tif_read.c: avoid potential undefined behaviour on signed integer
  10.629 -	addition in TIFFReadRawStrip1() in isMapped() case.
  10.630 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2650
  10.631 -
  10.632 -2017-01-11 Even Rouault <even.rouault at spatialys.com>
  10.633 -
  10.634 -	* libtiff/tif_jpeg.c: validate BitsPerSample in JPEGSetupEncode() to avoid
  10.635 -	undefined behaviour caused by invalid shift exponent.
  10.636 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2648
  10.637 -
  10.638 -2017-01-11 Even Rouault <even.rouault at spatialys.com>
  10.639 -
  10.640 -	* libtiff/tif_dir.c, tif_dirread.c, tif_dirwrite.c: implement various clampings
  10.641 -	of double to other data types to avoid undefined behaviour if the output range
  10.642 -	isn't big enough to hold the input value.
  10.643 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2643
  10.644 -	http://bugzilla.maptools.org/show_bug.cgi?id=2642
  10.645 -	http://bugzilla.maptools.org/show_bug.cgi?id=2646
  10.646 -	http://bugzilla.maptools.org/show_bug.cgi?id=2647
  10.647 -
  10.648 -2017-01-11 Even Rouault <even.rouault at spatialys.com>
  10.649 -
  10.650 -	* libtiff/tif_dirread.c: avoid division by floating point 0 in
  10.651 -	TIFFReadDirEntryCheckedRational() and TIFFReadDirEntryCheckedSrational(),
  10.652 -	and return 0 in that case (instead of infinity as before presumably)
  10.653 -	Apparently some sanitizers do not like those divisions by zero.
  10.654 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2644
  10.655 -
  10.656 -2017-01-11 Even Rouault <even.rouault at spatialys.com>
  10.657 -
  10.658 -	* libtiff/tif_dirwrite.c: in TIFFWriteDirectoryTagCheckedRational, replace
  10.659 -	assertion by runtime check to error out if passed value is strictly
  10.660 -	negative.
  10.661 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2535
  10.662 -
  10.663 -	* tools/tiffcrop.c: remove extraneous TIFFClose() in error code path, that
  10.664 -	caused double free.
  10.665 -	Related to http://bugzilla.maptools.org/show_bug.cgi?id=2535
  10.666 -
  10.667 -2017-01-11 Even Rouault <even.rouault at spatialys.com>
  10.668 -
  10.669 -	* libtiff/tif_jpeg.c: avoid integer division by zero in
  10.670 -	JPEGSetupEncode() when horizontal or vertical sampling is set to 0.
  10.671 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
  10.672 -
  10.673 -2017-01-03 Even Rouault <even.rouault at spatialys.com>
  10.674 -
  10.675 -	* libtiff/tif_jpeg.c: increase libjpeg max memory usable to
  10.676 -	10 MB instead of libjpeg 1MB default. This helps when creating files
  10.677 -	with "big" tile, without using libjpeg temporary files.
  10.678 -	Related to https://trac.osgeo.org/gdal/ticket/6757
  10.679 -
  10.680 -2016-12-20 Even Rouault <even.rouault at spatialys.com>
  10.681 -
  10.682 -	* tools/tiff2pdf.c: avoid potential heap-based overflow in
  10.683 -	t2p_readwrite_pdf_image_tile().
  10.684 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2640
  10.685 -
  10.686 -2016-12-20 Even Rouault <even.rouault at spatialys.com>
  10.687 -
  10.688 -	* tools/tiff2pdf.c: avoid potential invalid memory read in
  10.689 -	t2p_writeproc.
  10.690 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2639
  10.691 -
  10.692 -2016-12-20 Even Rouault <even.rouault at spatialys.com>
  10.693 -
  10.694 -	* tools/tiff2pdf.c: fix wrong usage of memcpy() that can trigger
  10.695 -	unspecified behaviour.
  10.696 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2638
  10.697 -
  10.698 -2016-12-18 Even Rouault <even.rouault at spatialys.com>
  10.699 -
  10.700 -	* libtiff/tif_getimage.c: fix potential memory leaks in error code
  10.701 -	path of TIFFRGBAImageBegin().
  10.702 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2627
  10.703 -
  10.704 -2016-12-18 Even Rouault <even.rouault at spatialys.com>
  10.705 -
  10.706 -	* tools/tiff2pdf.c: prevent heap-based buffer overflow in -j mode
  10.707 -	on a paletted image. Note: this fix errors out before the overflow
  10.708 -	happens. There could probably be a better fix.
  10.709 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2635
  10.710 -
  10.711 -2016-12-17 Even Rouault <even.rouault at spatialys.com>
  10.712 -
  10.713 -	* libtiff/tiffio.h, libtiff/tif_getimage.c: add TIFFReadRGBAStripExt()
  10.714 -	and TIFFReadRGBATileExt() variants of the functions without ext, with
  10.715 -	an extra argument to control the stop_on_error behaviour.
  10.716 -
  10.717 -2016-12-17 Even Rouault <even.rouault at spatialys.com>
  10.718 -
  10.719 -	* tools/tiff2ps.c: fix 2 heap-based buffer overflows (in PSDataBW
  10.720 -	and PSDataColorContig). Reported by Agostino Sarubbo.
  10.721 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2633 and
  10.722 -	http://bugzilla.maptools.org/show_bug.cgi?id=2634.
  10.723 -
  10.724 -2016-12-13 Even Rouault <even.rouault at spatialys.com>
  10.725 -
  10.726 -	* libtiff/tif_fax3.h: revert change done on 2016-01-09 that made
  10.727 -	Param member of TIFFFaxTabEnt structure a uint16 to reduce size of
  10.728 -	the binary. It happens that the Hylafax software uses the tables that
  10.729 -	follow this typedef (TIFFFaxMainTable, TIFFFaxWhiteTable,
  10.730 -	TIFFFaxBlackTable), although they are not in a public libtiff header.
  10.731 -	Raised by Lee Howard.
  10.732 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2636
  10.733 -
  10.734 -2016-12-04 Even Rouault <even.rouault at spatialys.com>
  10.735 -
  10.736 -	* html/man/Makefile.am: remove thumbnail.1.html and rgb2ycbcr.1.html
  10.737 -	from installed pages since the corresponding utilities are no longer
  10.738 -	installed. Reported by Havard Eidnes
  10.739 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2606
  10.740 -
  10.741 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.742 -
  10.743 -	* libtiff/tif_write.c: fix misleading indentation as warned by GCC.
  10.744 -
  10.745 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.746 -
  10.747 -	* tools/tiffcp.c: replace assert( (bps % 8) == 0 ) by a non assert check.
  10.748 -	Reported by Agostino Sarubbo.
  10.749 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2605
  10.750 -
  10.751 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.752 -
  10.753 -	* tools/tiffcp.c: fix uint32 underflow/overflow that can cause heap-based
  10.754 -	buffer overflow.
  10.755 -	Reported by Agostino Sarubbo.
  10.756 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2610
  10.757 -
  10.758 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.759 -
  10.760 -	* tools/tiffcp.c: avoid potential division by zero is BitsPerSamples tag is
  10.761 -	missing.
  10.762 -	Reported by Agostino Sarubbo.
  10.763 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2607
  10.764 -
  10.765 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.766 -
  10.767 -	* man/Makefile.am: remove thumbnail.1 and rgb2ycbcr.1 from installed man
  10.768 -	pages since the corresponding utilities are no longer installed.
  10.769 -	Reported by Havard Eidnes 
  10.770 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2606
  10.771 -
  10.772 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.773 -
  10.774 -	* tools/tif_dir.c: when TIFFGetField(, TIFFTAG_NUMBEROFINKS, ) is called,
  10.775 -	limit the return number of inks to SamplesPerPixel, so that code that parses
  10.776 -	ink names doesn't go past the end of the buffer.
  10.777 -	Reported by Agostino Sarubbo.
  10.778 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2599
  10.779 -
  10.780 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.781 -
  10.782 -	* tools/tiffcp.c: avoid potential division by zero is BitsPerSamples tag is
  10.783 -	missing.
  10.784 -	Reported by Agostino Sarubbo.
  10.785 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2597
  10.786 -
  10.787 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.788 -
  10.789 -	* tools/tiffinfo.c: fix null pointer dereference in -r mode when the image has
  10.790 -	no StripByteCount tag.
  10.791 -	Reported by Agostino Sarubbo.
  10.792 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2594
  10.793 -
  10.794 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.795 -
  10.796 -	* tools/tiffcrop.c: fix integer division by zero when BitsPerSample is missing.
  10.797 -	Reported by Agostino Sarubbo.
  10.798 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2619
  10.799 -
  10.800 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.801 -
  10.802 -	* tools/tiffcrop.c: add 3 extra bytes at end of strip buffer in
  10.803 -	readSeparateStripsIntoBuffer() to avoid read outside of heap allocated buffer.
  10.804 -	Reported by Agostino Sarubbo.
  10.805 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2621
  10.806 -
  10.807 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.808 -
  10.809 -	* tools/tiffcrop.c: fix readContigStripsIntoBuffer() in -i (ignore) mode so
  10.810 -	that the output buffer is correctly incremented to avoid write outside bounds.
  10.811 -	Reported by Agostino Sarubbo.
  10.812 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2620
  10.813 -
  10.814 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.815 -
  10.816 -	* libtiff/tif_ojpeg.c: make OJPEGDecode() early exit in case of failure in
  10.817 -	OJPEGPreDecode(). This will avoid a divide by zero, and potential other issues.
  10.818 -	Reported by Agostino Sarubbo.
  10.819 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2611
  10.820 -
  10.821 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.822 -
  10.823 -	* libtiff/tif_dirread.c: modify ChopUpSingleUncompressedStrip() to
  10.824 -	instanciate compute ntrips as TIFFhowmany_32(td->td_imagelength, rowsperstrip),
  10.825 -	instead of a logic based on the total size of data. Which is faulty is
  10.826 -	the total size of data is not sufficient to fill the whole image, and thus
  10.827 -	results in reading outside of the StripByCounts/StripOffsets arrays when
  10.828 -	using TIFFReadScanline().
  10.829 -	Reported by Agostino Sarubbo.
  10.830 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2608.
  10.831 -
  10.832 -	* libtiff/tif_strip.c: revert the change in TIFFNumberOfStrips() done
  10.833 -	for http://bugzilla.maptools.org/show_bug.cgi?id=2587 / CVE-2016-9273 since
  10.834 -	the above change is a better fix that makes it unnecessary.
  10.835 -
  10.836 -2016-12-03 Even Rouault <even.rouault at spatialys.com>
  10.837 -
  10.838 -	* libtiff/tif_pixarlog.c, libtiff/tif_luv.c: fix heap-based buffer
  10.839 -	overflow on generation of PixarLog / LUV compressed files, with
  10.840 -	ColorMap, TransferFunction attached and nasty plays with bitspersample.
  10.841 -	The fix for LUV has not been tested, but suffers from the same kind
  10.842 -	of issue of PixarLog.
  10.843 -	Reported by Agostino Sarubbo.
  10.844 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2604
  10.845 -
  10.846 -2016-12-02 Even Rouault <even.rouault at spatialys.com>
  10.847 -
  10.848 -	* tools/tiffcp.c: avoid uint32 underflow in cpDecodedStrips that 
  10.849 -	can cause various issues, such as buffer overflows in the library.
  10.850 -	Reported by Agostino Sarubbo.
  10.851 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2598
  10.852 -
  10.853 -2016-12-02 Even Rouault <even.rouault at spatialys.com>
  10.854 -
  10.855 -	* libtiff/tif_read.c, libtiff/tiffiop.h: fix uint32 overflow in
  10.856 -	TIFFReadEncodedStrip() that caused an integer division by zero.
  10.857 -	Reported by Agostino Sarubbo.
  10.858 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2596
  10.859 -
  10.860 -2016-11-20 Even Rouault <even.rouault at spatialys.com>
  10.861 -
  10.862 -	* libtiff/tif_getimage.c, libtiff/tif_open.c: add parenthesis to
  10.863 -	fix cppcheck clarifyCalculation warnings
  10.864 -	* libtiff/tif_predict.c, libtiff/tif_print.c: fix printf unsigned
  10.865 -	vs signed formatting (cppcheck invalidPrintfArgType_uint warnings)
  10.866 -
  10.867 -2016-11-20  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
  10.868 -
  10.869 -	* tools/fax2tiff.c (main): Applied patch by Jörg Ahrens to fix
  10.870 -	passing client data for Win32 builds using tif_win32.c
  10.871 -	(USE_WIN32_FILEIO defined) for file I/O.  Patch was provided via
  10.872 -	email on November 20, 2016.
  10.873 -
  10.874 -2016-11-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
  10.875 -
  10.876 -	* libtiff 4.0.7 released.
  10.877 -
  10.878 -	* configure.ac: Update for 4.0.7 release.
  10.879 -
  10.880 -	* tools/tiffdump.c (ReadDirectory): Remove uint32 cast to
  10.881 -	_TIFFmalloc() argument which resulted in Coverity report.  Added
  10.882 -	more mutiplication overflow checks.
  10.883 -
  10.884 -2016-11-18 Even Rouault <even.rouault at spatialys.com>
  10.885 -
  10.886 -	* tools/tiffcrop.c: Fix memory leak in (recent) error code path.
  10.887 -	Fixes Coverity 1394415.
  10.888 -
  10.889 -2016-11-17  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
  10.890 -
  10.891 -	* libtiff/tif_getimage.c: Fix some benign warnings which appear in
  10.892 -	64-bit compilation under Microsoft Visual Studio of the form
  10.893 -	"Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit
  10.894 -	value.  Results might not be an expected value.".  Problem was
  10.895 -	reported on November 16, 2016 on the tiff mailing list.
  10.896 -
  10.897 -2016-11-16 Even Rouault <even.rouault at spatialys.com>
  10.898 -
  10.899 -	* libtiff/tif_dirread.c: in TIFFFetchNormalTag(), do not dereference
  10.900 -	NULL pointer when values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII
  10.901 -	access are 0-byte arrays.
  10.902 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2593 (regression introduced
  10.903 -	by previous fix done on 2016-11-11 for CVE-2016-9297).
  10.904 -	Reported by Henri Salo. Assigned as CVE-2016-9448
  10.905 -
  10.906 -2016-11-12  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
  10.907 -
  10.908 -	* tools/tiffinfo.c (TIFFReadContigTileData): Fix signed/unsigned
  10.909 -	comparison warning.
  10.910 -	(TIFFReadSeparateTileData): Fix signed/unsigned comparison
  10.911 -	warning.
  10.912 -
  10.913 -	* tools/tiffcrop.c (readContigTilesIntoBuffer): Fix
  10.914 -	signed/unsigned comparison warning.
  10.915 -
  10.916 -	* html/v4.0.7.html: Add a file to document the pending 4.0.7
  10.917 -	release.
  10.918 -
  10.919 -2016-11-11 Even Rouault <even.rouault at spatialys.com>
  10.920 -
  10.921 -	* tools/tiff2pdf.c: avoid undefined behaviour related to overlapping
  10.922 -	of source and destination buffer in memcpy() call in
  10.923 -	t2p_sample_rgbaa_to_rgb()
  10.924 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2577
  10.925 -
  10.926 -2016-11-11 Even Rouault <even.rouault at spatialys.com>
  10.927 -
  10.928 -	* tools/tiff2pdf.c: fix potential integer overflows on 32 bit builds
  10.929 -	in t2p_read_tiff_size()
  10.930 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2576
  10.931 -
  10.932 -2016-11-11 Even Rouault <even.rouault at spatialys.com>
  10.933 -
  10.934 -	* libtiff/tif_aux.c: fix crash in TIFFVGetFieldDefaulted()
  10.935 -	when requesting Predictor tag and that the zip/lzw codec is not
  10.936 -	configured.
  10.937 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2591
  10.938 -
  10.939 -2016-11-11 Even Rouault <even.rouault at spatialys.com>
  10.940 -
  10.941 -	* libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make sure that
  10.942 -	values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII
  10.943 -	access are null terminated, to avoid potential read outside buffer
  10.944 -	in _TIFFPrintField().
  10.945 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2590 (CVE-2016-9297)
  10.946 -
  10.947 -2016-11-11 Even Rouault <even.rouault at spatialys.com>
  10.948 -
  10.949 -	* libtiff/tif_dirread.c: reject images with OJPEG compression that
  10.950 -	have no TileOffsets/StripOffsets tag, when OJPEG compression is
  10.951 -	disabled. Prevent null pointer dereference in TIFFReadRawStrip1()
  10.952 -	and other functions that expect td_stripbytecount to be non NULL.
  10.953 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2585
  10.954 -
  10.955 -2016-11-11 Even Rouault <even.rouault at spatialys.com>
  10.956 -
  10.957 -	* tools/tiffcrop.c: fix multiple uint32 overflows in
  10.958 -	writeBufferToSeparateStrips(), writeBufferToContigTiles() and
  10.959 -	writeBufferToSeparateTiles() that could cause heap buffer overflows.
  10.960 -	Reported by Henri Salo from Nixu Corporation.
  10.961 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2592 (CVE-2016-9532)
  10.962 -
  10.963 -2016-11-10 Even Rouault <even.rouault at spatialys.com>
  10.964 -
  10.965 -	* libtiff/tif_strip.c: make TIFFNumberOfStrips() return the td->td_nstrips
  10.966 -	value when it is non-zero, instead of recomputing it. This is needed in
  10.967 -	TIFF_STRIPCHOP mode where td_nstrips is modified. Fixes a read outsize of
  10.968 -	array in tiffsplit (or other utilities using TIFFNumberOfStrips()).
  10.969 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2587 (CVE-2016-9273)
  10.970 -
  10.971 -2016-11-04 Even Rouault <even.rouault at spatialys.com>
  10.972 -
  10.973 -	* libtiff/tif_predic.c: fix memory leaks in error code paths added in
  10.974 -	previous commit (fix for MSVR 35105)
  10.975 -
  10.976 -2016-10-31 Even Rouault <even.rouault at spatialys.com>
  10.977 -
  10.978 -	* libtiff/tif_predict.h, libtiff/tif_predict.c:
  10.979 -	Replace assertions by runtime checks to avoid assertions in debug mode,
  10.980 -	or buffer overflows in release mode. Can happen when dealing with
  10.981 -	unusual tile size like YCbCr with subsampling. Reported as MSVR 35105
  10.982 -	by Axel Souchet	& Vishal Chauhan from the MSRC Vulnerabilities & Mitigations
  10.983 -	team.
  10.984 -
  10.985 -2016-10-26 Even Rouault <even.rouault at spatialys.com>
  10.986 -
  10.987 -	* tools/fax2tiff.c: fix segfault when specifying -r without
  10.988 -	argument. Patch by Yuriy M. Kaminskiy.
  10.989 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2572
  10.990 -
  10.991 -2016-10-25 Even Rouault <even.rouault at spatialys.com>
  10.992 -
  10.993 -	* libtiff/tif_dir.c: discard values of SMinSampleValue and
  10.994 -	SMaxSampleValue when they have been read and the value of
  10.995 -	SamplesPerPixel is changed afterwards (like when reading a
  10.996 -	OJPEG compressed image with a missing SamplesPerPixel tag,
  10.997 -	and whose photometric is RGB or YCbCr, forcing SamplesPerPixel
  10.998 -	being 3). Otherwise when rewriting the directory (for example
  10.999 -	with tiffset, we will expect 3 values whereas the array had been
 10.1000 -	allocated with just one), thus causing a out of bound read access.
 10.1001 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2500
 10.1002 -	(CVE-2014-8127, duplicate: CVE-2016-3658)
 10.1003 -	
 10.1004 -	* libtiff/tif_dirwrite.c: avoid null pointer dereference on td_stripoffset
 10.1005 -	when writing directory, if FIELD_STRIPOFFSETS was artificially set
 10.1006 -	for a hack case	in OJPEG case.
 10.1007 -	Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2500
 10.1008 -	(CVE-2014-8127, duplicate: CVE-2016-3658)
 10.1009 -
 10.1010 -2016-10-25 Even Rouault <even.rouault at spatialys.com>
 10.1011 -
 10.1012 -	* tools/tiffinfo.c: fix out-of-bound read on some tiled images.
 10.1013 -	(http://bugzilla.maptools.org/show_bug.cgi?id=2517)
 10.1014 -
 10.1015 -	* libtiff/tif_compress.c: make TIFFNoDecode() return 0 to indicate an
 10.1016 -	error and make upper level read routines treat it accordingly.
 10.1017 -	(linked to the test case of http://bugzilla.maptools.org/show_bug.cgi?id=2517)
 10.1018 -
 10.1019 -2016-10-14 Even Rouault <even.rouault at spatialys.com>
 10.1020 -
 10.1021 -	* tools/tiffcrop.c: fix out-of-bound read of up to 3 bytes in
 10.1022 -	readContigTilesIntoBuffer(). Reported as MSVR 35092 by Axel Souchet
 10.1023 -	& Vishal Chauhan from the MSRC Vulnerabilities & Mitigations team.
 10.1024 -
 10.1025 -2016-10-09 Even Rouault <even.rouault at spatialys.com>
 10.1026 -
 10.1027 -	* tools/tiff2pdf.c: fix write buffer overflow of 2 bytes on JPEG
 10.1028 -	compressed images. Reported by Tyler Bohan of Cisco Talos as
 10.1029 -	TALOS-CAN-0187 / CVE-2016-5652.
 10.1030 -	Also prevents writing 2 extra uninitialized bytes to the file stream.
 10.1031 -
 10.1032 -2016-10-08 Even Rouault <even.rouault at spatialys.com>
 10.1033 -
 10.1034 -	* tools/tiffcp.c: fix out-of-bounds write on tiled images with odd
 10.1035 -	tile width vs image width. Reported as MSVR 35103
 10.1036 -	by Axel Souchet and Vishal Chauhan from the MSRC Vulnerabilities &
 10.1037 -	Mitigations team.
 10.1038 -
 10.1039 -2016-10-08 Even Rouault <even.rouault at spatialys.com>
 10.1040 -
 10.1041 -	* tools/tiff2pdf.c: fix read -largely- outsize of buffer in
 10.1042 -	t2p_readwrite_pdf_image_tile(), causing crash,