| 1 |
Changes in TIFF v3.8.0 |
| 2 |
====================== |
| 3 |
|
| 4 |
.. table:: References |
| 5 |
:widths: auto |
| 6 |
|
| 7 |
====================== ========================================== |
| 8 |
Current Version v3.8.0 (:tag:`Release-v3-8-0`) |
| 9 |
Previous Version :doc:`v3.7.4 <v3.7.4>` |
| 10 |
Master Download Site `<https://download.osgeo.org/libtiff/>`_ |
| 11 |
Master HTTP Site `<http://www.simplesystems.org/libtiff/>`_ |
| 12 |
====================== ========================================== |
| 13 |
|
| 14 |
This document describes the changes made to the software between the |
| 15 |
*previous* and *current* versions (see above). |
| 16 |
If you don't find something listed here, then it was not done in this |
| 17 |
timeframe, or it was not considered important enough to be mentioned. |
| 18 |
The following information is located here: |
| 19 |
|
| 20 |
Major changes |
| 21 |
------------- |
| 22 |
|
| 23 |
* Read-only support for custom directories (e.g. EXIF directory). |
| 24 |
|
| 25 |
* Preliminary support for MS MDI format. |
| 26 |
|
| 27 |
|
| 28 |
Software configuration changes |
| 29 |
------------------------------ |
| 30 |
|
| 31 |
* Make the default strip size configurable via the |
| 32 |
``--with-default-strip-size`` and :c:macro:`STRIP_SIZE_DEFAULT` options. |
| 33 |
|
| 34 |
|
| 35 |
Library changes |
| 36 |
--------------- |
| 37 |
|
| 38 |
* :file:`tiffio.h`: Added :c:macro:`VC_EXTRALEAN` definition before including |
| 39 |
:file:`windows.h`, to reduce the compile time. |
| 40 |
|
| 41 |
* :file:`tif_jpeg.c`: Improve compilation under MinGW. |
| 42 |
|
| 43 |
* :file:`tif_aux.c`, :file:`tif_dir.c`, :file:`tif_dir.h`, :file:`tif_dirwrite.c`, |
| 44 |
:file:`tif_print.c`, :file:`tif_getimage.c`: Make ``InkSet``, ``NumberOfInks``, ``DotRange`` and |
| 45 |
``StoNits`` tags custom. |
| 46 |
|
| 47 |
* :file:`tif_aux.c`, :file:`tif_dir.c`, :file:`tif_dir.h`, :file:`tif_print.c`: Make |
| 48 |
``WhitePoint`` tag custom. |
| 49 |
|
| 50 |
* :file:`tiffio.h`: fixed typo that potentially resulted in |
| 51 |
redefininition of :c:macro:`USE_WIN32_FILEIO` |
| 52 |
|
| 53 |
* :file:`tif_dir.c`, :file:`tif_dir.h`, :file:`tif_print.c`: Make ``RichTIFFIPTC``, |
| 54 |
``Photoshop`` and ``ICCProfile`` tags custom. |
| 55 |
|
| 56 |
* :file:`libtiff/*`, :file:`contrib/*`: Added 'dual-mode' error handling, enabling |
| 57 |
newer code to get context indicator in error handler and still |
| 58 |
remain compatible with older code: Done :c:func:`TIFFError` calls everywhere |
| 59 |
except in tools. |
| 60 |
|
| 61 |
* :file:`tiffinfo.c`: Print ``EXIF`` directory contents if exist. |
| 62 |
|
| 63 |
* :file:`tif_dirinfo.c`, :file:`tif_dirread.c`, :file:`tif_dir.h`, :file:`tif_dir.c`: |
| 64 |
Custom directory read-only support. |
| 65 |
|
| 66 |
* :file:`tif_aux.c`, :file:`tif_dirinfo.c`, :file:`tif_dirread.c`, :file:`tif_dir.h`, |
| 67 |
:file:`tif_dir.c`, :file:`tif_print.c`: Make ``YCbCrCoefficients`` and ``ReferenceBlackWhite`` |
| 68 |
tags custom. |
| 69 |
|
| 70 |
* :file:`tif_dirread.c`: One more workaround for broken ``StripByteCounts`` |
| 71 |
tag. Handle the case when ``StripByteCounts`` array filled with |
| 72 |
completely wrong values. |
| 73 |
|
| 74 |
* :file:`tif_dirinfo.c`: Release file descriptor in case of failure |
| 75 |
in the :c:func:`TIFFOpenW` function as per bug |
| 76 |
:bugzilla-rs:`1003` |
| 77 |
|
| 78 |
* :file:`tif_dirinfo.c`: Correctly use :c:func:`bsearch` and :c:func:`lfind` |
| 79 |
functions as per bug |
| 80 |
:bugzilla-rs:`1008` |
| 81 |
|
| 82 |
* :file:`tif_open.c`, :file:`tiff.h`, :file:`tiffdump.c`: Incorporate preliminary support |
| 83 |
for MS MDI format. |
| 84 |
:bugzilla-rs:`1002` |
| 85 |
|
| 86 |
* libtiff.def, :file:`tiffiop.h`, :file:`tiffio.h`: Made :c:func:`TIFFFreeDirectory` |
| 87 |
public. |
| 88 |
|
| 89 |
* :file:`/tif_dirinfo.c`: Make ``XResolution``, ``YResolution`` and |
| 90 |
``ResolutionUnit`` tags modifiable during write process. As per bug |
| 91 |
:bugzilla-rs:`977` |
| 92 |
|
| 93 |
* :file:`if_dirread.c`: Don't try and split single strips into "0" strips |
| 94 |
in :c:func:`ChopUpSingleUncompressedStrip`. This happens in some degenerate |
| 95 |
cases (like 1×1 files with ``stripbytecounts==0`` (:file:`gtsmall.jp2` embed tiff) |
| 96 |
|
| 97 |
* :file:`tif_fax3.c`: changed '`at scanline ...`' style warning/errors |
| 98 |
with incorrect use of tif_row, to '`at line ... of |
| 99 |
strip/tile ...`' style. |
| 100 |
|
| 101 |
|
| 102 |
Tools changes |
| 103 |
------------- |
| 104 |
|
| 105 |
* :file:`tiffcp.c`: Added many error reporting messages; fixed integer |
| 106 |
overflow as per bug |
| 107 |
:bugzilla-rs:`789` |
| 108 |
|
| 109 |
* :file:`tiffcp.c`: Return non-zero status when reading fails. |
| 110 |
|
| 111 |
* :file:`fax2tiff.c`: Properly calculate sizes of temporary arrays |
| 112 |
as per bug |
| 113 |
:bugzilla-rs:`943` |
| 114 |
|
| 115 |
* :file:`fax2tiff.c`: Added option `-r` to set RowsPerStrip parameter |
| 116 |
as per bug |
| 117 |
:bugzilla-rs:`944` |
| 118 |
|
| 119 |
* :file:`tiffdump.c`: Fixed :c:var:`typeshift` and :c:var:`typemask` arrays initialization |
| 120 |
problem as per bug |
| 121 |
:bugzilla-rs:`946` |
| 122 |
|
| 123 |
* :file:`bmp2tiff.c`: Fixed possible integer overflow error as per bug |
| 124 |
:bugzilla-rs:`965` |
| 125 |
|
| 126 |
* :file:`tiffsplit.c`: Copy fax related fields over split parts |
| 127 |
as per bug |
| 128 |
:bugzilla-rs:`983` |
| 129 |
|
| 130 |
* :file:`tiffdump.c`: Fixed crash when reading malformed tags. |
| 131 |
|
| 132 |
* :file:`tiff2pdf.c`: Added missed ``break`` statement as per bug |
| 133 |
:bugzilla-rs:`932` |
| 134 |
|
| 135 |
|
| 136 |
Contributed software changes |
| 137 |
---------------------------- |
| 138 |
|
| 139 |
* :file:`contrib/addtiffo/*`: Major upgrade by Joris to support subsampled |
| 140 |
YCbCr images in jpeg compressed TIFF files. |