v3.8.0.html 6.7 KB

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