1<HTML> 2<HEAD> 3<TITLE> 4 Changes in TIFF v3.8.0 5</TITLE> 6</HEAD> 7 8<BODY BGCOLOR=white> 9<FONT FACE="Helvetica, Arial, Sans"> 10<FONT FACE="Helvetica, Arial, Sans"> 11 12<BASEFONT SIZE=4> 13<B><FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION</B> 14<BASEFONT SIZE=3> 15 16<UL> 17<HR SIZE=4 WIDTH=65% ALIGN=left> 18<B>Current Version</B>: v3.8.0<BR> 19<B>Previous Version</B>: <A HREF=v3.7.4.html>v3.7.4</a><BR> 20<B>Master FTP Site</B>: <A HREF="ftp://download.osgeo.org/libtiff"> 21download.osgeo.org</a>, directory pub/libtiff</A><BR> 22<B>Master HTTP Site</B>: <A HREF="http://www.simplesystems.org/libtiff/"> 23http://www.simplesystems.org/libtiff/</a> 24<HR SIZE=4 WIDTH=65% ALIGN=left> 25</UL> 26 27<P> 28This document describes the changes made to the software between the 29<I>previous</I> and <I>current</I> versions (see above). 30If you don't find something listed here, then it was not done in this 31timeframe, or it was not considered important enough to be mentioned. 32The following information is located here: 33<UL> 34<LI><A HREF="#hightlights">Major Changes</A> 35<LI><A HREF="#configure">Changes in the software configuration</A> 36<LI><A HREF="#libtiff">Changes in libtiff</A> 37<LI><A HREF="#tools">Changes in the tools</A> 38<LI><A HREF="#contrib">Changes in the contrib area</A> 39</UL> 40<p> 41<P><HR WIDTH=65% ALIGN=left> 42 43<!---------------------------------------------------------------------------> 44 45<A NAME="highlights"><B><FONT SIZE=+3>M</FONT>AJOR CHANGES:</B></A> 46 47<UL> 48 <li> Read-only support for custom directories (e.g. EXIF directory). 49 50 <li> Preliminary support for MS MDI format. 51</UL> 52 53 54<P><HR WIDTH=65% ALIGN=left> 55<!---------------------------------------------------------------------------> 56 57<A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A> 58 59<UL> 60 <li> Make the default strip size configurable via the 61 --with-default-strip-size and STRIP_SIZE_DEFAULT options. 62</UL> 63 64<P><HR WIDTH=65% ALIGN=left> 65 66<!---------------------------------------------------------------------------> 67 68<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A> 69 70<UL> 71 <li> tiffio.h: Added VC_EXTRALEAN definition before including 72 windows.h, to reduce the compile time. 73 74 <li> tif_jpeg.c: Improve compilation under MinGW. 75 76 <li> {tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, 77 tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and 78 StoNits tags custom. 79 80 <li> {tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make 81 WhitePoint tag custom. 82 83 <li> tiffio.h: fixed typo that potentially resulted in 84 redefininition of USE_WIN32_FILEIO 85 86 <li> {tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, 87 Photoshop and ICCProfile tags custom. 88 89 <li> libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling 90 newer code to get context indicator in error handler and still 91 remain compatible with older code: Done TIFFError calls everywhere 92 except in tools. 93 94 <li> tiffinfo.c: Print EXIF directory contents if exist. 95 96 <li> {tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: 97 Custom directory read-only support. 98 99 <li> {tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, 100 tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite 101 tags custom. 102 103 <li> tif_dirread.c: One more workaround for broken StripByteCounts 104 tag. Handle the case when StripByteCounts array filled with 105 completely wrong values. 106 107 <li> tif_dirinfo.c: Release file descriptor in case of failure 108 in the TIFFOpenW() function as per bug 109 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1003"> 110 http://bugzilla.remotesensing.org/show_bug.cgi?id=1003</a> 111 112 <li> tif_dirinfo.c: Correctly yse bsearch() and lfind() 113 functions as per bug 114 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1008"> 115 http://bugzilla.remotesensing.org/show_bug.cgi?id=1008</a> 116 117 <li> tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support 118 for MS MDI format. 119 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1002"> 120 http://bugzilla.remotesensing.org/show_bug.cgi?id=1002</a> 121 122 <li> libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory 123 public. 124 125 <li> /tif_dirinfo.c: Make XResolution, YResolution and 126 ResolutionUnit tags modifiable during write process. As per bug 127 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=977"> 128 http://bugzilla.remotesensing.org/show_bug.cgi?id=977</a> 129 130 <li> if_dirread.c: Don't try and split single strips into "0" strips 131 in ChopUpSingleUncompressedStrip. This happens in some degenerate 132 cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff) 133 134 <li> tif_fax3.c: changed 'at scanline ...' style warning/errors 135 with incorrect use of tif_row, to 'at line ... of 136 strip/tile ...' style. 137</UL> 138 139<P><HR WIDTH=65% ALIGN=left> 140 141<!--------------------------------------------------------------------------> 142 143<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A> 144 145<UL> 146 <li> tiffcp.c: Added many error reporting messages; fixed integer 147 overflow as per bug 148 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=789"> 149 http://bugzilla.remotesensing.org/show_bug.cgi?id=789</a> 150 151 <li> tiffcp.c: Return non-zero status when reading fails. 152 153 <li> fax2tiff.c: Properly calculate sizes of temporary arrays 154 as per bug 155 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=943"> 156 http://bugzilla.remotesensing.org/show_bug.cgi?id=943</a> 157 158 <li> fax2tiff.c: Added option '-r' to set RowsPerStrip parameter 159 as per bug 160 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=944"> 161 http://bugzilla.remotesensing.org/show_bug.cgi?id=944</a> 162 163 <li> tiffdump.c: Fixed typeshift and typemask arrays initialization 164 problem as per bug 165 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=946"> 166 http://bugzilla.remotesensing.org/show_bug.cgi?id=946</a> 167 168 <li> bmp2tiff.c: Fixed possible integer overflow error as per bug 169 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=965"> 170 http://bugzilla.remotesensing.org/show_bug.cgi?id=965</a> 171 172 <li> tiffsplit.c: Copy fax related fields over splitted parts 173 as per bug 174 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=983"> 175 http://bugzilla.remotesensing.org/show_bug.cgi?id=983</a> 176 177 <li> tiffdump.c: Fixed crash when reading malformed tags. 178 179 <li> tiff2pdf.c: Added missed 'break' statement as per bug 180 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=932"> 181 http://bugzilla.remotesensing.org/show_bug.cgi?id=932</a> 182</UL> 183 184<P><HR WIDTH=65% ALIGN=left> 185 186<!---------------------------------------------------------------------------> 187 188<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A> 189 190<UL> 191 <li> contrib/addtiffo/*: Major upgrade by Joris to support subsampled 192 YCbCr images in jpeg compressed TIFF files. 193 194</UL> 195 196Last updated $Date: 2016-09-25 20:05:45 $. 197 198</BODY> 199</HTML> 200