| 1 |
Changes in TIFF v3.7.1 |
| 2 |
====================== |
| 3 |
|
| 4 |
.. table:: References |
| 5 |
:widths: auto |
| 6 |
|
| 7 |
====================== ========================================== |
| 8 |
Current Version v3.7.1 (:tag:`Release-v3-7-1`) |
| 9 |
Previous Version :doc:`v3.7.0 <v3.7.0>` |
| 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 |
|
| 21 |
Major changes |
| 22 |
------------- |
| 23 |
|
| 24 |
* This is mostly bugfix release. Most important fix is the one |
| 25 |
related to wrong custom tag read/write code. |
| 26 |
|
| 27 |
|
| 28 |
Software configuration changes |
| 29 |
------------------------------ |
| 30 |
|
| 31 |
* :file:`autogen.sh`: :program:`aclocal` and :program:`autoheader` |
| 32 |
should be executed after :program:`libtoolize`. |
| 33 |
Also add ``-I .`` to aclocal invocation to check |
| 34 |
current directory for macros. |
| 35 |
|
| 36 |
* nmake.opt: Link with the :file:`user32.lib` in windowed mode. As per bug |
| 37 |
:bugzilla-rs:`697` |
| 38 |
|
| 39 |
* :file:`nmake.opt`, :file:`makefile.vc`: make it easier to rename the libtiff DLL. |
| 40 |
|
| 41 |
* :file:`configure`, :file:`configure.ac`: Added ``--enable-rpath`` option to embed |
| 42 |
linker paths into library binary. |
| 43 |
|
| 44 |
|
| 45 |
Library changes |
| 46 |
--------------- |
| 47 |
|
| 48 |
* :file:`tiff.h`: Revert back libtiff data type definitions as per |
| 49 |
bug :bugzilla-rs:`687` |
| 50 |
|
| 51 |
* :file:`tif_dirread.c`: Do not forget about :c:macro:`TIFF_VARIABLE2` when |
| 52 |
checking for tag count in :c:func:`TIFFReadDirectory` function. As per bug |
| 53 |
:bugzilla-rs:`713` |
| 54 |
|
| 55 |
* :file:`tif_getimage.c`: Support for multiple-alpha-channelled |
| 56 |
RGB-images as per bug |
| 57 |
:bugzilla-rs:`718` |
| 58 |
|
| 59 |
* :file:`tif_getimage.c`: ``#define A1`` bracketing for clean build on |
| 60 |
SunPro compiler. |
| 61 |
|
| 62 |
* :file:`tif_dirwrite.c`: Always write :c:macro:`TIFFTAG_SUBIFD` using ``LONG`` type |
| 63 |
as per bugs |
| 64 |
:bugzilla-rs:`703` and |
| 65 |
:bugzilla-rs:`704`. |
| 66 |
|
| 67 |
* :file:`tif_win32.c`: Use :c:expr:`char*` strings instead of :c:type:`TCHAR` in windowed |
| 68 |
mode as per bug |
| 69 |
:bugzilla-rs:`697` |
| 70 |
|
| 71 |
* :file:`tif_dir.c`, :file:`tif_dirread.c`: Remove :c:func:`TIFFReassignTagToIgnore` |
| 72 |
call from the :c:func:`TIFFReadDirectory` function. :c:func:`TIFFReassignTagToIgnore` |
| 73 |
must be removed in the future, as it was never used properly. As per |
| 74 |
bug :bugzilla-rs:`692` |
| 75 |
|
| 76 |
* :file:`tif_jpeg.c`: Added a work-around in order to allow |
| 77 |
compilation with the heavily modified version of libjpeg delivered |
| 78 |
with Cygwin. |
| 79 |
|
| 80 |
* :file:`tif_dir.c`: Properly handle tags, which have the :c:type:`uint32` |
| 81 |
counts. As per bug |
| 82 |
:bugzilla-rs:`693` |
| 83 |
|
| 84 |
* :file:`tif_unix.c`: Make UNIX module compilable (and usable) |
| 85 |
on Windows. |
| 86 |
|
| 87 |
* :file:`tiff.h`: Added Adobe DNG tags. |
| 88 |
|
| 89 |
* :file:`tif_aux.c`: Set the appropriate ``ReferenceBlackWhite`` array for |
| 90 |
YCbCr image which lacks that tag (noted by Hans Petter Selasky). |
| 91 |
|
| 92 |
* :file:`tif_color.c`: Division by zero fixed (Hans Petter Selasky). |
| 93 |
|
| 94 |
* :file:`tif_stream.cxx`, :file:`tiffio.h`: Added C++ stream interface |
| 95 |
contributed by Edward Lam (see |
| 96 |
:bugzilla-rs:`654` |
| 97 |
for details). Those who want to use C++ streams should |
| 98 |
``#include <tiffio.hxx>``. |
| 99 |
|
| 100 |
* :file:`tif_open.c`: Removed :c:func:`close` in :c:func:`TIFFClientOpen` if file |
| 101 |
is bad. This is the callers responsibility. |
| 102 |
:bugzilla-rs:`651` |
| 103 |
|
| 104 |
* :file:`tiffio.h`, :file:`tif_win32.c`, :file:`libtiff.def`: Added :c:func:`TIFFOpenW` |
| 105 |
function to work with the double byte strings (used to represent |
| 106 |
filenames in some locales). As per bug |
| 107 |
:bugzilla-rs:`625` |
| 108 |
|
| 109 |
* :file:`tif_dirread.c`: Fixed problem when fetching ``BitsPerSample`` and |
| 110 |
``Compression`` tags of type ``LONG`` from broken TIFFs as per bug |
| 111 |
:bugzilla-rs:`662` |
| 112 |
|
| 113 |
* :file:`tif_dirinfo.c`: Fixed definition for ``TIFFTAG_RICHTIFFIPTC``, |
| 114 |
the writecount should have :c:type:`uint32` type. As per bug |
| 115 |
:bugzilla-rs:`662` |
| 116 |
|
| 117 |
* :file:`tif_write.c`: Fixed wrong ``if()`` statement in |
| 118 |
:c:func:`TIFFAppendToStrip` function as per bug |
| 119 |
:bugzilla-rs:`660` |
| 120 |
|
| 121 |
* :file:`tif_dirinfo.c`: Change definition for ``TIFFTAG_EXTRASAMPLES`` |
| 122 |
field. The caller should supply a count when setting this field. As |
| 123 |
per bug :bugzilla-rs:`648`. |
| 124 |
|
| 125 |
* :file:`tif_jpeg.c`, :file:`tif_ojpeg.c`: ``TIFFTAG_JPEGTABLES`` should have |
| 126 |
uint32 count. Use this type everywhere. |
| 127 |
|
| 128 |
* :file:`tif_next.c`: avoid use of :c:type:`u_long` and :c:type:`u_char` types. |
| 129 |
|
| 130 |
* :file:`tif_fax3.c`: Fixed case with the wrong decode routines |
| 131 |
choosing when the incorrect ``Group4Options`` tag set. As per bug |
| 132 |
:bugzilla-rs:`323` |
| 133 |
|
| 134 |
* :file:`tif_dirwrite.c`: Fixed problem with passing count variable of |
| 135 |
wrong type when writing the :c:macro:`TIFF_BYTE`/:c:macro:`TIFF_SBYTE` tags in |
| 136 |
:c:func:`TIFFWriteNormalTag`. |
| 137 |
|
| 138 |
* :file:`tif_compress.c`: Zero division problem fixed (Vladimir Nadvornik, |
| 139 |
Dmitry V. Levin). |
| 140 |
|
| 141 |
|
| 142 |
Tools changes |
| 143 |
------------- |
| 144 |
|
| 145 |
* :file:`fax2ps.c`: Be able to extract the first page (#0). As per bug |
| 146 |
:bugzilla-rs:`690` |
| 147 |
|
| 148 |
* :file:`tiff2ps.c`: Fixed wrong variable data type when read ``Position`` |
| 149 |
tags (Tristan Hill). |
| 150 |
|
| 151 |
* :file:`tiff2ps.c`: Fixed wrong variable data type when read ``Resolution`` |
| 152 |
tags (Peter Fales). |
| 153 |
|
| 154 |
* :file:`tiffset.c`: Check the :c:func:`malloc` return value (Dmitry V. Levin). |
| 155 |
|
| 156 |
|
| 157 |
Contributed software changes |
| 158 |
---------------------------- |
| 159 |
|
| 160 |
* None. |