1<HTML>
2<HEAD>
3<TITLE>
4	Changes in TIFF v4.0.5
5</TITLE>
6</HEAD>
7
8<BODY BGCOLOR=white>
9<FONT FACE="Helvetica, Arial, Sans">
10
11<BASEFONT SIZE=4>
12<B><FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION</B>
13<BASEFONT SIZE=3>
14
15<UL>
16<HR SIZE=4 WIDTH=65% ALIGN=left>
17<B>Current Version</B>: v4.0.5<BR>
18<B>Previous Version</B>: <A HREF=v4.0.4.html>v4.0.4</a><BR>
19<B>Master FTP Site</B>: <A HREF="ftp://download.osgeo.org/libtiff">
20download.osgeo.org</a>, directory pub/libtiff</A><BR>
21<B>Master HTTP Site</B>: <A HREF="http://www.simplesystems.org/libtiff/">
22http://www.simplesystems.org/libtiff/</a>
23<HR SIZE=4 WIDTH=65% ALIGN=left>
24</UL>
25
26<P>
27This document describes the changes made to the software between the
28<I>previous</I> and <I>current</I> versions (see above).  If you don't
29find something listed here, then it was not done in this timeframe, or
30it was not considered important enough to be mentioned.  The following
31information is located here:
32<UL>
33<LI><A HREF="#highlights">Major Changes</A>
34<LI><A HREF="#configure">Changes in the software configuration</A>
35<LI><A HREF="#libtiff">Changes in libtiff</A>
36<LI><A HREF="#tools">Changes in the tools</A>
37<LI><A HREF="#contrib">Changes in the contrib area</A>
38</UL>
39<p>
40<P><HR WIDTH=65% ALIGN=left>
41
42<!--------------------------------------------------------------------------->
43
44<A NAME="highlights"><B><FONT SIZE=+3>M</FONT>AJOR CHANGES:</B></A>
45
46<UL>
47
48	<li> Support for configure/build using CMake.
49	<li> Support for large (> 2GB) files under Microsoft Windows.
50
51</UL>
52
53
54<P><HR WIDTH=65% ALIGN=left>
55<!--------------------------------------------------------------------------->
56
57<A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A>
58
59<UL>
60
61  <LI> CMakeLists.txt / CMake
62    <UL>
63      <LI> Configuration and building using CMake is now supported
64      under Microsoft Windows and on Unix-type systems.
65    </UL>
66  </LI>
67
68  <LI> configure.ac / configure
69    <UL>
70      <LI> Test for and use fseeko() if it is available.  This allows
71      supporting large files on Unix-type systems with a 32-bit 'long'
72      type and a 64-bit 'off_t' type.
73    </UL>
74  </LI>
75
76</UL>
77
78<P><HR WIDTH=65% ALIGN=left>
79
80<!--------------------------------------------------------------------------->
81
82<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A>
83
84<UL>
85
86    <LI> tiffiop.h:
87    <UL>
88      <LI> Macros added to use 64-bit equivalents for all standard I/O
89      and POSIX APIs used by libtiff and its tools which are limited
90      to 2GB in Windows builds.  Note that these 64-bit equivalents
91      were introduced by the CRT provided with Visual Studio 2005 and
92      if the necessary CRT is not installed on the target computer,
93      the program will not run.  The wrapper macros will not be
94      activated unless the definition _MSC_VER is at least 1400 or
95      __MSVCRT_VERSION__ is at least 0x800.
96    </UL>
97
98  <LI> tif_unix.c:
99    <UL>
100      <LI> Updated to support large files under Microsoft Windows.
101      This makes tif_unix.c a completely viable candidate for use
102      under Windows (in spite of its name) if the CRT is modern
103      enough.  Please note that tif_win32.c already supported large
104      files, but only 'tiffinfo' and 'tiffdump' made any provision to
105      support large files under Windows.
106      <LI> _tiffReadProc() and _tiffWriteProc() are modified to chunk
107      I/O to a maximum size of 2GB for extremely large I/O
108      requests. This surmounts limitations in the Microsoft Windows
109      read() and write() APIs (which are limited to the range of a
110      32-bit 'int'), and may avoid poor behavior with extremely large
111      I/O requests on other systems.
112    </UL>
113
114
115</UL>
116
117<P><HR WIDTH=65% ALIGN=left>
118
119<!-------------------------------------------------------------------------->
120
121<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A>
122
123<UL>
124
125  <LI> All tools
126    <UL>
127      <LI> Updated to use I/O wrapper macros from tiffiop.h in order
128      to support large files under Microsoft Windows.
129    </UL>
130
131</UL>
132
133<P><HR WIDTH=65% ALIGN=left>
134
135<!--------------------------------------------------------------------------->
136
137<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A>
138
139<UL>
140
141  <LI> None
142
143</UL>
144
145Last updated $Date: 2016-09-25 20:05:47 $.
146
147</BODY>
148</HTML>
149