libtiff/tools
Even Rouault 3a2de853a9
Add support for optional building against libdeflate for faster Zip/Deflate compression/decompression.
So we can have 2 kind of builds with the Zip/Deflate codec:
- zlib only
- zlib + libdeflate

Speed improvements in the 35%-50% range can be expected when libdeflate is used.
Compression level up to 12 is now supported (capped to 9 when zlib is used).
Still requires zlib for situations where libdeflate cannot be used (that
is for scanline access, since libdeflate has no streaming mode)

Pseudo-tag TIFFTAG_DEFLATE_SUBCODEC=DEFLATE_SUBCODEC_ZLIB/DEFLATE_SUBCODEC_LIBDEFLATE
is added to control which subcodec (zlib or libdeflate) should be used (it defaults
of course to libdeflate, when it is available).
This is mostly aimed at being used on the writing side, to be able to reproduce
output of previous libtiff versions at a binary level, in situations where this would
be really needed. Or as a safety belt in case there would be unforeseen issues
with using libdeflate.
It can be used to know when libdeflate is available at runtime (DEFLATE_SUBCODEC_LIBDEFLATE
will be the default value in that situation).

Of course, deflate codestreams produced by libdeflate can be read by zlib, and vice-versa.
2020-10-16 13:40:10 +02:00
..
CMakeLists.txt Set the --shared-memory linker flag for Emscripten builds. 2020-09-24 16:22:25 +00:00
fax2ps.c
fax2tiff.c
Makefile.am
Makefile.lcc
Makefile.vc
pal2rgb.c
ppm2tiff.c
raw2tiff.c raw2tiff: print usage to stdout when -h is used 2020-04-26 22:15:08 +02:00
rgb2ycbcr.c
thumbnail.c
tiff2bw.c
tiff2pdf.c tiff2pdf: print usage on stdout when -h is used 2020-04-26 22:15:08 +02:00
tiff2ps.c tiff2ps: sue EXIT_FAILURE / EXIT_SUCCESS 2020-04-26 22:11:36 +02:00
tiff2rgba.c tiff2rgba.c: fix -Wold-style-declaration warning 2020-10-03 18:16:27 +02:00
tiffcmp.c tiffcmp: match exit status for posix cmp and diff tools 2020-04-26 22:11:36 +02:00
tiffcp.c Add support for optional building against libdeflate for faster Zip/Deflate compression/decompression. 2020-10-16 13:40:10 +02:00
tiffcrop.c tiffcrop: -h / -v prints usage/version to stdout 2020-04-26 22:15:05 +02:00
tiffdither.c tiffdither: print usage on stdout when -h is used 2020-04-26 22:15:08 +02:00
tiffdump.c tiffdump: use EXIT_FAILURE / EXIT_SUCCESS 2020-04-26 22:15:08 +02:00
tiffgt.c tiffgt: output usage on stdout with -h 2020-04-26 22:15:08 +02:00
tiffinfo.c tiffinfo: print usage on stdout when -h is used 2020-04-26 22:15:09 +02:00
tiffinfoce.c
tiffmedian.c tiffmedian: shopw usage on stdout when -h is used 2020-04-26 22:15:09 +02:00
tiffset.c tiffset: print usage on stdout when -h is used 2020-04-26 22:15:09 +02:00
tiffsplit.c tiffsplit: use EXIT_SUCCESS / EXIT_FAILURE 2020-04-26 22:15:09 +02:00