1<HTML> 2<HEAD> 3<TITLE> 4 Changes in TIFF v3.7.0alpha 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.1alpha<BR> 19<B>Previous Version</B>: <A HREF=v3.6.0.html>v3.6.0</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<LI><A HREF="#lzwkit">Changes in the LZW compression kit</A> 40</UL> 41<p> 42<P><HR WIDTH=65% ALIGN=left> 43 44<!---------------------------------------------------------------------------> 45 46<A NAME="highlights"><B><FONT SIZE=+3>M</FONT>AJOR CHANGES:</B></A> 47 48<ul> 49 <li> Significant changes in software configuration: we are switched 50 to GNU autotools now. 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> Get rid of the old configuration system and switch to 61 GNU autotools. 62 63</UL> 64 65<P><HR WIDTH=65% ALIGN=left> 66 67<!---------------------------------------------------------------------------> 68 69<A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A> 70 71<UL> 72 <li> libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF 73 markers as per bug 74 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=581" 75 http://bugzilla.remotesensing.org/show_bug.cgi?id=581</a>. 76 77 <li> libtiff/{tif_open.c, tiffio.h}: New function added: 78 TIFFIsBigEndian(). Function returns nonzero if given was file written 79 in big-endian order. 80 81 <li> libtiff/tif_print.c: added (untested) support for printing 82 SSHORT, SLONG and SRATIONAL fields. 83 84 <li> libtiff/tif_fax3.c: Avoid reading CCITT compression options 85 if compression type mismatches. See 86 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=565"> 87 http://bugzilla.remotesensing.org/show_bug.cgi?id=565</a>. 88 89 <li> libtiff/tif_strip.c: Never return 0 from the TIFFNumberOfStrips(). 90 91 <li> libtiff/tif_dirread.c: Workaround for broken TIFF writers which 92 store single SampleFormat value for multisampled images. See 93 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=562"> 94 http://bugzilla.remotesensing.org/show_bug.cgi?id=562</a>. 95 96 <li> libtiff/tif_write.c: Allow in-place updating of the compressed 97 images (don't work properly with all codecs). For details see GDAL bug 98 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=534"> 99 http://bugzilla.remotesensing.org/show_bug.cgi?id=534</a>. 100 101 <li> libtiff/tif_jpeg.c: Workaround for wrong sampling factors used 102 in the Intergarph JPEG compressed TIFF images as per bug: 103 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=532"> 104 http://bugzilla.remotesensing.org/show_bug.cgi?id=532</a>. 105 106 <li> libtiff/tif_open.c: Use dummy mmap/munmap functions in 107 TIFFClientOpen() when the appropriate client functions was not 108 supplied by user. 109 110 <li> libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED 111 tag type in TIFFFetchNormalTag() as per bug 112 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=508" 113 http://bugzilla.remotesensing.org/show_bug.cgi?id=508</a>. 114 115 <li> libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per: 116 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=494"> 117 http://bugzilla.remotesensing.org/show_bug.cgi?id=494</a>. 118 119 <li> libtiff/tif_fax3.c: Fixed problem, introdiced in 3.6.1 release, 120 with the CCITT encoding modes as per bug 121 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=483"> 122 http://bugzilla.remotesensing.org/show_bug.cgi?id=483</a>. 123 We need more work on fax codec to support update mode. 124 125 <li> libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS 126 and TIFFTAG_INDEXED as per bug 127 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=475"> 128 http://bugzilla.remotesensing.org/show_bug.cgi?id=475</a>. 129 130 <li> libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is 131 NULL before proceeding further as per bug 132 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=474"> 133 http://bugzilla.remotesensing.org/show_bug.cgi?id=474</a>. 134 Check results, returned by the TIFFFdOpen() before returning and close 135 file if TIFFFdOpen() failed as per bug 136 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=468"> 137 http://bugzilla.remotesensing.org/show_bug.cgi?id=468</a>. 138 139 <li> libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: 140 Separate TIFFCleanup() from the TIFFClose() in order to fix the bug 141 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=468"> 142 http://bugzilla.remotesensing.org/show_bug.cgi?id=468</a>. 143 144 <li> libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags 145 that are field_passcount=TRUE properly. Arguably anonymous custom 146 tags should be declared as passcount=FALSE, but I don't want to change 147 that without a careful review. 148 149 <li> libtiff/tif_write.c: Fixed reporting size of the buffer in case 150 of stripped image in TIFFWriteBufferSetup(). As per bug 151 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=460"> 152 http://bugzilla.remotesensing.org/show_bug.cgi?id=460</a>. 153 154 <li> libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(), 155 patch from Gerben Koopmans. 156 157 <li> libtiff/tif_dirread.c: Check field_passcount value before setting 158 the value of undefined type, patch from Gerben Koopmans. 159 160 <li> libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as 161 suggested by Jeremy C. Reed. 162 163 <li> libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when 164 the NULL pointer passed. Patch supplied by Larry Grill. 165 166</UL> 167 168<P><HR WIDTH=65% ALIGN=left> 169 170<!--------------------------------------------------------------------------> 171 172<A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A> 173 174<UL> 175 <li> ycbcr.c: fixed main() declaration as per: 176 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=513"> 177 http://bugzilla.remotesensing.org/show_bug.cgi?id=513</a>. 178 179 <li> <a href=./man/tiffsplit.1.html>tiffsplit</a>: Don't forget 180 to copy Photometric Interpretation tag. 181 182 <li> <a href=./man/tiffsplit.1.html>tiffsplit</a>: Fixed problem with 183 unproperly written multibyte files. Now output files will be written 184 using the same byte order flag as in the input image. See 185 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=574" 186 http://bugzilla.remotesensing.org/show_bug.cgi?id=574</a>. 187 188 <li> <a href=./man/tiffsplit.1.html>tiffsplit</a>: Copy JPEGTables 189 tag contents for JPEG compressed images. Reported by Artem Mirolubov. 190 191 <li> <a href=./man/tiffcp.1.html>tiffcp</a>: Close output file 192 on normal exit. 193 194 <li> <a href=./man/tiffcp.1.html>tiffcp</a>: Don't emit warnings 195 when Orientation tag does not present in the input image. 196 197 <li> <a href=./man/tiffcp.1.html>tiffcp</a>: Properly set 198 Photometric Interpretation in case of JPEG compression of grayscale 199 images. 200 201 <li> <a href=./man/tiffcp.1.html>tiffcp</a>: Fixed problem with wrong 202 interpretation of the InkNames tag as per bug 203 <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=466"> 204 http://bugzilla.remotesensing.org/show_bug.cgi?id=466</a>. 205 Memory leak fixed. 206 207 <li> <a href=./man/tiffcp.1.html>tiffcp</a>: Fixed problem with 208 wrong Photometric setting for non-RGB images. 209 210</UL> 211 212<P><HR WIDTH=65% ALIGN=left> 213 214<!---------------------------------------------------------------------------> 215 216<A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A> 217 218<UL> 219 220 <li> Outdated stuff removed. 221 222 <li> Almost all programs are sinchronized with the current libtiff 223 and should compile without problems. 224 225</UL> 226 227<!---------------------------------------------------------------------------> 228 229<A NAME="lzwkit"><B><FONT SIZE=+3>C</FONT>HANGES IN THE LZW COMPRESSION 230KIT:</B></A> 231<UL> 232 233<li> No changes. 234 235</UL> 236 237<A HREF="index.html"><IMG SRC="images/back.gif"></A> TIFF home page.<BR> 238 239<HR> 240 241Last updated $Date: 2004-06-04 15:32:40 $. 242 243</BODY> 244</HTML> 245