2
0

v3.5.7.html 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <HTML>
  2. <HEAD>
  3. <TITLE>
  4. Changes in TIFF v3.5.7
  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.5.7<BR>
  16. <B>Previous Version</B>: <A HREF=v3.5.6-beta.html>v3.5.6 Beta</a><BR>
  17. <B>Master FTP Site</B>: <A HREF="ftp://ftp.remotesensing.org/pub/libtiff">ftp.remotesensing.org</a>, directory pub/libtiff</A><BR>
  18. <B>Master HTTP Site</B>: <A HREF="http://www.remotesensing.org/libtiff/">http://www.remotesensing.org/libtiff</a>
  19. <HR SIZE=4 WIDTH=65% ALIGN=left>
  20. </UL>
  21. <P>
  22. This document describes the changes made to the software between the
  23. <I>previous</I> and <I>current</I> versions (see above).
  24. If you don't find something listed here, then it was not done in this
  25. timeframe, or it was not considered important enough to be mentioned.
  26. The following information is located here:
  27. <UL>
  28. <LI><A HREF="#configure">Changes in the software configuration</A>
  29. <LI><A HREF="#libtiff">Changes in libtiff</A>
  30. <LI><A HREF="#tools">Changes in the tools</A>
  31. <LI><A HREF="#lzwkit">Changes in the LZW compression kit</A>
  32. </UL>
  33. <p>
  34. <P><HR WIDTH=65% ALIGN=left>
  35. <!--------------------------------------------------------------------------->
  36. <A NAME="configure"><B><FONT SIZE=+3>C</FONT>HANGES IN THE SOFTWARE CONFIGURATION:</B></A>
  37. <UL>
  38. <li> libtiff/libtiff.def: Brent Roman submitted new version adding
  39. serveral missing entry points. Also add a few other entry points
  40. later.
  41. <li> configure, Makefile.in, etc: added support for OPTIMIZER being
  42. set from config.site.
  43. <li> config.guess: updated wholesale to an FSF version apparently
  44. from 1998 (as opposed to 1994). This is mainly inspired by
  45. providing for MacOS X support.
  46. <li> configure/config.site: modified to check if -lm is needed for
  47. MACHDEPLIBS if not supplied by config.site. Needed for Darwin.
  48. <li> libtiff/tiff.h: Applied hac to try and resolve the problem
  49. with the inttypes.h include file on AIX. (Bug 39)
  50. <li> configure, *Makefile.in: Various changes to improve configuration
  51. for HP/UX specifically, and also in general. (Bug 40) They include:
  52. <ul>
  53. <li> Try to handle /usr/bin/sh instead of /bin/sh where necessary.
  54. <li> Upgrade to HP/UX 10.x+ compiler, linker and dso options.
  55. <li> Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
  56. <li> Use -${MAKEFLAGS} in sub makes from makefiles.
  57. <li> Fixed SCRIPT_SH/SHELL handling.
  58. </ul>
  59. <li> configure: Changes for DSO generation on AIX provided by
  60. John Marquart <jomarqua@indiana.edu>.
  61. <li> configure, libtiff/Makefile.in: Modified to build DSOs properly
  62. on Darwin thanks to Robert Krajewski (rpk@alum.mit.edu) and
  63. Keisuke Fujii (fujiik@jlcuxf.kek.jp).
  64. <li> configure, libtiff/Makefile.in: applied OpenBSD patches as per bug 61.
  65. <li> Makefile.in: added DESTDIR support as per bug 60.
  66. <li> libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
  67. has been included.
  68. <li> man/Makefile.in: add TIFFClientOpen link as per debian submitted
  69. bug 66.
  70. <li> libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
  71. in two places.
  72. </UL>
  73. <P><HR WIDTH=65% ALIGN=left>
  74. <!--------------------------------------------------------------------------->
  75. <A NAME="libtiff"><B><FONT SIZE=+3>C</FONT>HANGES IN LIBTIFF:</B></A>
  76. <UL>
  77. <li> tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
  78. whether we are encoding or decoding. This is to ensure graceful
  79. recovery if TIFFClientOpen() discovers an attempt to open a compressed
  80. file for "r+" access, and subsequently close it, as it resets the
  81. tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
  82. compressor's concept of whether it is in encode or decode mode.
  83. <li> tif_luv.c/tiff.h/tiffio.h:
  84. New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
  85. (greg@shutterfly.com). He writes:
  86. <ol>
  87. <li> I improved the gamut-mapping function in tif_luv.c for imaginary
  88. colors, because some images were being super-saturated on the input
  89. side and this resulted in some strange color shifts in the output.
  90. <li> I added a psuedotag in tiff.h to control random dithering during
  91. LogLuv encoding. This is turned off by default for 32-bit LogLuv and
  92. on for 24-bit LogLuv output. Dithering improves the average color
  93. accuracy over the image.
  94. <li> I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
  95. tiffio.h, to expose internal routines for converting between LogLuv and
  96. XYZ coordinates. This is helpful for writing more efficient,
  97. specialized conversion routines, especially for reading LogLuv files.
  98. </ol>
  99. <li> libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
  100. <li> Added TIFFTAG_COPYRIGHT support.
  101. <li> tif_getimage.c: Added support for 16bit minisblack/miniswhite
  102. images in RGBA interface.
  103. <li> libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
  104. bug 44.
  105. <li> libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
  106. case of writing TIFF_BYTE/TIFF_SBYTE fields as per bug 43.
  107. <li> libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
  108. TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
  109. force use of uint32 counts instead of short counts.
  110. <li> libtiff/tif_dirinfo.c: moved pixar and copyright flags to
  111. ensure everything is in order.
  112. <li> Integrated experimental OJPEG support from Scott Marovich of HP.
  113. <li> libtiff/tif_open.c: Seek back to zero after failed read,
  114. before writing header.
  115. <li> libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
  116. when checking for 64 bit architectures as per bugzilla bug 67.
  117. <li> libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
  118. in TIFFReadRGBATile() to avoid issues in cases of overlapping
  119. buffers. See Bug 69 in Bugzilla.
  120. <li> libtiff/tif_getimage.c: Don't complain for CMYK (separated)
  121. images with more than four samples per pixel as per bug 73.
  122. <li> libtiff/tif_getimage.c: relax handling of contig case where
  123. there are extra samples that are supposed to be ignored as per bug 75. This
  124. should now work for 8bit greyscale or palletted images.
  125. <li> libtiff/tif_packbits.c: fixed memory overrun error as per bug 77.
  126. <li> libtiff/tif_getimage.c: Fixed problem with reading strips or
  127. tiles that don't start on a tile boundary. Fix contributed by
  128. Josep Vallverdu (from HP), and further described in bug 47.
  129. <li> libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
  130. always use the "safe" version, even if there is a very slight
  131. cost in performance as per bug 54.
  132. <li> libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
  133. error about LZW not being available.
  134. <li> libtiff/tif_dir.c: propagate failure to initialize compression
  135. back from TIFFSetField() as an error status, so applications can
  136. detect failure.
  137. <li> libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug as per bug 78.
  138. <li> libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
  139. Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
  140. <li> libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
  141. COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
  142. in keeping with TIFF 6.0 standard in tiff.h as per bug 83.
  143. <li> Added PHOTOMETRIC_ITULAB as per bug 90.
  144. </UL>
  145. <P><HR WIDTH=65% ALIGN=left>
  146. <!-------------------------------------------------------------------------->
  147. <A NAME="tools"><B><FONT SIZE=+3>C</FONT>HANGES IN THE TOOLS:</B></A>
  148. <UL>
  149. <li> Brent Roman contributed updated tiffcp utility (and tiffcp.1)
  150. with support for extracting subimages with the ,n syntax, and also
  151. adding the -b bias removal flag.
  152. <li> tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
  153. Bruce A. Mallett, including a faster encoder, fixes for level
  154. 2 PostScript, and support for the imagemask operator.
  155. <li> fax2ps.c: Helge (libtiff at oldach.net) submitted fix
  156. that corrects behaviour for non-Letter paper
  157. sizes. (Bug 35) It fixes two problems:
  158. <br>
  159. Without scaling (-S) the fax is now centered on the page size specified
  160. with -H and/or -W. Before, fax2ps was using an obscure and practially
  161. useless algorithm to allocate the image relative to Letter sized paper
  162. which sometime sled to useless whitespace on the paper, while at the
  163. same time cutting of the faxes printable area at the opposite border.
  164. <br>
  165. Second, scaling now preserves aspect ratio, which makes unusual faxes
  166. (in particular short ones) print properly.
  167. <li> thumbnail.c: changed default output compression
  168. to packbits from LZW since LZW isn't generally available.
  169. <li> tiff2rgba.c: added -n flag to avoid emitting alpha component. Also added
  170. a man page for tiff2rgba.
  171. <li> tiffcmp.c: Fixed multi samples per pixel support for ContigCompare
  172. as per bug 53.
  173. Updated bug section of tiffcmp.1 to note tiled file issues.
  174. <li> libtiff/tif_getimage.c: Fixed so that failure is properly
  175. reported by gtTileContig, gtStripContig, gtTileSeparate and
  176. gtStripSeparate as per bug 51.
  177. </UL>
  178. <P><HR WIDTH=65% ALIGN=left>
  179. <!--------------------------------------------------------------------------->
  180. <A NAME="lzwkit"><B><FONT SIZE=+3>C</FONT>HANGES IN THE LZW COMPRESSION KIT:</B></A>
  181. <UL>
  182. <LI> Rewrote lzw patching process so that is required to enable full
  183. LZW support is to drop the tif_lzw.c from the
  184. libtiff-lzw-compression-kit over the one in the libtiff directory.
  185. <LI> Some changes were made to make recovery from failure to
  186. initialize the LZW compressor more graceful.
  187. <LI> Note that as distributed libtiff support LZW decompression, but
  188. not LZW compression.
  189. </UL>
  190. <!--------------------------------------------------------------------------->
  191. <A NAME="contrib"><B><FONT SIZE=+3>C</FONT>HANGES IN THE CONTRIB AREA:</B></A>
  192. <UL>
  193. <li> Fixed distribution to include contrib/addtiffo/tif_ovrcache.{c,h}.
  194. </UL>
  195. <A HREF="index.html"><IMG SRC="images/back.gif"></A> TIFF home page.<BR>
  196. <HR>
  197. Last updated $Date: 2004-11-26 14:37:20 $.
  198. </BODY>
  199. </HTML>