1<HTML>
2<HEAD>
3<TITLE>
4	Changes in TIFF v3.7.3
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.3<BR>
19<B>Previous Version</B>: <A HREF=v3.7.2.html>v3.7.2</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</UL>
40<p>
41<P><HR WIDTH=65% ALIGN=left>
42
43<!--------------------------------------------------------------------------->
44
45<A NAME="highlights"><B><FONT SIZE=+3>M</FONT>AJOR CHANGES:</B></A>
46
47<UL>
48	<li> Replace runtime endianess check with the compile time one.
49
50	<li> Added support for the new predictor type (floating point
51	predictor), defined at the TIFF Technical Note 3.
52
53	<li> Added Support for custom tags, passed by value.
54	Added support for all DNG tags.
55</UL>
56
57
58<P><HR WIDTH=65% ALIGN=left>
59<!--------------------------------------------------------------------------->
60
61<A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A>
62
63<UL>
64	<li> Do not use empty -R option when linking with --enable-rpath.
65
66	<li> Added workaround for OpenBSD/MirOS soname problem as per bug
67	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=838">
68		http://bugzilla.remotesensing.org/show_bug.cgi?id=838</a>
69
70	<li> Fixed parallel compilation of the libtiff and
71	libtiffxx libraries as per bug
72	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=826">
73		http://bugzilla.remotesensing.org/show_bug.cgi?id=826</a>
74
75	<li> configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
76	rpath option.
77
78	<li> make.opt: Build with Win32 CRT library by default.
79</UL>
80
81<P><HR WIDTH=65% ALIGN=left>
82
83<!--------------------------------------------------------------------------->
84
85<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A>
86
87<UL>
88	<li> tiffiop.h, tif_open.c: Added open option 'h' to avoid reading
89	the first IFD when needed. As per bug
90	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=875">
91		http://bugzilla.remotesensing.org/show_bug.cgi?id=875</a>
92
93	<li> tiff.h: Use correct int size on Sparc 64bit/Sun compiler
94	platform. As per bug
95	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=855">
96		http://bugzilla.remotesensing.org/show_bug.cgi?id=855</a>
97
98	<li> tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
99	and YClipPathUnits tags.
100
101	<li> tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c: Make
102	DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
103	Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
104	TargetPrinter tags custom.
105
106	<li> tif_jpeg.c: Cleanup the codec state depending on TIFF_CODERSETUP
107	flag (to fix memory leaks).
108
109	<li> tif_dirwrite.c: Use tdir_count when calling
110	TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
111	per bug <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=845">
112	http://bugzilla.remotesensing.org/show_bug.cgi?id=845</a>
113
114	<li> tif_dirinfo.c, tif_print.c: TIFFFetchByteArray() returns
115	uint16 array when fetching the BYTE and SBYTE fields, so we should
116	consider result as pointer to uint16 array and not as array of chars.
117	As per bug
118	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=831">
119		http://bugzilla.remotesensing.org/show_bug.cgi?id=831</a>
120
121	<li> tif_dir.c: More efficient custom tags retrieval as per bug
122	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=830">
123		http://bugzilla.remotesensing.org/show_bug.cgi?id=830</a>
124
125	<li> tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
126	mode in CreateFile() call as per bug
127	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=829">
128	http://bugzilla.remotesensing.org/show_bug.cgi?id=829</a>
129
130	<li> tif_jpeg.c: Substantial fix for addtiffo problems with
131	JPEG encoded TIFF files.  Pre-allocate lots of space for jpegtables
132	in directory.
133
134	<li> tif_dirread.c: Changed the code that computes
135	stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
136	zero. This is a common case with GDAL indicating a "null" tile/strip.
137
138	<li> tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
139
140	<li> tif_dirread.c: Ensure that broken files with too many
141	values in PerSampleShorts, TIFFFetchPerSampleLongs and
142	TIFFFetchPerSampleAnys work ok instead of crashing.
143	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=843">
144	http://bugzilla.remotesensing.org/show_bug.cgi?id=843</a>
145
146	<li> tif_predict.h, tif_predict.c: Added ability to decode and encode
147	floating point predictor, as per TIFF Technical Note 3.
148	See http://chriscox.org/TIFF_TN3_Draft2.pdf for details.
149
150	<li> tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c:
151	Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
152	swap 24-bit floating point values.
153
154	<li> tiff.h: Added predictor constants.
155
156	<li> tiffiop.h, tif_dir.c: Use uint32 type for appropriate values
157	in _TIFFVSetField() function. Inspired by the bug
158	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=816">
159		http://bugzilla.remotesensing.org/show_bug.cgi?id=816</a>
160
161	<li> tif_open.c: Do not read header in case the output file should
162	be truncated (Ron).
163
164	<li> tif_dirinfo.c, tif_config.h.vc: Use lfind() instead of bsearch()
165	in _TIFFFindFieldInfoByName() function (Ron).
166
167	<li> tif_dir.c, tif_print.c: Properly handle all data types in custom
168	tags.
169
170	<li> dirinfo.c: Added DNG tags.
171
172	<li> tiff.h: Added missed DNG tag (LensInfo); added DNG 1.1.0.0 tags.
173
174	<li> tif_dir.c, tif_print.c: Added Support for custom tags, passed
175	by value.
176
177	<li> tiff.h, tif_dirinfo.c, tiffiop.h: Added EXIF related tags.
178</UL>
179
180<P><HR WIDTH=65% ALIGN=left>
181
182<!-------------------------------------------------------------------------->
183
184<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A>
185
186<UL>
187	<li> tiff2pdf.c: Print two characters per loop in the
188	t2p_write_pdf_trailer(). As per bug
189	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=594">
190		http://bugzilla.remotesensing.org/show_bug.cgi?id=594</a>
191
192	<li> tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
193	per bug <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=844">
194		http://bugzilla.remotesensing.org/show_bug.cgi?id=844</a>
195
196	<li> ppm2tiff.c: Fixed format string when read PPM file header with
197	the fscanf() function. As per bug
198	<a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=861">
199		http://bugzilla.remotesensing.org/show_bug.cgi?id=861</a>
200
201	<li> tiffsplit.c: Check for JPEGTables tag presence before copying.
202
203	<li> tiff2pdfr.c: Calculate the tile width properly; added new
204	option '-b' to use interpolation in output PDF files (Bruno Ledoux).
205
206	<li> tiffdither.c: Copy the PhotometricInterpretation tag from the
207	input file.
208
209	<li> tif2pdf.c: Fixed problem with alpha channel handling as per
210	bug <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=794">
211		http://bugzilla.remotesensing.org/show_bug.cgi?id=794</a>.
212</UL>
213
214<P><HR WIDTH=65% ALIGN=left>
215
216<!--------------------------------------------------------------------------->
217
218<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A>
219
220<UL>
221
222	<li> addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
223	Make overviews working for contiguous images.
224
225</UL>
226
227Last updated $Date: 2016-09-25 20:05:45 $.
228
229</BODY>
230</HTML>
231