v3.8.0.html 6.7 KB

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