| 1 |
Changes in TIFF v3.9.3 |
| 2 |
====================== |
| 3 |
|
| 4 |
.. table:: References |
| 5 |
:widths: auto |
| 6 |
|
| 7 |
====================== ========================================== |
| 8 |
Current Version v3.9.3 (:tag:`Release-v3-9-3`) |
| 9 |
Previous Version :doc:`v3.9.2 <v3.9.2>` |
| 10 |
Master Download Site `<https://download.osgeo.org/libtiff/>`_ |
| 11 |
Master HTTP Site `<http://www.simplesystems.org/libtiff/>`_ |
| 12 |
====================== ========================================== |
| 13 |
|
| 14 |
|
| 15 |
This document describes the changes made to the software between the |
| 16 |
*previous* and *current* versions (see above). If you don't |
| 17 |
find something listed here, then it was not done in this timeframe, or |
| 18 |
it was not considered important enough to be mentioned. The following |
| 19 |
information is located here: |
| 20 |
|
| 21 |
|
| 22 |
Major changes |
| 23 |
------------- |
| 24 |
|
| 25 |
* Fixes for :cve:`2010-1411`. |
| 26 |
|
| 27 |
* Various reported bug fixes. |
| 28 |
|
| 29 |
|
| 30 |
Software configuration changes |
| 31 |
------------------------------ |
| 32 |
|
| 33 |
* libtool is updated to version 2.2.10. |
| 34 |
|
| 35 |
|
| 36 |
Library changes |
| 37 |
--------------- |
| 38 |
|
| 39 |
* Fix a couple of issues that trigger failures in some |
| 40 |
cases when using :c:func:`TIFFReadScanline` with JPEG compressed |
| 41 |
subsampled ycbcr images. |
| 42 |
:bugzilla:`1936` |
| 43 |
|
| 44 |
* Ensure tile and scanline sizes are reset when moving to |
| 45 |
new directories. |
| 46 |
:bugzilla:`1936` |
| 47 |
|
| 48 |
* Do not generate a ``JPEGTables`` tag when creating the JPEG |
| 49 |
TIFF as is is not required in order to prevent it from being |
| 50 |
unused and filled with invalid data. (Leave it to be |
| 51 |
generated by later activity.) |
| 52 |
:bugzilla:`2135` |
| 53 |
|
| 54 |
* Don't return error on badly-terminated MMR strips. |
| 55 |
:bugzilla:`2029` |
| 56 |
|
| 57 |
* Have :c:macro:`TIFFTAG_REFERENCEBLACKWHITE` always print 6 floats |
| 58 |
instead of ``2*SamplesPerPixel``. |
| 59 |
:bugzilla:`2186` |
| 60 |
|
| 61 |
* Ensure that JPEG quality is always set in |
| 62 |
:c:func:`JPEGPreEncode`, not just when we want to output local tables. |
| 63 |
Otherwise the quality used during compression may not be right |
| 64 |
and might not match the tables in the tables tag. This bug |
| 65 |
only occurs when seeking between directories in the midst of |
| 66 |
writing blocks. :gdal-trac:`3539` |
| 67 |
|
| 68 |
* OJPEG: Report an error and avoid a crash if the input |
| 69 |
file is so broken that the strip offsets are not defined. |
| 70 |
|
| 71 |
* Eliminate FAX3 decoder buffer overrun possibility |
| 72 |
(:cve:`2010-1411`). |
| 73 |
|
| 74 |
* Restore ``ReferenceBlackWhite`` as a non-custom field. This |
| 75 |
avoids a multi-thread reentrancy problem as well as fixing |
| 76 |
output of wrong tag value due to redundant definitions for the |
| 77 |
same tag in the :c:expr:`tiffFieldInfo[]` array. Resolves |
| 78 |
:bugzilla:`2185` |
| 79 |
|
| 80 |
Tools changes |
| 81 |
------------- |
| 82 |
|
| 83 |
* :program:`tiff2pdf`: Write the JPEG SOI headers into the TIFF strip |
| 84 |
data rather than skipping them. This fixes the ability to view in |
| 85 |
Acrobat Reader, Evince, and Ghostscript. |
| 86 |
:bugzilla:`2135` |
| 87 |
|
| 88 |
* :program:`ppm2tiff`: While case for parsing comment line |
| 89 |
requires extra parenthesis to work as expected. Reported by |
| 90 |
Thomas Sinclair. |
| 91 |
|
| 92 |
* :program:`tiffcp`: add a new option ``-x`` to force merged tiff |
| 93 |
file ``PAGENUMBER`` value in sequence for users who care the page |
| 94 |
sequence, this will also prevent :program:`tiff2pdf` from creating pdf file from |
| 95 |
the merged tiff file with wrong page sequence. |
| 96 |
|
| 97 |
* :program:`tiffcp`: Applied Tom Lane's patch to reject YCbCr |
| 98 |
subsampled data since :program:`tiffcp` currently doesn't support it. |
| 99 |
:bugzilla:`2097` |
| 100 |
|
| 101 |
|
| 102 |
Contributed software changes |
| 103 |
---------------------------- |
| 104 |
|
| 105 |
* None |