1<HTML> 2<HEAD> 3<TITLE> 4 Changes in TIFF v3.7.3 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.3<BR> 19<B>Previous Version</B>: <A HREF=v3.7.2.html>v3.7.2</a><BR> 20<B>Master FTP Site</B>: <A HREF="ftp://ftp.remotesensing.org/pub/libtiff"> 21ftp.remotesensing.org</a>, directory pub/libtiff</A><BR> 22<B>Master HTTP Site</B>: <A HREF="http://www.remotesensing.org/libtiff"> 23http://www.remotesensing.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> Replace runtime endianess check with the compile time one. 49 50 <li> Added support for the new predictor type (floating point 51 predictor), defined at the TIFF Technical Note 3. 52 53 <li> Added Support for custom tags, passed by value. 54 Added support for all DNG tags. 55</UL> 56 57 58<P><HR WIDTH=65% ALIGN=left> 59<!---------------------------------------------------------------------------> 60 61<A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A> 62 63<UL> 64 <li> Added workaround for OpenBSD/MirOS soname problem as per bug 65 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=838"> 66 http://bugzilla.remotesensing.org/show_bug.cgi?id=838</a> 67 68 <li> Fixed parallel compilation of the libtiff and 69 libtiffxx libraries as per bug 70 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=826"> 71 http://bugzilla.remotesensing.org/show_bug.cgi?id=826</a> 72 73 <li> configure.ac, libtiff/Makefile.am: Use libtool machinery to pass 74 rpath option. 75 76 <li> make.opt: Build with Win32 CRT library by default. 77</UL> 78 79<P><HR WIDTH=65% ALIGN=left> 80 81<!---------------------------------------------------------------------------> 82 83<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A> 84 85<UL> 86 <li> tiff.h: Use correct int size on Sparc 64bit/Sun compiler 87 platform. As per bug 88 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=855> 89 http://bugzilla.remotesensing.org/show_bug.cgi?id=855</a> 90 91 <li> tif_dirinfo.c: Added support for ClipPath, XClipPathUnits 92 and YClipPathUnits tags. 93 94 <li> tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c: Make 95 DocumentName, Artist, HostComputer, ImageDescription, Make, Model, 96 Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and 97 TargetPrinter tags custom. 98 99 <li> tif_jpeg.c: Cleanup the codec state depending on TIFF_CODERSETUP 100 flag (to fix memory leaks). 101 102 <li> tif_dirwrite.c: Use tdir_count when calling 103 TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as 104 per bug <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=845"> 105 http://bugzilla.remotesensing.org/show_bug.cgi?id=845</a> 106 107 <li> tif_dirinfo.c, tif_print.c: TIFFFetchByteArray() returns 108 uint16 array when fetching the BYTE and SBYTE fields, so we should 109 consider result as pointer to uint16 array and not as array of chars. 110 As per bug 111 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=831"> 112 http://bugzilla.remotesensing.org/show_bug.cgi?id=831</a> 113 114 <li> tif_dir.c: More efficient custom tags retrieval as per bug 115 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=830"> 116 http://bugzilla.remotesensing.org/show_bug.cgi?id=830</a> 117 118 <li> tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share 119 mode in CreateFile() call as per bug 120 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=829"> 121 http://bugzilla.remotesensing.org/show_bug.cgi?id=829</a> 122 123 <li> tif_jpeg.c: Substantial fix for addtiffo problems with 124 JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables 125 in directory. 126 127 <li> tif_dirread.c: Changed the code that computes 128 stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is 129 zero. This is a common case with GDAL indicating a "null" tile/strip. 130 131 <li> tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw(). 132 133 <li> tif_dirread.c: Ensure that broken files with too many 134 values in PerSampleShorts, TIFFFetchPerSampleLongs and 135 TIFFFetchPerSampleAnys work ok instead of crashing. 136 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=843"> 137 http://bugzilla.remotesensing.org/show_bug.cgi?id=843</a> 138 139 <li> tif_predict.h, tif_predict.c: Added ability to decode and encode 140 floating point predictor, as per TIFF Technical Note 3. 141 See http://chriscox.org/TIFF_TN3_Draft2.pdf for details. 142 143 <li> tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c: 144 Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to 145 swap 24-bit floating point values. 146 147 <li> tiff.h: Added predictor constants. 148 149 <li> tiffiop.h, tif_dir.c: Use uint32 type for appropriate values 150 in _TIFFVSetField() function. Inspired by the bug 151 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=816"> 152 http://bugzilla.remotesensing.org/show_bug.cgi?id=816</a> 153 154 <li> tif_open.c: Do not read header in case the output file should 155 be truncated (Ron). 156 157 <li> tif_dirinfo.c, tif_config.h.vc: Use lfind() instead of bsearch() 158 in _TIFFFindFieldInfoByName() function (Ron). 159 160 <li> tif_dir.c, tif_print.c: Properly handle all data types in custom 161 tags. 162 163 <li> dirinfo.c: Added DNG tags. 164 165 <li> tiff.h: Added missed DNG tag (LensInfo); added DNG 1.1.0.0 tags. 166 167 <li> tif_dir.c, tif_print.c: Added Support for custom tags, passed 168 by value. 169 170 <li> tiff.h, tif_dirinfo.c, tiffiop.h: Added EXIF related tags. 171</UL> 172 173<P><HR WIDTH=65% ALIGN=left> 174 175<!--------------------------------------------------------------------------> 176 177<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A> 178 179<UL> 180 <li> tiff2pdf.c: Print two characters per loop in the 181 t2p_write_pdf_trailer(). As per bug 182 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=594"> 183 http://bugzilla.remotesensing.org/show_bug.cgi?id=594</a> 184 185 <li> tiffgt.c: Use MacOS X OpenGL framework when appropriate. As 186 per bug <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=844"> 187 http://bugzilla.remotesensing.org/show_bug.cgi?id=844</a> 188 189 <li> ppm2tiff.c: Fixed format string when read PPM file header with 190 the fscanf() function. As per bug 191 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=861"> 192 http://bugzilla.remotesensing.org/show_bug.cgi?id=861</a> 193 194 <li> tiffsplit.c: Check for JPEGTables tag presence before copying. 195 196 <li> tiff2pdfr.c: Calculate the tile width properly; added new 197 option '-b' to use interpolation in output PDF files (Bruno Ledoux). 198 199 <li> tiffdither.c: Copy the PhotometricInterpretation tag from the 200 input file. 201 202 <li> tif2pdf.c: Fixed problem with alpha channel handling as per 203 bug <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=794"> 204 http://bugzilla.remotesensing.org/show_bug.cgi?id=794</a>. 205</UL> 206 207<P><HR WIDTH=65% ALIGN=left> 208 209<!---------------------------------------------------------------------------> 210 211<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A> 212 213<UL> 214 215 <li> addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: 216 Make overviews working for contiguous images. 217 218</UL> 219 220Last updated $Date: 2005-06-23 13:30:35 $. 221 222</BODY> 223</HTML> 224