| 1 |
Changes in TIFF v3.7.3 |
| 2 |
====================== |
| 3 |
|
| 4 |
.. table:: References |
| 5 |
:widths: auto |
| 6 |
|
| 7 |
====================== ========================================== |
| 8 |
Current Version v3.7.3 (:tag:`Release-v3-7-3`) |
| 9 |
Previous Version :doc:`v3.7.2 <v3.7.2>` |
| 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 |
* Replace runtime endianness check with the compile time one. |
| 24 |
|
| 25 |
* Added support for the new predictor type (floating point |
| 26 |
predictor), defined at the TIFF Technical Note 3. |
| 27 |
|
| 28 |
* Added Support for custom tags, passed by value. |
| 29 |
|
| 30 |
* Added support for all DNG tags. |
| 31 |
|
| 32 |
|
| 33 |
Software configuration changes |
| 34 |
------------------------------ |
| 35 |
|
| 36 |
* Do not use empty ``-R`` option when linking with ``--enable-rpath``. |
| 37 |
|
| 38 |
* Added workaround for OpenBSD/MirOS soname problem as per bug |
| 39 |
:bugzilla-rs:`838` |
| 40 |
|
| 41 |
* Fixed parallel compilation of the libtiff and |
| 42 |
libtiffxx libraries as per bug |
| 43 |
:bugzilla-rs:`826` |
| 44 |
|
| 45 |
* :file:`configure.ac`, :file:`libtiff/Makefile.am`: Use libtool machinery to pass |
| 46 |
``rpath`` option. |
| 47 |
|
| 48 |
* :file:`make.opt`: Build with Win32 CRT library by default. |
| 49 |
|
| 50 |
|
| 51 |
Library changes |
| 52 |
--------------- |
| 53 |
|
| 54 |
* :file:`tiffiop.h`, :file:`tif_open.c`: Added open option "``h``" to avoid reading |
| 55 |
the first IFD when needed. As per bug |
| 56 |
:bugzilla-rs:`875` |
| 57 |
|
| 58 |
* :file:`tiff.h`: Use correct :c:expr:`int` size on Sparc 64bit/Sun compiler |
| 59 |
platform. As per bug |
| 60 |
:bugzilla-rs:`855` |
| 61 |
|
| 62 |
* :file:`tif_dirinfo.c`: Added support for ``ClipPath``, ``XClipPathUnits`` |
| 63 |
and ``YClipPathUnits`` tags. |
| 64 |
|
| 65 |
* :file:`tif_dirinfo.c`, :file:`tif_dir.h`, :file:`tif_dir.c`, :file:`tif_print.c`: Make |
| 66 |
``DocumentName``, ``Artist``, ``HostComputer``, ``ImageDescription``, ``Make``, ``Model``, |
| 67 |
``Copyright``, ``DateTime``, ``PageName``, ``TextureFormat``, ``TextureWrapModes`` and |
| 68 |
``TargetPrinter`` tags custom. |
| 69 |
|
| 70 |
* :file:`tif_jpeg.c`: Cleanup the codec state depending on :c:macro:`TIFF_CODERSETUP` |
| 71 |
flag (to fix memory leaks). |
| 72 |
|
| 73 |
* :file:`tif_dirwrite.c`: Use :c:member:`tdir_count` when calling |
| 74 |
:c:func:`TIFFCvtNativeToIEEEDouble` in the :c:func:`TIFFWriteDoubleArray` function as |
| 75 |
per bug :bugzilla-rs:`845` |
| 76 |
|
| 77 |
* :file:`tif_dirinfo.c`, :file:`tif_print.c`: :c:func:`TIFFFetchByteArray` returns |
| 78 |
:c:type:`uint16` array when fetching the ``BYTE`` and ``SBYTE`` fields, so we should |
| 79 |
consider result as pointer to :c:type:`uint16` array and not as array of :c:expr:`char`. |
| 80 |
As per bug |
| 81 |
:bugzilla-rs:`831` |
| 82 |
|
| 83 |
* :file:`tif_dir.c`: More efficient custom tags retrieval as per bug |
| 84 |
:bugzilla-rs:`830` |
| 85 |
|
| 86 |
* :file:`tif_win32.c`: Use ``FILE_SHARE_READ | FILE_SHARE_WRITE`` share |
| 87 |
mode in :c:func:`CreateFile` call as per bug |
| 88 |
:bugzilla-rs:`829` |
| 89 |
|
| 90 |
* :file:`tif_jpeg.c`: Substantial fix for :program:`addtiffo` problems with |
| 91 |
JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables |
| 92 |
in directory. |
| 93 |
|
| 94 |
* :file:`tif_dirread.c`: Changed the code that computes |
| 95 |
``stripbytecount[0]`` if it appears bogus to ignore if ``stripoffset[0]`` is |
| 96 |
zero. This is a common case with GDAL indicating a "null" tile/strip. |
| 97 |
|
| 98 |
* :file:`tif_jpeg.c`: added ``LIB_JPEG_MK1`` support in :c:func:`JPEGDecodeRaw`. |
| 99 |
|
| 100 |
* :file:`tif_dirread.c`: Ensure that broken files with too many |
| 101 |
values in :c:func:`TIFFFetchPerSampleShorts`, :c:func:`TIFFFetchPerSampleLongs` and |
| 102 |
:c:func:`TIFFFetchPerSampleAnys` work ok instead of crashing. |
| 103 |
:bugzilla-rs:`843` |
| 104 |
|
| 105 |
* :file:`tif_predict.h`, :file:`tif_predict.c`: Added ability to decode and encode |
| 106 |
floating point predictor, as per TIFF Technical Note 3. |
| 107 |
See http://chriscox.org/TIFF_TN3_Draft2.pdf for details. |
| 108 |
|
| 109 |
* :file:`tiffio.h`, :file:`tiffiop.h`, :file:`tif_dir.c`, :file:`tif_read.c`, :file:`tif_swab.c`: |
| 110 |
Added :c:func:`_TIFFSwab24BitData` and :c:func:`TIFFSwabArrayOfLong` functions used to |
| 111 |
swap 24-bit floating point values. |
| 112 |
|
| 113 |
* :file:`tiff.h`: Added predictor constants. |
| 114 |
|
| 115 |
* :file:`tiffiop.h`, :file:`tif_dir.c`: Use :c:type:`uint32` type for appropriate values |
| 116 |
in :c:func:`_TIFFVSetField` function. Inspired by the bug |
| 117 |
:bugzilla-rs:`816` |
| 118 |
|
| 119 |
* :file:`tif_open.c`: Do not read header in case the output file should |
| 120 |
be truncated (Ron). |
| 121 |
|
| 122 |
* :file:`tif_dirinfo.c`, :file:`tif_config.h`.vc: Use :c:func:`lfind` instead of :c:func:`bsearch` |
| 123 |
in :c:func:`_TIFFFindFieldInfoByName` function (Ron). |
| 124 |
|
| 125 |
* :file:`tif_dir.c`, :file:`tif_print.c`: Properly handle all data types in custom |
| 126 |
tags. |
| 127 |
|
| 128 |
* :file:`dirinfo.c`: Added DNG tags. |
| 129 |
|
| 130 |
* :file:`tiff.h`: Added missed DNG tag (``LensInfo``); added DNG 1.1.0.0 tags. |
| 131 |
|
| 132 |
* :file:`tif_dir.c`, :file:`tif_print.c`: Added Support for custom tags, passed |
| 133 |
by value. |
| 134 |
|
| 135 |
* :file:`tiff.h`, :file:`tif_dirinfo.c`, :file:`tiffiop.h`: Added EXIF related tags. |
| 136 |
|
| 137 |
|
| 138 |
Tools changes |
| 139 |
------------- |
| 140 |
|
| 141 |
* :file:`tiff2pdf.c`: Print two characters per loop in the |
| 142 |
:c:func:`t2p_write_pdf_trailer`. As per bug |
| 143 |
:bugzilla-rs:`594` |
| 144 |
|
| 145 |
* :file:`tiffgt.c`: Use MacOS X OpenGL framework when appropriate. As |
| 146 |
per bug :bugzilla-rs:`844` |
| 147 |
|
| 148 |
* :file:`ppm2tiff.c`: Fixed format string when read PPM file header with |
| 149 |
the :c:func:`fscanf` function. As per bug |
| 150 |
:bugzilla-rs:`861` |
| 151 |
|
| 152 |
* :file:`tiffsplit.c`: Check for ``JPEGTables`` tag presence before copying. |
| 153 |
|
| 154 |
* :file:`tiff2pdfr.c`: Calculate the tile width properly; added new |
| 155 |
option "``-b``" to use interpolation in output PDF files (Bruno Ledoux). |
| 156 |
|
| 157 |
* :file:`tiffdither.c`: Copy the `PhotometricInterpretation` tag from the |
| 158 |
input file. |
| 159 |
|
| 160 |
* :file:`tif2pdf.c`: Fixed problem with alpha channel handling as per |
| 161 |
bug :bugzilla-rs:`794`. |
| 162 |
|
| 163 |
|
| 164 |
Contributed software changes |
| 165 |
---------------------------- |
| 166 |
|
| 167 |
* :file:`addtiffo/tif_overview.c`, :file:`addtiffo/tif_ovrcache.c`, |
| 168 |
:file:`addtiffo/tif_ovrcache.h`: |
| 169 |
Make overviews working for contiguous images. |