Changes in TIFF v3.8.1

TIFF CHANGE INFORMATION

Current Version: v3.8.1
Previous Version: v3.8.0
Master FTP Site: ftp.remotesensing.org, directory pub/libtiff
Master HTTP Site: http://www.remotesensing.org/libtiff

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
- Changes in the software configuration
- Changes in libtiff
- Changes in the tools
- Changes in the contrib area

MAJOR CHANGES:

- Bug-fix release.

CHANGES IN THE SOFTWARE CONFIGURATION:

- libtool related stuff updated from the 2.1a branch.
- Fix with_default_strip_size comparison as reported by Norihiko Murase.

CHANGES IN LIBTIFF:

- tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray() function as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
- tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c: Properly restore setfield/getfield methods in cleanup functions. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
- tif_lzw.c, tif_pixarlog.c, tif_zip.c: Use TIFFPredictorCleanup() in codec cleanup methods. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
- tif_predict.c, tif_predict.h: Added new function TIFFPredictorCleanup() to restore parent decode/encode/field methods.
- tif_dirread.c: Fixed integer overflow condition in TIFFFetchData() function. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
- tif_ojpeg.c: Set the ReferenceBlackWhite with the TIFFSetField() method, not directly. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
- tif_write.c: Small code rearrangement in TIFFWriteScanline() to avoid crash as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1081
- tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088
- tif_print.c: Properly read TIFFTAG_PAGENUMBER, TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088
- tif_tile.c: Fix error reporting in TIFFCheckTile() as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063
- tif_color.c: Avoid overflow in case of wrong input as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065
- tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when appropriate. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1033
- tif_aux.c: Fixed type of temporary variable in _TIFFCheckMalloc() as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=103
- tif_aux.c: Return static array when fetching default YCbCrCoefficients (another problem, reported a the http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
- tif_dir.c: Special handling for PageNumber, HalftoneHints, YCbCrSubsampling and DotRange tags as per bugs http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
- tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1026
- tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE, TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount should be uint32 value.

CHANGES IN THE TOOLS:

- ppm2tiff.c: Added support for PBM files as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
- tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and t2p_sample_rgba_to_rgb() was used in place of each other, that was resulted in problems with RGBA images with associated alpha. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
- tiff2ps.c: Properly scale all the pages when converting multipage TIFF with /width/height/center options set. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
- tiff2pdf.c: Do not create output file until all option checks will be done. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
- bmp2tiff.c: Added ability to create multipage TIFFs from the list of input files as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
- tiffgt.c: Avoid crashing in case of image unsupported by TIFFRGBAImage interface.
- tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG compressed TIFF files, per submission from Dan Cobra.
- bmp2tiff, pal2rgb, ppm2tiff, ras2tiff, raw2tiff, sgi2tiff, tiff2bw, tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works properly as per bug: http://bugzilla.remotesensing.org/show_bug.cgi?id=1025

CHANGES IN THE CONTRIB AREA:

Last updated $Date: 2006/03/13 14:52:12 $.