# Changes in TIFF v3.8.2

References
Current Version | v3.8.2 (tag Release-v3-8-2)
Previous Version | v3.8.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

- Bug-fix release.

## Software configuration changes

- `tools/Makefile.am`: Use runtime paths linker flags when rpath option enabled.

- Makefiles improvements as per bug Remote Sensing bugzilla #1128 [no longer available]

- Fixed win32 I/O functions usage as per bug Remote Sensing bugzilla #1127 [no longer available]

## Library changes

- `tif_strip.c`: Take subsampling in account when calculating `TIFFScanlineSize()`.

- `tif_jpeg.c`, `tif_fax3.c`, `tif_zip.c`, `tif_pixarlog.c`, `tif_lzw.c`, `tif_luv.c`: Use `_TIFFSetDefaultCompressionState()` in all codec cleanup methods. As per bug Remote Sensing bugzilla #1120 [no longer available]

- `tif_jpeg.c`: Do not cleanup codec state in `TIFFInitJPEG()`. As per bug Remote Sensing bugzilla #1119 [no longer available]

- `tif_dir.c`: Use double type instead of `dblparam_t`.

- `tif_dirread.c`: Do not check the `PlanarConfig` tag presence in `TIFFReadDirectory()`, because it is always set at the start of function and we allow TIFFs without that tag set.

## Tools changes

- `tiffcp.c`: Do not set `RowsPerStrip` bigger than image length.

- `fax2tiff.c`: Fixed wrong `TIFFerror()` invocations as per bug Remote Sensing bugzilla #1125 [no longer available]

- `fax2ps.c`: Fixed reading the input stream from stdin as per bug Remote Sensing bugzilla #1124 [no longer available]

- `raw2tiff.c`: Do not set `RowsPerStrip` larger than `ImageLength`. As per bug Remote Sensing bugzilla #1110 [no longer available]

## Contributed software changes

None.