Changes in TIFF v4.0.5¶
v4.0.5 (tag Release-v4-0-5)
Master Download Site
Master HTTP Site
This document describes the changes made to the software between the previous and current versions (see above). If you don't find something listed here, then it was not done in this timeframe, or it was not considered important enough to be mentioned. The following information is located here:
Support for configure/build using CMake.
Support for large (> 2GB) files under Microsoft Windows.
Software configuration changes¶
Configuration and building using CMake is now supported under Microsoft Windows and on Unix-type systems.
Test for and use
fseeko()if it is available. This allows supporting large files on Unix-type systems with a 32-bit long type and a 64-bit
Macros added to use 64-bit equivalents for all standard I/O and POSIX APIs used by libtiff and its tools which are limited to 2GB in Windows builds. Note that these 64-bit equivalents were introduced by the CRT provided with Visual Studio 2005 and if the necessary CRT is not installed on the target computer, the program will not run. The wrapper macros will not be activated unless the definition
_MSC_VERis at least 1400 or :c:macro:
__MSVCRT_VERSION__is at least
Updated to support large files under Microsoft Windows. This makes
tif_unix.ca completely viable candidate for use under Windows (in spite of its name) if the CRT is modern enough. Please note that
tif_win32.calready supported large files, but only tiffinfo and tiffdump made any provision to support large files under Windows.
_tiffWriteProc()are modified to chunk I/O to a maximum size of 2GB for extremely large I/O requests. This surmounts limitations in the Microsoft Windows
write()APIs (which are limited to the range of a 32-bit int), and may avoid poor behavior with extremely large I/O requests on other systems.
Updated to use I/O wrapper macros from
tiffiop.hin order to support large files under Microsoft Windows.
Contributed software changes¶