Changes in TIFF v3.7.2 — LibTIFF 4.6.0 documentation

# Changes in TIFF v3.7.2

References
Current Version | v3.7.2 (tag Release-v3-7-2)
Previous Version | v3.7.1
Master Download Site | https://download.osgeo.org/libtiff/
Master HTTP Site | http://www.simplesystems.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

- Maintenance release. Many bugfixes in the build environment and compatibility improvements.

## Software configuration changes

- `configure.ac`: Use `-rpath` option instead of `-R` as per bug Remote Sensing bugzilla #732 [no longer available]

- `tif_stream.cxx`: Fixes for C++ stream interface from Michael Rinne and Edward Lam.

- `configure.ac`: Make the documentation directory location configurable via the `--with-docdir` option (as suggested by Jeremy C. Reed).

- Place the C++ stream API in the separate library called `libtiffxx` to avoid unneeded dependencies. Probably there will be more C++ API in the future. As per bugs Remote Sensing bugzilla #733 [no longer available] and Remote Sensing bugzilla #730 [no longer available]

- `configure`, `configure.ac`: Replace `--disable-c++` with the `--disable-cxx` option as per bug Remote Sensing bugzilla #730 [no longer available].

## Library changes

- Applied patch from Lee Howard to support a new tag `TIFFTAG_FAXDCS` (34911) used in HylaFax software. As per bug Remote Sensing bugzilla #771 [no longer available]

- `tif_open.c`: Remove unnecessary `TIFFSeekFile()` call as per bug Remote Sensing bugzilla #756 [no longer available]

- `tiff.h`: Changed the `int8` definition to be always signed char as per bug Remote Sensing bugzilla #727 [no longer available]

- `tiffio.h`: Move `TIFFOpenW()` function into the `extern "C"{}` block as per bug Remote Sensing bugzilla #763 [no longer available]

- `tif_dirread.c`: Estimate strip size in case of wrong or suspicious values in the tags. As per bugs Remote Sensing bugzilla #705 [no longer available] and Remote Sensing bugzilla #320 [no longer available]

- `tif_color.c`: Use double as the second argument of `pow()` function in `TIFFCIELabToRGBInit()`. As per bug Remote Sensing bugzilla #741 [no longer available]

- `tif_pixarlog.c`: Avoid warnings when converting float to integer as per bug Remote Sensing bugzilla #740 [no longer available]

- `tif_getimage.c`: Always fill the error message buffer in `TIFFRGBAImageBegin()` as per bug Remote Sensing bugzilla #739 [no longer available]

- `tif_jpeg.c`: Added ability to read/write the fax specific `TIFFTAG_FAXRECVPARAMS`, `TIFFTAG_FAXSUBADDRESS` and `TIFFTAG_FAXRECVTIME` tags as per bug Remote Sensing bugzilla #736 [no longer available]

- `tif_win32.c`: Fixed message formatting in functions `Win32WarningHandler()` and `Win32ErrorHandler()` as per bug Remote Sensing bugzilla #735 [no longer available]

- `tiffio.h`: Move the color conversion routines in the `extern "C"` section as per bug Remote Sensing bugzilla #727 [no longer available]

- `tiff.h`: Restore back the workaround for AIX Visual Age C compiler to avoid double definition of BSD types as per bug Remote Sensing bugzilla #39 [no longer available]

- `tif_getimage.c`: More fixes for multiple-alpha-channelled RGB-images as per bug Remote Sensing bugzilla #713 [no longer available]

## Tools changes

- `tiffcmp.c`: Added ability to compare the 32-bit integer and floating point data; complain on unsupported bit depths.

- `tiffcmp.c`: Use properly sized buffer in short arrays comparison as per bug Remote Sensing bugzilla #785 [no longer available]

- `fax2ps.c`: Replace insecure `mktemp()` function with the `tmpfile()` as per bug Remote Sensing bugzilla #786 [no longer available]

- `tiffgt.c`: Fix problem on big-endian CPUs so that images display more correctly. Images display brighter than they should on a Sun workstation.

- `tiff2ps.c`: Fixed problem with page sizes as per bug Remote Sensing bugzilla #742 [no longer available]

- `tiff2ps.c`: Interpret the “`-w`” and “`-h`” options independently. As per bug Remote Sensing bugzilla #689 [no longer available]

- `tiffdump.c`: Fixed problem when read broken TIFFs with the wrong tag counts (Dmitry V. Levin, Martin Pitt).

- `tiffset.c`: Convert character option to integer value as per bug Remote Sensing bugzilla #725 [no longer available].

## Contributed software changes

- None.