Changes in TIFF v3.8.0¶
Current Version |
v3.8.0 (tag %sRelease-v3-8-0) |
Previous Version |
|
Master Download Site |
|
Master HTTP Site |
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¶
Read-only support for custom directories (e.g. EXIF directory).
Preliminary support for MS MDI format.
Software configuration changes¶
Make the default strip size configurable via the
--with-default-strip-sizeandSTRIP_SIZE_DEFAULToptions.
Library changes¶
tiffio.h: AddedVC_EXTRALEANdefinition before includingwindows.h, to reduce the compile time.tif_jpeg.c: Improve compilation under MinGW.tif_aux.c,tif_dir.c,tif_dir.h,tif_dirwrite.c,tif_print.c,tif_getimage.c: MakeInkSet,NumberOfInks,DotRangeandStoNitstags custom.tif_aux.c,tif_dir.c,tif_dir.h,tif_print.c: MakeWhitePointtag custom.tiffio.h: fixed typo that potentially resulted in redefininition ofUSE_WIN32_FILEIOtif_dir.c,tif_dir.h,tif_print.c: MakeRichTIFFIPTC,PhotoshopandICCProfiletags custom.libtiff/*,contrib/*: Added ‘dual-mode’ error handling, enabling newer code to get context indicator in error handler and still remain compatible with older code: DoneTIFFError()calls everywhere except in tools.tiffinfo.c: PrintEXIFdirectory contents if exist.tif_dirinfo.c,tif_dirread.c,tif_dir.h,tif_dir.c: Custom directory read-only support.tif_aux.c,tif_dirinfo.c,tif_dirread.c,tif_dir.h,tif_dir.c,tif_print.c: MakeYCbCrCoefficientsandReferenceBlackWhitetags custom.tif_dirread.c: One more workaround for brokenStripByteCountstag. Handle the case whenStripByteCountsarray filled with completely wrong values.tif_dirinfo.c: Release file descriptor in case of failure in theTIFFOpenW()function as per bug Remote Sensing bugzilla #%s [no longer available]1003tif_dirinfo.c: Correctly usebsearch()andlfind()functions as per bug Remote Sensing bugzilla #%s [no longer available]1008tif_open.c,tiff.h,tiffdump.c: Incorporate preliminary support for MS MDI format. Remote Sensing bugzilla #%s [no longer available]1002libtiff.def,
tiffiop.h,tiffio.h: MadeTIFFFreeDirectory()public./tif_dirinfo.c: MakeXResolution,YResolutionandResolutionUnittags modifiable during write process. As per bug Remote Sensing bugzilla #%s [no longer available]977if_dirread.c: Don’t try and split single strips into “0” strips inChopUpSingleUncompressedStrip(). This happens in some degenerate cases (like 1×1 files withstripbytecounts==0(gtsmall.jp2embed tiff)tif_fax3.c: changed ‘at scanline …’ style warning/errors with incorrect use of tif_row, to ‘at line … of strip/tile …’ style.
Tools changes¶
tiffcp.c: Added many error reporting messages; fixed integer overflow as per bug Remote Sensing bugzilla #%s [no longer available]789tiffcp.c: Return non-zero status when reading fails.fax2tiff.c: Properly calculate sizes of temporary arrays as per bug Remote Sensing bugzilla #%s [no longer available]943fax2tiff.c: Added option -r to set RowsPerStrip parameter as per bug Remote Sensing bugzilla #%s [no longer available]944tiffdump.c: Fixedtypeshiftandtypemaskarrays initialization problem as per bug Remote Sensing bugzilla #%s [no longer available]946bmp2tiff.c: Fixed possible integer overflow error as per bug Remote Sensing bugzilla #%s [no longer available]965tiffsplit.c: Copy fax related fields over split parts as per bug Remote Sensing bugzilla #%s [no longer available]983tiffdump.c: Fixed crash when reading malformed tags.tiff2pdf.c: Added missedbreakstatement as per bug Remote Sensing bugzilla #%s [no longer available]932
Contributed software changes¶
contrib/addtiffo/*: Major upgrade by Joris to support subsampled YCbCr images in jpeg compressed TIFF files.