2
0

v3.9.0beta.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <HTML>
  2. <HEAD>
  3. <TITLE>
  4. Changes in TIFF v3.9.0beta
  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.9.0beta<BR>
  16. <B>Previous Version</B>: <A HREF=v3.8.2.html>v3.8.2</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> New <b>tiffcrop</b> utility contributed by Richard Nolde.
  42. <b>tiffcrop</b> does the same as <b>tiffcp</b>, but also can crop,
  43. extract, rotate and mirror images.
  44. <li> tif_jbig.c: Added support for JBIG compression scheme
  45. (34661 code), contributed by Lee Howard.
  46. <li> Totally new implementation of OJPEG module from
  47. Joris Van Damme. No need to patch libjpeg anymore. Many OJPEG files
  48. should be supported now that was not supported previously.
  49. </UL>
  50. <P><HR WIDTH=65% ALIGN=left>
  51. <!--------------------------------------------------------------------------->
  52. <A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A>
  53. <UL>
  54. <li> tif_config.wince.h, tiffconf.wince.h, tif_wince.c: WinCE-specific
  55. compatibility stuff from Mateusz Loskot.
  56. <li> Rename config.h.vc and tif_config.h.vc to config.vc.h and
  57. tif_config.vc.h for easier identification by folks using an IDE.
  58. <li> configure, configure.ac: OJPEG support enabled by default (i.e.,
  59. whe the conformant JPEG support enabled).
  60. <li> README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
  61. tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
  62. Added support for OpenVMS by Alexey Chupahin.
  63. <li> nmake.opt: use /EHsc for VS2005 compatibility. Also define
  64. _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
  65. </UL>
  66. <P><HR WIDTH=65% ALIGN=left>
  67. <!--------------------------------------------------------------------------->
  68. <A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A>
  69. <UL>
  70. <li> tif_dirinfo.c (_TIFFFindFieldInfo): Don't attempt to
  71. bsearch() on a NULL fieldinfo list.
  72. (_TIFFFindFieldInfoByName): Don't attempt to lfind() on a NULL
  73. fieldinfo list.
  74. <li> tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
  75. will convert from decompressor to compressor or compress to decompress
  76. if required by the force arguments. This works around a problem in
  77. where the JPEGFixupTestSubsampling() may cause a decompressor to
  78. be setup on a directory when later a compressor is required with the
  79. force flag set. Occurs with the addtiffo program for instance.
  80. <li> tif_dirwrite.c: Fixed swapping of byte arrays stored
  81. in-place in tag offsets as per bug
  82. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1363">
  83. http://bugzilla.remotesensing.org/show_bug.cgi?id=1363</a>
  84. <li> tif_getimage.c: workaround for 'Fractional scanline' error
  85. reading OJPEG images with rowsperstrip that is not a multiple of
  86. vertical subsampling factor. This bug is mentioned in
  87. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1390">
  88. http://bugzilla.remotesensing.org/show_bug.cgi?id=1390</a> and
  89. <a href="http://www.asmail.be/msg0054766825.html">
  90. http://www.asmail.be/msg0054766825.html</a>
  91. <li> tif_dirread.c: Added special function to handle
  92. SubjectDistance EXIF tag as per bug
  93. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1362">
  94. http://bugzilla.remotesensing.org/show_bug.cgi?id=1362</a>
  95. <li> tif_dirread.c, tif_read.c: Type of the byte counters
  96. changed from tsize_t to uint32 to be able to work with data arrays
  97. larger than 2GB. Fixes bug
  98. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=890">
  99. http://bugzilla.remotesensing.org/show_bug.cgi?id=89</a>
  100. Idea submitted by Matt Hancher.
  101. <li> tif_dir.c: Workaround for incorrect TIFFs with
  102. ExtraSamples == 999 produced by Corel Draw. As per bug
  103. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1490">
  104. http://bugzilla.remotesensing.org/show_bug.cgi?id=1490</a>
  105. <li> tif_write.c: TIFFAppendToStrip() - clear sorted flag if
  106. we move a strip.
  107. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1359">
  108. http://bugzilla.remotesensing.org/show_bug.cgi?id=1359</a>
  109. <li> tif_fax3.c: Save the state of printdir codec dependent method.
  110. <li> tif_jpeg.c: Save the state of printdir codec dependent method
  111. as per bug
  112. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1273">
  113. http://bugzilla.remotesensing.org/show_bug.cgi?id=1273</a>
  114. <li> tif_win32.c: Fixed problem with offset value manipulation
  115. as per bug
  116. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1322">
  117. http://bugzilla.remotesensing.org/show_bug.cgi?id=1322</a>
  118. <li> tif_fax3.c, tif_next.c, tif_pixarlog.c: Fixed multiple
  119. vulnerabilities, as per Gentoo bug ():
  120. <a href="http://bugs.gentoo.org/show_bug.cgi?id=142383">
  121. http://bugs.gentoo.org/show_bug.cgi?id=142383</a>
  122. <li> tif_lzw.c, tif_zip.c: Fixed problems with mixing
  123. encoding and decoding on the same read-write TIFF handle. The LZW
  124. code can now maintain encode and decode state at the same time. The
  125. ZIP code will switch back and forth as needed.
  126. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=757">
  127. http://bugzilla.remotesensing.org/show_bug.cgi?id=757</a>
  128. <li> tif_msdos.c: Avoid handle leak for failed opens.
  129. c/o Thierry Pierron
  130. <li> tif_dirwrite.c: take care not to flush out buffer of strip/tile
  131. data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates
  132. to bug report by Peng Gao with black strip at bottom of images.
  133. <li> tif_dirwrite.c: make sure to use uint32 for wordcount in
  134. TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
  135. It already seems to have been done for other field types. Needed
  136. for "tiffset" on files with geotiff ascii text.
  137. <li> tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
  138. <li> tif_dirread.c: Move IFD fetching code in the separate
  139. function TIFFFetchDirectory() avoiding code duplication in
  140. TIFFReadDirectory() and TIFFReadCustomDirectory().
  141. <li>tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
  142. files. Modified TIFFReadDirectory() to not invoke
  143. EstimateStripByteCounts() for case where entry 0 and 1 are unequal but
  144. one of them is zero.
  145. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1204">
  146. http://bugzilla.remotesensing.org/show_bug.cgi?id=1204</a>
  147. <li> tif_open.c, tif_dirread.c, tiffiop.h: Move IFD looping
  148. checking code in the separate function TIFFCheckDirOffset().
  149. <li> tif_aux.c: Added _TIFFCheckRealloc() function.
  150. <li> tif_fax3.c: Fixed problems in fax decoder as per bug
  151. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1194">
  152. http://bugzilla.remotesensing.org/show_bug.cgi?id=1194</a>
  153. <li> tif_jbig.c: Added support for JBIG compression scheme
  154. (34661 code) contributed by Lee Howard. As per bug
  155. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=896">
  156. http://bugzilla.remotesensing.org/show_bug.cgi?id=896</a>
  157. <li> tif_getimage.c: Added support for planarconfig separate
  158. non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]).
  159. <li> tif_getimage.c: Revision of all RGB(A) put routines:
  160. <ul>
  161. <li> Conversion of unassociated alpha to associated alpha
  162. now done with more performant LUT, and calculation more
  163. correct.
  164. <li> Conversion of 16bit data to 8bit data now done with
  165. more performant LUT, and calculation more correct
  166. <li> Bugfix of handling of 16bit RGB with unassociated alpha
  167. </ul>
  168. <li> tif_ojpeg.c: totally new implementation
  169. <li> tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
  170. of OJPEG images in favor of tif_getimage.c native handling of
  171. YCbCr and desubsampling.
  172. <li> tif_jpeg.c: JPEGVSetField() so that altering the photometric
  173. interpretation causes the "upsampled" flag to be recomputed. Fixes
  174. peculiar bug where photometric flag had to be set before jpegcolormode
  175. flag.
  176. </UL>
  177. <P><HR WIDTH=65% ALIGN=left>
  178. <!-------------------------------------------------------------------------->
  179. <A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A>
  180. <UL>
  181. <li> tiff2ps.c: Added support 16-bit images as per bug
  182. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1566">
  183. http://bugzilla.remotesensing.org/show_bug.cgi?id=1566</a>.
  184. Patch from William Bader.
  185. <li> tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
  186. significant upgrade of the whole utility as per bug
  187. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1560">
  188. http://bugzilla.remotesensing.org/show_bug.cgi?id=1560</a>.
  189. Now we don't need tiffiop.h in tiff2pdf anymore and will open output
  190. PDF file using TIFFClientOpen() machinery as it is implemented
  191. by Leon Bottou.
  192. <li> tiffcrop.c: New tiffcrop utility contributed
  193. by Richard Nolde. As per bug
  194. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1383">
  195. http://bugzilla.remotesensing.org/show_bug.cgi?id=1383</a>
  196. <li> tiff2pdf.c: Do not assume inches when the resolution units
  197. do not specified. As per bug
  198. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1366">
  199. http://bugzilla.remotesensing.org/show_bug.cgi?id=1366</a>
  200. <li> tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
  201. As per bug
  202. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1350">
  203. http://bugzilla.remotesensing.org/show_bug.cgi?id=1350</a>
  204. <li> tif2rgba.c: This utility does not work properly on big-endian
  205. architectures. It was fixed including the bug
  206. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1149">
  207. http://bugzilla.remotesensing.org/show_bug.cgi?id=1149</a>
  208. <li> tiff2pdf.c: Fix handling of -q values.
  209. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=587">
  210. http://bugzilla.remotesensing.org/show_bug.cgi?id=587</a>
  211. <li> tiffcmp.c: Fixed floating point comparison logic as per bug
  212. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1191">
  213. http://bugzilla.remotesensing.org/show_bug.cgi?id=1191</a>
  214. <li> tiff2pdf.c: Fixed buffer overflow condition in
  215. t2p_write_pdf_string() as per bug
  216. <a href="http://bugzilla.remotesensing.org/show_bug.cgi?id=1196">
  217. http://bugzilla.remotesensing.org/show_bug.cgi?id=1196</a>
  218. </UL>
  219. <P><HR WIDTH=65% ALIGN=left>
  220. <!--------------------------------------------------------------------------->
  221. <A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A>
  222. <UL>
  223. <li> contrib/addtiffo/tif_overview.c: Fix problems with odd sized
  224. output blocks in TIFF_DownSample_Subsampled() (bug 1542).
  225. <li> contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
  226. Though it is still far from the state of being working and useful.
  227. </UL>
  228. Last updated $Date: 2009-08-20 22:57:39 $.
  229. </BODY>
  230. </HTML>