1<HTML>
2<HEAD>
3<TITLE>
4Changes in TIFF v3.5.6
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.5.6beta<BR>
19<B>Previous Version</B>: <A HREF=v3.5.5.html>v3.5.5</a><BR>
20<B>Master FTP Site</B>: <A HREF="ftp://ftp.onshore.com/pub/libtiff">ftp.onshore.com</a>, directory pub/libtiff</A><BR>
21<B>Master HTTP Site</B>: <A HREF="http://www.simplesystems.org/libtiff//">http://www.simplesystems.org/libtiff/</a>
22<HR SIZE=4 WIDTH=65% ALIGN=left>
23</UL>
24
25<P>
26This document describes the changes made to the software between the
27<I>previous</I> and <I>current</I> versions (see above).
28If you don't find something listed here, then it was not done in this
29timeframe, or it was not considered important enough to be mentioned.
30The following information is located here:
31<UL>
32<LI><A HREF="#configure">Changes in the software configuration</A>
33<LI><A HREF="#libtiff">Changes in libtiff</A>
34<LI><A HREF="#tools">Changes in the tools</A>
35<LI><A HREF="#contrib">Changes in contrib</A>
36<LI><A HREF="#lzwkit">Changes in the LZW compression kit</A>
37</UL>
38<p>
39<P><HR WIDTH=65% ALIGN=left>
40
41<A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A>
42
43<UL>
44
45	<LI> Added GNULDdso target and switched linux and freebsd to use it.
46	<LI> tools/Makefile.in: Modified to install properly on SGI.
47	<LI> configure: Fixed DSO test for Linux as per patch from
48	  Jan Van Buggenhout <chipzz@Ace.ULYSSIS.Student.KULeuven.Ac.Be>.
49
50</UL>
51
52<P><HR WIDTH=65% ALIGN=left>
53
54<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A>
55
56
57<UL>
58
59	<LI> tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
60	as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
61	from vandrove@vc.cvut.cz.
62
63	<LI> Modified tif_packbits.c decoding to avoid overrunning the
64	output buffer, and to issue a warning if data needs to be
65	discarded.  See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
66
67	<LI> Modified TIFFClientOpen() to emit an error on an attempt to
68	open a comperessed file for update (O_RDWR/r+) access.  This is
69	because the compressor/decompressor code gets very confused when
70	the mode is O_RDWR, assuming this means writing only.  See
71	bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
72
73	<LI> Applied patch for 0x0000 sequences in tif_fax3.h's definition
74	of EXPAND1D() as per bug 11 (from Roman).
75
76	<LI> Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
77	cygwin compatibility.
78
79	<LI> Applied patch from Roman Shpount to tif_fax3.c.  This seems to
80	be a proper fix to the buffer sizing problem.  See
81	http://bugzilla.remotesensing.org/show_bug.cgi?id=11
82
83	<LI> Fixed tif_getimage.c to fix overrun bug with YCbCr images without
84	downsampling.  http://bugzilla.remotesensing.org/show_bug.cgi?id=10
85	Thanks to Nick Lamb <njl98r@ecs.soton.ac.uk> for reporting the
86	bug and proving the patch.
87
88	<LI> Fixed tif_jpeg.c so avoid destroying the decompressor before
89	we are done access data thanks to bug report from:
90	Michael Eckstein <eckstein@gepro.cz>.
91
92	<LI> tif_open.c: Don't set MMAP for O_RDWR files.
93
94	<LI> tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
95	so that files opened for update can be strip chopped too.
96
97	<LI> tif_read.c: fixed up bug with files missing rowsperstrip and
98	the strips per separation fix done a few weeks ago.
99
100	<LI> Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
101	SAMPLEFORMAT_COMPLEXINT.
102
103	<LI> index.html, bugs.html: added bugzilla info.
104
105	<LI> tif_read.c: fix subtle bug with determining the number of
106	rows for strips that are the last strip in a separation but
107	not the last strip of all in TIFFReadEncodedStrip().
108
109	<LI> Applied 16/32 bit fix to tif_fax3.c.  Fix supplied by
110	Peter Skarpetis <peters@serendipity-software.com.au>
111
112	<LI> Modified tiffio.h logic with regard to including windows.h.  It
113	won't include it when building with __CYGWIN__.
114
115	<LI> README: update to mention www.libtiff.org, don't list Sam's old
116	email address.
117
118	<LI> libtiff/tif_dirread.c: Don't use estimate strip byte count for
119	one tile/strip images with an offset, and byte count of zero. These
120	could be "unpopulated" images.
121
122	<LI> tif_win32.c:  Applied patch to fix overreads and ovverwrites
123	  caught by BoundsChecker.  From Arvan Pritchard
124	  <arvan.pritchard@infomatix.co.uk>  (untested).
125
126        <LI> tif_getimage.c:  Applied patch to silence VC6 warnings.  From
127	  Arvan Pritchard <arvan.pritchard@informatix.co.uk>
128
129	<LI> tif_lzw.c:  Applied patch to silence VC6 warnings.  From
130	  Arvan Pritchard <arvan.pritchard@informatix.co.uk>
131
132	<LI> libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
133	Leonard Rosenthol <leonardr@lazerware.com>.  May interfere
134	with correct building on older systems.  If so, please let me know.
135
136
137</UL>
138
139<P><HR WIDTH=65% ALIGN=left>
140
141<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A>
142
143<UL>
144
145	<LI> tools/rgb2ycbcr.c: fixed output strip size to account for vertical
146	roundup if rows_per_strip not a multiple of vertical sample size.
147
148	<LI> tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
149
150	<LI>  Modified tiff2bw to ensure portions add to 100%, and that
151	 white is properly recovered.  See bug
152	 http://bugzilla.remotesensing.org/show_bug.cgi?id=15 Patch
153	 c/o Stanislav Brabec <utx@penguin.cz>
154
155</UL>
156
157<P><HR WIDTH=65% ALIGN=left>
158
159<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN CONTRIB:</B></A>
160
161<UL>
162
163	<LI> contrib/addtiffo: Added "averaging" resampling option.
164
165	<LI> Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
166
167</UL>
168
169<P><HR WIDTH=65% ALIGN=left>
170
171<A NAME="lzwkit"><B><FONT SIZE=+3>C</FONT>HANGES IN THE LZW COMPRESSION KIT</B></A>
172<UL>
173
174    <LI> updated tif_dir.c to reflect changes to no-lzw tif_dir.c
175
176</UL>
177
178<A HREF="index.html"><IMG SRC="images/back.gif"></A> TIFF home page.<BR>
179
180<HR>
181
182Last updated $Date: 2016-09-25 20:05:45 $.
183
184</BODY>
185</HTML>
186