1<HTML> 2<HEAD> 3<TITLE> 4 Changes in TIFF v3.7.1 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.7.1<BR> 19<B>Previous Version</B>: <A HREF=v3.7.0.html>v3.7.0</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 49 <li> This is mostly bugfix release. Most important fix is the one 50 related to wrong custom tag read/write code. 51 52</UL> 53 54 55<P><HR WIDTH=65% ALIGN=left> 56<!---------------------------------------------------------------------------> 57 58<A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A> 59 60<UL> 61 62 <li> autogen.sh: aclocal and autoheader should be executed after 63 libtoolize. Also add '-I .' to aclocal invocation to check 64 current directory for macros. 65 66 <li> nmake.opt: Link with the user32.lib in windowed mode. As per bug 67 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=697"> 68 http://bugzilla.remotesensing.org/show_bug.cgi?id=697</a> 69 70 <li> nmake.opt, makefile.vc: make it easier to rename the libtiff DLL. 71 72 <li> configure, configure.ac: Added --enable-rpath option to embed 73 linker paths into library binary. 74 75</UL> 76 77<P><HR WIDTH=65% ALIGN=left> 78 79<!---------------------------------------------------------------------------> 80 81<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A> 82 83<UL> 84 85 <li> tiff.h: Revert back libtiff data type definitions as per 86 bug <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=687"> 87 http://bugzilla.remotesensing.org/show_bug.cgi?id=687</a> 88 89 <li> tif_dirread.c: Do not forget about TIFF_VARIABLE2 when 90 checking for tag count in TIFFReadDirectory() function. As per bug 91 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=713"> 92 http://bugzilla.remotesensing.org/show_bug.cgi?id=713</a> 93 94 <li> tif_getimage.c: Support for multiple-alpha-channelled 95 RGB-images as per bug 96 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=718"> 97 http://bugzilla.remotesensing.org/show_bug.cgi?id=718</a> 98 99 <li> tif_getimage.c: #define A1 bracketing for clean build on 100 SunPro compiler. 101 102 <li> tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type 103 as per bugs 104 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=703"> 105 http://bugzilla.remotesensing.org/show_bug.cgi?id=703</a> and 106 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=704"> 107 http://bugzilla.remotesensing.org/show_bug.cgi?id=704</a>. 108 109 <li> tif_win32.c: Use char* strings instead of TCHAR in windowed 110 mode as per bug 111 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=697"> 112 http://bugzilla.remotesensing.org/show_bug.cgi?id=697</a> 113 114 <li> tif_dir.c, tif_dirread.c: Remove TIFFReassignTagToIgnore() 115 call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore 116 must be removed in the future, as it was never used properly. As per 117 bug <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=692"> 118 http://bugzilla.remotesensing.org/show_bug.cgi?id=692</a> 119 120 <li> tif_jpeg.c: Added a work-around in order to allow 121 compilation with the heavily modified version of libjpeg delivered 122 with Cygwin. 123 124 <li> tif_dir.c: Properly handle tags, which have the uint32 125 counts. As per bug 126 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=693"> 127 http://bugzilla.remotesensing.org/show_bug.cgi?id=693</a> 128 129 <li> tif_unix.c: Make UNIX module compilable (and usable) 130 on Windows. 131 132 <li> tiff.h: Added Adobe DNG tags. 133 134 <li> tif_aux.c: Set the appropriate ReferenceBlackWhite array for 135 YCbCr image which lacks that tag (noted by Hans Petter Selasky). 136 137 <li> tif_color.c: Division by zero fixed (Hans Petter Selasky). 138 139 <li> tif_stream.cxx, tiffio.h: Added C++ stream interface 140 contributed by Edward Lam (see 141 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=654"> 142 http://bugzilla.remotesensing.org/show_bug.cgi?id=654</a> 143 for details). Those who want to use C++ streams should 144 #include <tiffio.hxx>. 145 146 <li> tif_open.c: Removed close() in TIFFClientOpen() if file 147 is bad. This is the callers responsibility. 148 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=651"> 149 http://bugzilla.remotesensing.org/show_bug.cgi?id=651</a> 150 151 <li> tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW() 152 function to work with the double byte strings (used to represent 153 filenames in some locales). As per bug 154 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=625"> 155 http://bugzilla.remotesensing.org/show_bug.cgi?id=625</a> 156 157 <li> tif_dirread.c: Fixed problem when fetching BitsPerSample and 158 Compression tags of type LONG from broken TIFFS as per bug 159 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=662"> 160 http://bugzilla.remotesensing.org/show_bug.cgi?id=662</a> 161 162 <li> tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC, 163 the writecount should have uint32 type. As per bug 164 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=662"> 165 http://bugzilla.remotesensing.org/show_bug.cgi?id=662</a> 166 167 <li> tif_write.c: Fixed wrong if() statement in 168 TIFFAppendToStrip() function as per bug 169 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=660"> 170 http://bugzilla.remotesensing.org/show_bug.cgi?id=660</a> 171 172 <li> tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES 173 field. The caller should supply a count when setting this field. As 174 per bug <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=648"> 175 http://bugzilla.remotesensing.org/show_bug.cgi?id=648</a>. 176 177 <li> tif_jpeg.c, tif_ojpeg.c: TIFFTAG_JPEGTABLES should have 178 uint32 count. Use this type everywhere. 179 180 <li> tif_next.c: avoid use of u_long and u_char types. 181 182 <li> tif_fax3.c: Fixed case with the wrong decode routines 183 choosing when the incorrect Group4Options tag set. As per bug 184 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=323"> 185 http://bugzilla.remotesensing.org/show_bug.cgi?id=323</a> 186 187 <li> tif_dirwrite.c: Fixed problem with passing count variable of 188 wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in 189 TIFFWriteNormalTag(). 190 191 <li> tif_compress.c: Zero division problem fixed (Vladimir Nadvornik, 192 Dmitry V. Levin). 193 194</UL> 195 196<P><HR WIDTH=65% ALIGN=left> 197 198<!--------------------------------------------------------------------------> 199 200<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A> 201 202<UL> 203 204 <li> fax2ps.c: Be able to extract the first page (#0). As per bug 205 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=690"> 206 http://bugzilla.remotesensing.org/show_bug.cgi?id=690</a> 207 208 <li> tiff2ps.c: Fixed wrong variable data type when read Position 209 tags (Tristan Hill). 210 211 <li> tiff2ps.c: Fixed wrong variable data type when read Resolution 212 tags (Peter Fales). 213 214 <li> tiffset.c: Check the malloc return value (Dmitry V. Levin). 215 216</UL> 217 218<P><HR WIDTH=65% ALIGN=left> 219 220<!---------------------------------------------------------------------------> 221 222<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A> 223 224<UL> 225 226 <li> No changes. 227 228</UL> 229 230Last updated $Date: 2016-09-25 20:05:45 $. 231 232</BODY> 233</HTML> 234