Changes in TIFF v3.7.4 — LibTIFF 4.7.1 documentation

# Changes in TIFF v3.7.4

References
Current Version | v3.7.4 (tag Release-v3-7-4)
Previous Version | v3.7.3
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

- Fixed important bug in custom tags handling code.

## Software configuration changes

- Applied patch from Patrick Welche (all scripts moved in the `config` and `m4` directories).

- `SConstruct`, `libtiff/SConstruct`: Added the first very preliminary support for SCons software building tool (http://www.scons.org/). This is experimental infrastructure and it will exist along with the autotools stuff.

- `port/lfind.c`: Added `lfind()` replacement module.

## Library changes

- `tif_dir.c`: When prefreeing `tv->value` in `TIFFSetFieldV()` also set it to `NULL` to avoid double free when re-setting custom string fields as per: Remote Sensing bugzilla #922 [no longer available]

- tif_dir.c: Fixed up support for swapping "double complex" values (128 bits as 2 64 bits doubles). GDAL gcore tests now pass on bigendian (macosx) system.

- `libtiff/tif_dirread.c`, `libtiff/tif_dirinfo.c`: Do not upcast `BYTE` to `SHORT` in the `TIFFFetchByteArray()`. Remove `TIFFFetchExtraSamples()` function, use `TIFFFetchNormalTag()` instead as per bug Remote Sensing bugzilla #831 [no longer available]

  Remove `TIFFFetchExtraSamples()` function, use `TIFFFetchNormalTag()` instead.

- `tif_print.c`: Fixed printing of the `BYTE` and `SBYTE` arrays.

- `tif_write.c`: Do not check the `PlanarConfiguration` field in the `TIFFWriteCheck()` function in case of single band images (as per TIFF spec).

- `libtiff/tif_dir.c`, `libtiff/tif_dir.h`, `libtiff/tif_dirinfo.c`, `libtiff/tif_print.c`: Make `FieldOfViewCotangent`, `MatrixWorldToScreen`, `MatrixWorldToCamera`, `ImageFullWidth`, `ImageFullLength` and `PrimaryChromaticities` tags custom.

## Tools changes

- `tiffcp.c`: Fixed `WhitePoint` tag copying.

## Contributed software changes

- `tiffdump.c`: Added support for `TIFF_IFD` datatype.

- `addtiffo/tif_overview.c`, `addtiffo/tif_ovrcache.c`, `addtiffo/tif_ovrcache.h`: Make overviews working for contiguous images.