1<HTML>
2<HEAD>
3<TITLE>
4	Changes in TIFF v3.7.0alpha
5</TITLE>
6</HEAD>
7
8<BODY BGCOLOR=white>
9<FONT FACE="Helvetica, Arial, Sans">
10<FONT FACE="Helvetica, Arial, Sans">
11
12<BASEFONT SIZE=4>
13<B><FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION</B>
14<BASEFONT SIZE=3>
15
16<UL>
17<HR SIZE=4 WIDTH=65% ALIGN=left>
18<B>Current Version</B>: v3.7.0alpha<BR>
19<B>Previous Version</B>: <A HREF=v3.6.1.html>v3.6.1</a><BR>
20<B>Master FTP Site</B>: <A HREF="ftp://download.osgeo.org/libtiff">
21download.osgeo.org</a>, directory pub/libtiff</A><BR>
22<B>Master HTTP Site</B>: <A HREF="http://www.simplesystems.org/libtiff/">
23http://www.simplesystems.org/libtiff/</a>
24<HR SIZE=4 WIDTH=65% ALIGN=left>
25</UL>
26
27<P>
28This document describes the changes made to the software between the
29<I>previous</I> and <I>current</I> versions (see above).
30If you don't find something listed here, then it was not done in this
31timeframe, or it was not considered important enough to be mentioned.
32The following information is located here:
33<UL>
34<LI><A HREF="#hightlights">Major Changes</A>
35<LI><A HREF="#configure">Changes in the software configuration</A>
36<LI><A HREF="#libtiff">Changes in libtiff</A>
37<LI><A HREF="#tools">Changes in the tools</A>
38<LI><A HREF="#contrib">Changes in the contrib area</A>
39<LI><A HREF="#lzwkit">Changes in the LZW compression kit</A>
40</UL>
41<p>
42<P><HR WIDTH=65% ALIGN=left>
43
44<!--------------------------------------------------------------------------->
45
46<A NAME="highlights"><B><FONT SIZE=+3>M</FONT>AJOR CHANGES:</B></A>
47
48<ul>
49	<li> Significant changes in software configuration: we are switched
50	to GNU autotools now.
51
52	<li> tiffset: tiffset now can set any libtiff supported tags. Tags
53	can be supplied by the mnemonic name or number.
54</ul>
55
56
57<P><HR WIDTH=65% ALIGN=left>
58<!--------------------------------------------------------------------------->
59
60<A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A>
61
62<UL>
63	<li> Get rid of the old configuration system and switch to
64	GNU autotools.
65</UL>
66
67<P><HR WIDTH=65% ALIGN=left>
68
69<!--------------------------------------------------------------------------->
70
71<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A>
72
73<UL>
74	<li> libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
75	markers as per bug
76	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=581"
77		http://bugzilla.remotesensing.org/show_bug.cgi?id=581</a>.
78
79	<li> libtiff/{tif_open.c, tiffio.h}: New function added:
80	TIFFIsBigEndian(). Function returns nonzero if given was file written
81	in big-endian order.
82
83	<li> libtiff/tif_print.c: added (untested) support for printing
84	SSHORT, SLONG and SRATIONAL fields.
85
86	<li> libtiff/tif_fax3.c: Avoid reading CCITT compression options
87	if compression type mismatches. See
88	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=565">
89		http://bugzilla.remotesensing.org/show_bug.cgi?id=565</a>.
90
91	<li> libtiff/tif_strip.c: Never return 0 from the TIFFNumberOfStrips().
92
93	<li> libtiff/tif_dirread.c: Workaround for broken TIFF writers which
94	store single SampleFormat value for multisampled images. See
95	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=562">
96		http://bugzilla.remotesensing.org/show_bug.cgi?id=562</a>.
97
98	<li> libtiff/tif_write.c: Allow in-place updating of the compressed
99	images (don't work properly with all codecs). For details see GDAL bug
100	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=534">
101		http://bugzilla.remotesensing.org/show_bug.cgi?id=534</a>.
102
103	<li> libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
104	in the Intergarph JPEG compressed TIFF images as per bug:
105	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=532">
106		http://bugzilla.remotesensing.org/show_bug.cgi?id=532</a>.
107
108	<li> libtiff/tif_open.c: Use dummy mmap/munmap functions in
109	TIFFClientOpen() when the appropriate client functions was not
110	supplied by user.
111
112	<li> libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
113	tag type in TIFFFetchNormalTag() as per bug
114	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=508"
115		http://bugzilla.remotesensing.org/show_bug.cgi?id=508</a>.
116
117	<li> libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
118	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=494">
119		http://bugzilla.remotesensing.org/show_bug.cgi?id=494</a>.
120
121	<li> libtiff/tif_fax3.c: Fixed problem, introdiced in 3.6.1 release,
122	with the CCITT encoding modes as per bug
123	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=483">
124		http://bugzilla.remotesensing.org/show_bug.cgi?id=483</a>.
125        We need more work on fax codec to support update mode.
126
127	<li> libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
128	and TIFFTAG_INDEXED as per bug
129	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=475">
130		http://bugzilla.remotesensing.org/show_bug.cgi?id=475</a>.
131
132	<li> libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
133	NULL before proceeding further as per bug
134	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=474">
135		http://bugzilla.remotesensing.org/show_bug.cgi?id=474</a>.
136	Check results, returned by the TIFFFdOpen() before returning and close
137	file if TIFFFdOpen() failed as per bug
138	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=468">
139		http://bugzilla.remotesensing.org/show_bug.cgi?id=468</a>.
140
141	<li> libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}:
142	Separate TIFFCleanup() from the TIFFClose() in order to fix the bug
143	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=468">
144	http://bugzilla.remotesensing.org/show_bug.cgi?id=468</a>.
145
146	<li> libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags
147	that are field_passcount=TRUE properly.  Arguably anonymous custom
148	tags should be declared as passcount=FALSE, but I don't want to change
149	that without a careful review.
150
151	<li> libtiff/tif_write.c: Fixed reporting size of the buffer in case
152	of stripped image in TIFFWriteBufferSetup(). As per bug
153	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=460">
154	http://bugzilla.remotesensing.org/show_bug.cgi?id=460</a>.
155
156	<li> libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
157	patch from Gerben Koopmans.
158
159	<li> libtiff/tif_dirread.c: Check field_passcount value before setting
160	the value of undefined type, patch from Gerben Koopmans.
161
162	<li> libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
163	suggested by Jeremy C. Reed.
164
165	<li> libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when
166	the NULL pointer passed. Patch supplied by Larry Grill.
167
168</UL>
169
170<P><HR WIDTH=65% ALIGN=left>
171
172<!-------------------------------------------------------------------------->
173
174<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A>
175
176<UL>
177	<li> tiffset: tiffset now can set any libtiff supported tags. Tags
178	can be supplied by the mnemonic name or number.
179
180	<li> ycbcr.c: fixed main() declaration as per:
181	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=513">
182		http://bugzilla.remotesensing.org/show_bug.cgi?id=513</a>.
183
184	<li> <a href=./man/tiffsplit.1.html>tiffsplit</a>: Don't forget
185	to copy Photometric Interpretation tag.
186
187	<li> <a href=./man/tiffsplit.1.html>tiffsplit</a>: Fixed problem with
188	unproperly written multibyte files. Now output files will be written
189	using the same byte order flag as in the input image. See
190	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=574"
191		http://bugzilla.remotesensing.org/show_bug.cgi?id=574</a>.
192
193	<li> <a href=./man/tiffsplit.1.html>tiffsplit</a>: Copy JPEGTables
194	tag contents for JPEG compressed images. Reported by Artem Mirolubov.
195
196	<li> <a href=./man/tiffcp.1.html>tiffcp</a>: Close output file
197	on normal exit.
198
199	<li> <a href=./man/tiffcp.1.html>tiffcp</a>: Don't emit warnings
200	when Orientation tag does not present in the input image.
201
202	<li> <a href=./man/tiffcp.1.html>tiffcp</a>: Properly set
203	Photometric Interpretation in case of JPEG compression of grayscale
204	images.
205
206	<li> <a href=./man/tiffcp.1.html>tiffcp</a>: Fixed problem with wrong
207	interpretation of the InkNames tag as per bug
208	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=466">
209		http://bugzilla.remotesensing.org/show_bug.cgi?id=466</a>.
210	Memory leak fixed.
211
212	<li> <a href=./man/tiffcp.1.html>tiffcp</a>: Fixed problem with
213	wrong Photometric setting for non-RGB images.
214
215</UL>
216
217<P><HR WIDTH=65% ALIGN=left>
218
219<!--------------------------------------------------------------------------->
220
221<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A>
222
223<UL>
224
225	<li> Outdated stuff removed.
226
227	<li> Almost all programs are sinchronized with the current libtiff
228	and should compile without problems.
229
230</UL>
231
232<!--------------------------------------------------------------------------->
233
234<A NAME="lzwkit"><B><FONT SIZE=+3>C</FONT>HANGES IN THE LZW COMPRESSION
235KIT:</B></A>
236<UL>
237
238<li> No changes.
239
240</UL>
241
242<A HREF="index.html"><IMG SRC="images/back.gif"></A> TIFF home page.<BR>
243
244<HR>
245
246Last updated $Date: 2016-09-25 20:05:45 $.
247
248</BODY>
249</HTML>
250