TIFF CHANGE INFORMATION
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:
MAJOR CHANGES:
- Read-only support for custom directories (e.g. EXIF directory).
- Preliminary support for MS MDI format.
CHANGES IN THE SOFTWARE CONFIGURATION:
- Make the default strip size configurable via the
--with-default-strip-size and STRIP_SIZE_DEFAULT options.
CHANGES IN LIBTIFF:
- tiffio.h: Added VC_EXTRALEAN definition before including
windows.h, to reduce the compile time.
- tif_jpeg.c: Improve compilation under MinGW.
- {tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
StoNits tags custom.
- {tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
WhitePoint tag custom.
- tiffio.h: fixed typo that potentially resulted in
redefininition of USE_WIN32_FILEIO
- {tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
Photoshop and ICCProfile tags custom.
- libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
newer code to get context indicator in error handler and still
remain compatible with older code: Done TIFFError calls everywhere
except in tools.
- tiffinfo.c: Print EXIF directory contents if exist.
- {tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
Custom directory read-only support.
- {tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
tags custom.
- tif_dirread.c: One more workaround for broken StripByteCountIN THEg.org/show_bug.cgi?id=475">
http://bugzilla.remotesensing.org/show_bug.cgi?id=475.
- libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
NULL before proceeding further as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=474.
Check results, returned by the TIFFFdOpen() before returning and close
file if TIFFFdOpen() failed as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=468.
- libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}:
Separate TIFFCleanup() from the TIFFClose() in order to fix the bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=468.
- libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags
that are field_passcount=TRUE properly. Arguably anonymous custom
tags should be declared as passcount=FALSE, but I don't want to change
that without a careful review.
- libtiff/tif_write.c: Fixed reporting size of the buffer in case
of stripped image in TIFFWriteBufferSetup(). As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=460.
- libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
patch from Gerben Koopmans.
- libtiff/tif_dirread.c: Check field_passcount value before setting
the value of undefined type, patch from Gerben Koopmans.
- libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
suggested by Jeremy C. Reed.
- libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when
the NULL pointer passed. Patch supplied by Larry Grill.
CHANGES IN THE TOOLS: