summaryrefslogtreecommitdiff
path: root/doc/releases/v3.8.1.rst
blob: 3878788b79c9ca07bdcbc8f0c650aa76e9144f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
Changes in TIFF v3.8.1
======================

.. table:: References
  :widths: auto

  ======================  ==========================================
  Current Version         v3.8.1 (:tag:`Release-v3-8-1`)
  Previous Version        :doc:`v3.8.0 <v3.8.0>`
  Master Download Site    `<https://download.osgeo.org/libtiff/>`_
  Master HTTP Site        `<http://www.simplesystems.org/libtiff/>`_
  ======================  ==========================================


This document describes the changes made to the software between the
*previous* and *current* versions (see above).
If you don't find something listed here, then it was not done in this
timeframe, or it was not considered important enough to be mentioned.
The following information is located here:

Major changes
-------------

* Bug-fix release.


Software configuration changes
------------------------------

* libtool related stuff updated from the 2.1a branch.

* Fix ``with_default_strip_size`` comparison as reported by
  Norihiko Murase.


Library changes
---------------

* :file:`tif_dirread.c`: Fixed error reporting in :c:func:`TIFFFetchAnyArray`
  function as per bug
  :bugzilla-rs:`1102`

* :file:`tif_jpeg.c`, :file:`tif_pixarlog.c`, :file:`tif_fax3.c`, :file:`tif_zip.c`:
  Properly restore ``setfield``/``getfield`` methods in cleanup functions. As
  per bug
  :bugzilla-rs:`1102`

* :file:`tif_lzw.c`, :file:`tif_pixarlog.c`, :file:`tif_zip.c`: Use
  :c:func:`TIFFPredictorCleanup` in codec cleanup methods. As per bug
  :bugzilla-rs:`1102`

* :file:`tif_predict.c`, :file:`tif_predict.h`: Added new function
  :c:func:`TIFFPredictorCleanup` to restore parent decode/encode/field methods.

* :file:`tif_dirread.c`: Fixed integer overflow condition in
  :c:func:`TIFFFetchData` function. As per bug
  :bugzilla-rs:`1102`

* :file:`tif_ojpeg.c`: Set the ``ReferenceBlackWhite`` with the
  :c:func:`TIFFSetField` method, not directly. As per bug
  :bugzilla-rs:`1043`

* :file:`tif_write.c`: Small code rearrangement in :c:func:`TIFFWriteScanline`
  to avoid crash as per bug
  :bugzilla-rs:`1081`

* :file:`tif_dirwrite.c`: Properly write ``TIFFTAG_DOTRANGE`` tag as per
  bug :bugzilla-rs:`1088`

* :file:`tif_print.c`: Properly read :c:macro:`TIFFTAG_PAGENUMBER`,
  :c:macro:`TIFFTAG_HALFTONEHINTS`, :c:macro:`TIFFTAG_YCBCRSUBSAMPLING`
  and :c:macro:`TIFFTAG_DOTRANGE` tags as per bug
  :bugzilla-rs:`1088`

* :file:`tif_tile.c`: Fix error reporting in :c:func:`TIFFCheckTile` as per
  bug :bugzilla-rs:`1063`

* :file:`tif_color.c`: Avoid overflow in case of wrong input as per
  bug :bugzilla-rs:`1065`

* :file:`tif_dirinfo.c`: Use :c:enumerator:`TIFF_NOTYPE` instead of 0 when
  appropriate. As per bug
  :bugzilla-rs:`1033`

* :file:`tif_aux.c`: Fixed type of temporary variable in
  :c:func:`_TIFFCheckMalloc` as per bug
  :bugzilla-rs:`103`

* :file:`tif_aux.c`: Return static array when fetching default
  ``YCbCrCoefficients`` (another problem, reported a the
  :bugzilla-rs:`1029`
  entry).

* :file:`tif_dir.c`: Special handling for ``PageNumber``, ``HalftoneHints``,
  ``YCbCrSubsampling`` and ``DotRange`` tags as per bugs
  :bugzilla-rs:`1029`
  :bugzilla-rs:`1034`

* :file:`tif_dirread.c`: Use :c:func:`_TIFFGetExifFieldInfo` instead of
  :c:func:`_TIFFGetFieldInfo` in :c:func:`TIFFReadEXIFDirectory` call as per bug
  :bugzilla-rs:`1026`

* :file:`tif_dirinfo.c`: Change definitions for :c:macro:`TIFFTAG_ICCPROFILE`,
  :c:macro:`TIFFTAG_PHOTOSHOP`, :c:macro:`TIFFTAG_RICHTIFFIPTC`,
  :c:macro:`TIFFTAG_XMLPACKET`: readcount should be :c:type:`uint32` value.


Tools changes
-------------

* :file:`ppm2tiff.c`: Added support for PBM files as per bug
  :bugzilla-rs:`1044`

* :file:`tiff2pdf.c`: Functions ``t2p_sample_rgbaa_to_rgb()`` and
  ``t2p_sample_rgba_to_rgb()`` were used in place of each other, that was
  resulted in problems with RGBA images with associated alpha.
  As per bug
  :bugzilla-rs:`1097`

* :file:`tiff2ps.c`: Properly scale all the pages when converting
  multipage TIFF with /width/height/center options set. As per bug
  :bugzilla-rs:`1080`

* :file:`tiff2pdf.c`: Do not create output file until all option checks
  will be done. As per bug
  :bugzilla-rs:`1072`

* :file:`bmp2tiff.c`: Added ability to create multipage TIFFs from the
  list of input files as per bug
  :bugzilla-rs:`1077`

* :file:`tiffgt.c`: Avoid crashing in case of image unsupported by
  TIFFRGBAImage interface.

* :file:`tiff2pdf.c`: Fixed support for non-YCbCr encoded JPEG
  compressed TIFF files, per submission from Dan Cobra.

* :program:`bmp2tiff`, :program:`pal2rgb`, :program:`ppm2tiff`, :program:`ras2tiff`,
  :program:`raw2tiff`, :program:`sgi2tiff`, :program:`tiff2bw`, :program:`tiffcp`:
  Fixed jpeg option processing so ``-c jpeg:r:50`` works
  properly as per bug:
  :bugzilla-rs:`1025`

Contributed software changes
----------------------------

None.