Debian Codegraph @

doc/releases/v3.7.0alpha.rst

raw
1 Changes in TIFF v3.7.0alpha
2 ===========================
3
4 .. table:: References
5 :widths: auto
6
7 ====================== ==========================================
8 Current Version v3.7.0alpha (:tag:`Release-v3-7-0-alpha`)
9 Previous Version :doc:`v3.6.1 <v3.6.1>`
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 * Significant changes in software configuration: we are switched
25 to GNU autotools now.
26
27 * :program:`tiffset`: Set any libtiff supported tags. Tags
28 can be supplied by the mnemonic name or number.
29
30
31 Software configuration changes
32 ------------------------------
33
34 * Get rid of the old configuration system and switch to
35 GNU autotools.
36
37
38 Library changes
39 ---------------
40
41 * :file:`libtiff/tif_ojpeg.c`: Fixed problem with duplicated ``SOI`` and ``SOF``
42 markers as per bug
43 :bugzilla-rs:`581`.
44
45 * :file:`libtiff/tif_open.c`, :file:`libtiff/tiffio.h`: New function added:
46 :c:func:`TIFFIsBigEndian`. Function returns nonzero if given was file written
47 in big-endian order.
48
49 * :file:`libtiff/tif_print.c`: added (untested) support for printing
50 ``SSHORT``, ``SLONG`` and ``SRATIONAL`` fields.
51
52 * :file:`libtiff/tif_fax3.c`: Avoid reading CCITT compression options
53 if compression type mismatches. See
54 :bugzilla-rs:`565`.
55
56 * :file:`libtiff/tif_strip.c`: Never return 0 from the :c:func:`TIFFNumberOfStrips`.
57
58 * :file:`libtiff/tif_dirread.c`: Workaround for broken TIFF writers which
59 store single ``SampleFormat`` value for multisampled images. See
60 :bugzilla-rs:`562`.
61
62 * :file:`libtiff/tif_write.c`: Allow in-place updating of the compressed
63 images (don't work properly with all codecs). For details see GDAL bug
64 :bugzilla-rs:`534`.
65
66 * :file:`libtiff/tif_jpeg.c`: Workaround for wrong sampling factors used
67 in the Intergarph JPEG compressed TIFF images as per bug:
68 :bugzilla-rs:`532`.
69
70 * :file:`libtiff/tif_open.c`: Use dummy :c:func:`mmap`/:c:func:`munmap` functions in
71 :c:func:`TIFFClientOpen` when the appropriate client functions was not
72 supplied by user.
73
74 * :file:`libtiff/tif_dirread.c`: Fixed problem with handling :c:enumerator:`TIFF_UNDEFINED`
75 tag type in :c:func:`TIFFFetchNormalTag` as per bug
76 :bugzilla-rs:`508`.
77
78 * :file:`libtiff/tif_codec.c`: Fixed typo in ``TIFFInitPackBits`` name as per:
79 :bugzilla-rs:`494`.
80
81 * :file:`libtiff/tif_fax3.c`: Fixed problem, introdiced in 3.6.1 release,
82 with the CCITT encoding modes as per bug
83 :bugzilla-rs:`483`.
84 We need more work on fax codec to support update mode.
85
86 * :file:`libtiff/tiff.h`: Fixed tag definitions for :c:macro:`TIFFTAG_YCLIPPATHUNITS`
87 and :c:macro:`TIFFTAG_INDEXED` as per bug
88 :bugzilla-rs:`475`.
89
90 * :file:`libtiff/tif_win32.c`, :file:`libtiff/tif_unix.c`: Check whether the pointer is
91 :c:macro:`NULL` before proceeding further as per bug
92 :bugzilla-rs:`474`.
93
94 Check results, returned by the :c:func:`TIFFFdOpen` before returning and close
95 file if :c:func:`TIFFFdOpen` failed as per bug
96 :bugzilla-rs:`468`.
97
98 * :file:`libtiff/libtiff.def`, :file:`libtiff/tif_close.c`,
99 :file:`libtiff/tiffio.h`, :file:`libtiff/tif_open.c`:
100 Separate :c:func:`TIFFCleanup` from the :c:func:`TIFFClose` in order to fix the bug
101 :bugzilla-rs:`468`.
102
103 * :file:`libtiff/tif_dirwrite.c`: Fixed handling of writable ASCII tags
104 that are ``field_passcount=TRUE`` properly. Arguably anonymous custom
105 tags should be declared as ``passcount=FALSE``, but I don't want to change
106 that without a careful review.
107
108 * :file:`libtiff/tif_write.c`: Fixed reporting size of the buffer in case
109 of stripped image in :c:func:`TIFFWriteBufferSetup`. As per bug
110 :bugzilla-rs:`460`.
111
112 * :file:`libtiff/tif_dir.c`: Incomplete cleanup in :c:func:`TIFFFreeDirectory`,
113 patch from Gerben Koopmans.
114
115 * :file:`libtiff/tif_dirread.c`: Check :c:member:`field_passcount` value before setting
116 the value of undefined type, patch from Gerben Koopmans.
117
118 * :file:`libtiff/tiff.h`, :file:`libtiff/tif_fax3.c`:
119 Fixes for AMD 64 platform as suggested by Jeremy C. Reed.
120
121 * :file:`libtiff/tif_win32.c`: Fixed problem with :c:func:`_TIFFrealloc` when
122 the :c:macro:`NULL` pointer passed. Patch supplied by Larry Grill.
123
124
125 Tools changes
126 -------------
127
128 * :program:`tiffset`: Set any libtiff supported tags. Tags
129 can be supplied by the mnemonic name or number.
130
131 * :file:`ycbcr.c`: fixed :c:func:`main` declaration as per:
132 :bugzilla-rs:`513`.
133
134 * :program:`tiffsplit`: Don't forget
135 to copy ``PhotometricInterpretation`` tag.
136
137 * :program:`tiffsplit`:
138
139 * Fixed problem with
140 unproperly written multibyte files. Now output files will be written
141 using the same byte order flag as in the input image. See
142 :bugzilla-rs:`574`.
143
144 * Copy ``JPEGTables``
145 tag contents for JPEG compressed images. Reported by Artem Mirolubov.
146
147 * :program:`tiffcp`:
148
149 * Close output file on normal exit.
150
151 * Don't emit warnings
152 when ``Orientation`` tag does not present in the input image.
153
154 * Properly set
155 Photometric Interpretation in case of JPEG compression of grayscale
156 images.
157
158 * Fixed problem with wrong
159 interpretation of the ``InkNames`` tag as per bug
160 :bugzilla-rs:`466`.
161 Memory leak fixed.
162
163 * Fixed problem with
164 wrong ``PhotometricInterpretation`` setting for non-RGB images.
165
166
167 Contributed software changes
168 ----------------------------
169
170 * Outdated stuff removed.
171
172 * Almost all programs are synchronized with the current libtiff
173 and should compile without problems.
174
175
176 LZW compression kit changes
177 ---------------------------
178
179 * No changes.