Add TIFFOpenOptionsSetWarnAboutUnknownTags() for explicit control
about emitting warnings for unknown tags. No longer emit warnings
about unknown tags by default
tif_predict.c: speed-up decompression in some cases.
Bug fixes:
tif_fax3: For fax group 3 data if no EOL is detected, reading is
retried without synchronisation for EOLs. (fixes issue #54)
Updating TIFFMergeFieldInfo() with readcount=writecount=0 for
FIELDIGNORE. Updating TIFFMergeFieldInfo() with readcount=writecount=0 for
FIELDIGNORE. Improving handling when field_name = NULL. (fixes issue #532)
tiff.h: add COMPRESSIONJXLDNG17=52546 as used for JPEGXL compression in
the DNG 1.7 specification
TIFFWriteDirectorySec: Increment string length for ASCII tags for codec tags
defined with FIELDxxx bits, as it is done for FIELDCUSTOM tags. (fixes issue #648)
Do not error out on a tag whose tag count value is zero, just issue a warning.
Fix parsing a private tag 0x80a6 (fixes issue #647)
TIFFDefaultTransferFunction(): give up beyond td_bitspersample = 24
Fixes https://github.com/OSGeo/gdal/issues/10875)
tif_getimage.c: Remove unnecessary calls to TIFFRGBAImageOK() (fixes issue #175)
Fix writing a Predictor=3 file with non-native endianness
_TIFFVSetField(): fix potential use of unallocated memory (out-of-bounds
read / nullptr dereference) in case of out-of-memory situation when dealing with
custom tags (fixes issue #663)
tif_fax3.c: Error out for CCITT fax encoding if SamplesPerPixel is not equal 1 and
PlanarConfiguration = Contiguous (fixes issue #26)
tif_fax3.c: error out after a number of times end-of-line or unexpected bad code
words have been reached. (fixes issue #670)
Fix memory leak in TIFFSetupStrips() (fixes issue #665)
tifzip.c: Provide zlib allocation functions. Otherwise for zlib built with
-DZSOLO inflating will fail.
Fix memory leak in _TIFFSetDefaultCompressionState. (fixes issue #676)
tif_predict.c: Don’t overwrite input buffer of TIFFWriteScanline() if "prediction"
is enabled. Use extra working buffer in PredictorEncodeRow(). (fixes issue #5)
tif_getimage.c: update some integer overflow checks (fixes issue #79)
tif_getimage.c: Fix buffer underflow crash for less raster rows at
TIFFReadRGBAImageOriented() (fixes issue #704, bsc#1250413, CVE-2025-9900)
TIFFReadRGBAImage(): several fixes to avoid buffer overflows.
Correct passing arguments to TIFFCvtIEEEFloatToNative() and TIFFCvtIEEEDoubleToNative()
if HAVE_IEEEFP is not defined. (fixes issue #699)
LZWDecode(): avoid nullptr dereference when trying to read again after EOI marker
has been found with remaining output bytes (fixes issue #698)
TIFFUnlinkDirectory() and TIFFWriteDirectorySec(): clear tifrawcp when clearing
tifrawdata (fixes issue #711)
JPEGEncodeRaw(): error out if a previous scanline failed to be written, to avoid
out-of-bounds access (fixes issue #714)
tifjpeg: Fix bug in JPEGDecodeRaw() if JPEGLIBMK1OR_12BIT is defined for 8/12bit
dual mode, introduced in libjpeg-turbo 2.2, which was actually released as 3.0.
Fixes issue #717
add assert for TIFFReadCustomDirectory infoarray check.
ppm2tiff: Fix bug in pack_words trailing bytes, where last two bytes of each line
were written wrongly. (fixes issue #467)
fax2ps: fix regression of commit 28c38d648b64a66c3218778c4745225fe3e3a06d where
TIFFTAG_FAXFILLFUNC is being used rather than an output buffer (fixes issue #649)
tiff2pdf: Check TIFFTAG_TILELENGTH and TIFFTAGTILEWIDTH (fixes issue #650)
tiff2pdf: check hsamp and vsamp for range 1 to 4 to avoid division by zero.
Fixes issue #654
Improve non-secure integer overflow check (comparison of division result with
multiplicant) at compiler optimisation in tiffcp, rgb2ycbcr and tiff2rgba.
Fixes issue #546
tiff2rgba: fix some "a partial expression can generate an overflow before it is
assigned to a broader type" warnings. (fixes issue #682)
tiffdither/tiffmedian: Don't skip the first line of the input image. (fixes issue #703)
tiffdither: avoid out-of-bounds read identified in issue #733
tiffmedian: error out if TIFFReadScanline() fails (fixes issue #707)
tiffmedian: close input file. (fixes issue #735)
thumbail: avoid potential out of bounds access (fixes issue #715)
tiffcrop: close open TIFF files and release allocated buffers before exiting in case
of error to avoid memory leaks. (fixes issue #716)
tiffcrop: fix double-free and memory leak exposed by issue #721