Changes in TIFF v3.7.0beta — LibTIFF 4.7.1 documentation

# Changes in TIFF v3.7.0beta

References
Current Version | v3.7.0beta (tag Release-v3-7-0beta)
Previous Version | v3.7.0alpha
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

- LZW compression enabled by default. You don't need the separate compression kit anymore.

- bmp2tiff: Added new utility to convert Windows BMP files into TIFFs.

- The first attempt to implement a test suite.

## Software configuration changes

- Many portability fixes in the new autotooled build suite.

## Library changes

- `libtiff/tif_luv.c`, `libtiff/tif_next.c`, `libtiff/tif_thunder.c`: Several buffer overruns fixed, as noted by Chris Evans.

- BSD data types (`u_char`, `u_short`, `u_int`, `u_long`) is no longer used internally in the libtiff. Should result in simpler configuration and better portability.

- `libtiff/tiff.h`: Fix column tagging. Reference current Adobe XMP specification. Reference libtiff bug tracking system to submit private tag additions.

- `libtiff/tif_dirread.c`: Don't reject to read tags of the `SamplesPerPixel` size when the tag count is greater than number of samples as per bug Remote Sensing bugzilla #576 [no longer available].

- `libtiff/tiffio.h`, `libtiff/tif_open.c`: Applied patches from Joris Van Damme to avoid requirement for `tiffiop.h` inclusion in some applications. Look for details here: http://www.asmail.be/msg0054799560.html.

- `libtiff/tiffiop.h`, `libtiff/tif_dirinfo.c`: Fixed problem with the static variable as per bug Remote Sensing bugzilla #593 [no longer available].

- `libtiff/tif_lzw.c`: LZW compression code is merged back from the separate package. All libtiff tools are updated to not advertise an absence of LZW support.

- `libtiff/tif_dir.c`: Call `TIFFError()` instead of producing warnings when setting custom tags by value. Reported by Eric Fieleke.

## Tools changes

- tiff2ps: Avoid zero division in `setupPageState()` function; properly initialize array in `PSDataBW()`.

- tiff2pdf: Multiple bugfixes.

- ras2tiff: Fixed issue with missed big-endian checks as per bug Remote Sensing bugzilla #586 [no longer available].

- bmp2tiff: Added new utility to convert Windows BMP files into TIFFs.

## Contributed software changes

- No changes.

## LZW compression kit changes

- This one is not longer needed.