v3.7.1.html 8.0 KB

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