kusano 7d535a
kusano 7d535a
kusano 7d535a
<title></title>
kusano 7d535a
Changes in TIFF v3.5.7
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
<font face="Helvetica, Arial, Sans"></font>
kusano 7d535a
<font face="Helvetica, Arial, Sans"> </font>
kusano 7d535a
kusano 7d535a
<basefont size="4"></basefont>
kusano 7d535a
<font size="+3">T</font>IFF <font size="+2">C</font>HANGE <font size="+2">I</font>NFORMATION
kusano 7d535a
<basefont size="3"></basefont>
kusano 7d535a
kusano 7d535a
    kusano 7d535a

    kusano 7d535a
    Current Version: v3.5.7
    kusano 7d535a
    Previous Version: v3.5.6 Beta
    kusano 7d535a
    Master FTP Site: ftp.remotesensing.org, directory pub/libtiff
    kusano 7d535a
    Master HTTP Site: http://www.remotesensing.org/libtiff 
    kusano 7d535a

    kusano 7d535a
    kusano 7d535a
    kusano 7d535a

    kusano 7d535a
    This document describes the changes made to the software between the
    kusano 7d535a
    previous and current versions (see above).
    kusano 7d535a
    If you don't find something listed here, then it was not done in this
    kusano 7d535a
    timeframe, or it was not considered important enough to be mentioned.
    kusano 7d535a
    The following information is located here:
    kusano 7d535a
      kusano 7d535a
    • Changes in the software configuration
    • kusano 7d535a
    • Changes in libtiff
    • kusano 7d535a
    • Changes in the tools
    • kusano 7d535a
    • Changes in the LZW compression kit
    • kusano 7d535a
      kusano 7d535a

      kusano 7d535a


      kusano 7d535a
      kusano 7d535a
      kusano 7d535a
      kusano 7d535a
      <font size="+3">C</font>HANGES IN THE SOFTWARE CONFIGURATION:
      kusano 7d535a
      kusano 7d535a
        kusano 7d535a
      • libtiff/libtiff.def: Brent Roman submitted new version adding
      • kusano 7d535a
        serveral missing entry points.  Also add a few other entry points 
        kusano 7d535a
        later.
        kusano 7d535a
        kusano 7d535a
      • configure, Makefile.in, etc: added support for OPTIMIZER being
      • kusano 7d535a
        	set from config.site. 
        kusano 7d535a
      • config.guess: updated wholesale to an FSF version apparently
      • kusano 7d535a
        	from 1998 (as opposed to 1994).  This is mainly inspired by 
        kusano 7d535a
        	providing for MacOS X support.
        kusano 7d535a
        kusano 7d535a
      • configure/config.site: modified to check if -lm is needed for
      • kusano 7d535a
        	MACHDEPLIBS if not supplied by config.site.  Needed for Darwin.
        kusano 7d535a
      • libtiff/tiff.h: Applied hac to try and resolve the problem
      • kusano 7d535a
        	with the inttypes.h include file on AIX. (Bug 39)
        kusano 7d535a
        kusano 7d535a
      • configure, *Makefile.in: Various changes to improve configuration
      • kusano 7d535a
        	for HP/UX specifically, and also in general.  (Bug 40) They include:
        kusano 7d535a
          kusano 7d535a
           
        • Try to handle /usr/bin/sh instead of /bin/sh where necessary.
        • kusano 7d535a
           
        • Upgrade to HP/UX 10.x+ compiler, linker and dso options.
        • kusano 7d535a
           
        • Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
        • kusano 7d535a
           
        • Use -${MAKEFLAGS} in sub makes from makefiles.
        • kusano 7d535a
           
        • Fixed SCRIPT_SH/SHELL handling.
        • kusano 7d535a
          kusano 7d535a
        • configure: Changes for DSO generation on AIX provided by
        • kusano 7d535a
          	John Marquart <jomarqua@indiana.edu>.</jomarqua@indiana.edu>
          kusano 7d535a
          kusano 7d535a
        • configure, libtiff/Makefile.in: Modified to build DSOs properly
        • kusano 7d535a
          	on Darwin thanks to Robert Krajewski (rpk@alum.mit.edu) and
          kusano 7d535a
          	Keisuke Fujii (fujiik@jlcuxf.kek.jp).
          kusano 7d535a
          kusano 7d535a
        • configure, libtiff/Makefile.in: applied OpenBSD patches as per bug 61.
        • kusano 7d535a
          kusano 7d535a
        • Makefile.in: added DESTDIR support as per bug 60.
        • kusano 7d535a
          kusano 7d535a
        • libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
        • kusano 7d535a
          	has been included.
          kusano 7d535a
        • man/Makefile.in: add TIFFClientOpen link as per debian submitted
        • kusano 7d535a
          	bug 66.
          kusano 7d535a
        • libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
        • kusano 7d535a
          	in two places.
          kusano 7d535a
          kusano 7d535a
          kusano 7d535a


          kusano 7d535a
          kusano 7d535a
          kusano 7d535a
          kusano 7d535a
          <font size="+3">C</font>HANGES IN LIBTIFF:
          kusano 7d535a
          kusano 7d535a
          kusano 7d535a
          kusano 7d535a
        • tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
        • kusano 7d535a
          	whether we are encoding or decoding.  This is to ensure graceful 
          kusano 7d535a
          	recovery if TIFFClientOpen() discovers an attempt to open a compressed
          kusano 7d535a
          	file for "r+" access, and subsequently close it, as it resets the 
          kusano 7d535a
          	tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
          kusano 7d535a
          	compressor's concept of whether it is in encode or decode mode.
          kusano 7d535a
        • tif_luv.c/tiff.h/tiffio.h:
        • kusano 7d535a
          	New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward 
          kusano 7d535a
          	(greg@shutterfly.com).  He writes:
          kusano 7d535a
          kusano 7d535a
            kusano 7d535a
            	
          1. I improved the gamut-mapping function in tif_luv.c for imaginary
          2. kusano 7d535a
            	colors, because some images were being super-saturated on the input 
            kusano 7d535a
            	side and this resulted in some strange color shifts in the output.
            kusano 7d535a
            kusano 7d535a
            	
          3. I added a psuedotag in tiff.h to control random dithering during
          4. kusano 7d535a
            	LogLuv encoding.  This is turned off by default for 32-bit LogLuv and 
            kusano 7d535a
            	on for 24-bit LogLuv output.  Dithering improves the average color 
            kusano 7d535a
            	accuracy over the image.
            kusano 7d535a
            kusano 7d535a
            	
          5. I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
          6. kusano 7d535a
            	tiffio.h, to expose internal routines for converting between LogLuv and
            kusano 7d535a
            	XYZ coordinates.  This is helpful for writing more efficient,
            kusano 7d535a
            	specialized conversion routines, especially for reading LogLuv files.
            kusano 7d535a
            kusano 7d535a
            kusano 7d535a
          7. libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
          8. kusano 7d535a
            kusano 7d535a
          9. Added TIFFTAG_COPYRIGHT support.
          10. kusano 7d535a
          11. tif_getimage.c: Added support for 16bit minisblack/miniswhite
          12. kusano 7d535a
            	images in RGBA interface.
            kusano 7d535a
          13. libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
          14. kusano 7d535a
            	bug 44.
            kusano 7d535a
          15. libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
          16. kusano 7d535a
            	case of writing TIFF_BYTE/TIFF_SBYTE fields as per bug 43.
            kusano 7d535a
            kusano 7d535a
          17. libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
          18. kusano 7d535a
            	TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
            kusano 7d535a
            	force use of uint32 counts instead of short counts. 
            kusano 7d535a
            kusano 7d535a
          19. libtiff/tif_dirinfo.c: moved pixar and copyright flags to
          20. kusano 7d535a
            	ensure everything is in order.
            kusano 7d535a
            kusano 7d535a
          21. Integrated experimental OJPEG support from Scott Marovich of HP.
          22. kusano 7d535a
            kusano 7d535a
          23. libtiff/tif_open.c: Seek back to zero after failed read,
          24. kusano 7d535a
            	before writing header.
            kusano 7d535a
            kusano 7d535a
          25. libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
          26. kusano 7d535a
            	when checking for 64 bit architectures as per bugzilla bug 67.
            kusano 7d535a
          27. libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
          28. kusano 7d535a
            	in TIFFReadRGBATile() to avoid issues in cases of overlapping
            kusano 7d535a
            	buffers.  See Bug 69 in Bugzilla. 
            kusano 7d535a
          29. libtiff/tif_getimage.c: Don't complain for CMYK (separated)
          30. kusano 7d535a
            	images with more than four samples per pixel as per bug 73.
            kusano 7d535a
            kusano 7d535a
          31. libtiff/tif_getimage.c: relax handling of contig case where
          32. kusano 7d535a
            there are extra samples that are supposed to be ignored as per bug 75.  This
            kusano 7d535a
            should now work for 8bit greyscale or palletted images.  
            kusano 7d535a
            kusano 7d535a
          33. libtiff/tif_packbits.c: fixed memory overrun error as per bug 77.
          34. kusano 7d535a
            kusano 7d535a
          35. libtiff/tif_getimage.c: Fixed problem with reading strips or
          36. kusano 7d535a
            tiles that don't start on a tile boundary.  Fix contributed by
            kusano 7d535a
            Josep Vallverdu (from HP), and further described in bug 47.
            kusano 7d535a
            kusano 7d535a
          37. libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
          38. kusano 7d535a
            	always use the "safe" version, even if there is a very slight
            kusano 7d535a
            	cost in performance as per bug 54.
            kusano 7d535a
          39. libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
          40. kusano 7d535a
            	error about LZW not being available.
            kusano 7d535a
            kusano 7d535a
          41. libtiff/tif_dir.c: propagate failure to initialize compression
          42. kusano 7d535a
            	back from TIFFSetField() as an error status, so applications can 
            kusano 7d535a
            	detect failure.
            kusano 7d535a
            kusano 7d535a
          43. libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug as per bug 78.
          44. kusano 7d535a
            kusano 7d535a
          45. libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
          46. kusano 7d535a
            Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
            kusano 7d535a
            kusano 7d535a
          47. libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
          48. kusano 7d535a
            	COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases 
            kusano 7d535a
            	in keeping with TIFF 6.0 standard in tiff.h as per bug 83.
            kusano 7d535a
            kusano 7d535a
          49. Added PHOTOMETRIC_ITULAB as per bug 90.
          50. kusano 7d535a
            kusano 7d535a
            kusano 7d535a
            kusano 7d535a


            kusano 7d535a
            kusano 7d535a
            kusano 7d535a
            kusano 7d535a
            <font size="+3">C</font>HANGES IN THE TOOLS:
            kusano 7d535a
            kusano 7d535a
              kusano 7d535a
            • Brent Roman contributed updated tiffcp utility (and tiffcp.1)
            • kusano 7d535a
              	with support for extracting subimages with the ,n syntax, and also
              kusano 7d535a
              	adding the -b bias removal flag. 
              kusano 7d535a
            • tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
            • kusano 7d535a
              	Bruce A. Mallett, including a faster encoder, fixes for level
              kusano 7d535a
              	2 PostScript, and support for the imagemask operator.
              kusano 7d535a
            • fax2ps.c: Helge (libtiff at oldach.net) submitted fix
            • kusano 7d535a
              that corrects behaviour for non-Letter paper
              kusano 7d535a
              sizes. (Bug 35) It fixes two problems:
              kusano 7d535a

              kusano 7d535a
              	Without	scaling (-S) the fax is now centered on the page size specified
              kusano 7d535a
              	with -H	and/or -W. Before, fax2ps was using an obscure and practially
              kusano 7d535a
              	useless algorithm to allocate the image relative to Letter sized paper
              kusano 7d535a
              	which sometime sled to useless whitespace on the paper, while at the
              kusano 7d535a
              	same time cutting of the faxes printable area at the opposite border.
              kusano 7d535a

              kusano 7d535a
              kusano 7d535a
              	Second, scaling now preserves aspect ratio, which makes unusual faxes
              kusano 7d535a
              	(in particular short ones) print properly.
              kusano 7d535a
              kusano 7d535a
            • thumbnail.c: changed default output compression
            • kusano 7d535a
              	to packbits from LZW since LZW isn't generally available.
              kusano 7d535a
            • tiff2rgba.c: added -n flag to avoid emitting alpha component. Also added
            • kusano 7d535a
              a man page for tiff2rgba.
              kusano 7d535a
              kusano 7d535a
            • tiffcmp.c: Fixed multi samples per pixel support for ContigCompare
            • kusano 7d535a
              as per bug 53.
              kusano 7d535a
              Updated bug section of tiffcmp.1 to note tiled file issues.
              kusano 7d535a
              kusano 7d535a
            • libtiff/tif_getimage.c: Fixed so that failure is properly
            • kusano 7d535a
              	reported by gtTileContig, gtStripContig, gtTileSeparate and 
              kusano 7d535a
              	gtStripSeparate as per bug 51.
              kusano 7d535a
              kusano 7d535a
              kusano 7d535a
              kusano 7d535a
              kusano 7d535a


              kusano 7d535a
              kusano 7d535a
              kusano 7d535a
              kusano 7d535a
              <font size="+3">C</font>HANGES IN THE LZW COMPRESSION KIT:
              kusano 7d535a
              kusano 7d535a
              	
            • Rewrote lzw patching process so that is required to enable full
            • kusano 7d535a
              	LZW support is to drop the tif_lzw.c from the 
              kusano 7d535a
              	libtiff-lzw-compression-kit over the one in the libtiff directory. 
              kusano 7d535a
              kusano 7d535a
              	
            • Some changes were made to make recovery from failure to
            • kusano 7d535a
              	initialize the LZW compressor more graceful.
              kusano 7d535a
              kusano 7d535a
              	
            • Note that as distributed libtiff support LZW decompression, but
            • kusano 7d535a
                      not LZW compression. 
              kusano 7d535a
              kusano 7d535a
              kusano 7d535a
              kusano 7d535a
              kusano 7d535a
              <font size="+3">C</font>HANGES IN THE CONTRIB AREA:
              kusano 7d535a
              kusano 7d535a
            • Fixed distribution to include contrib/addtiffo/tif_ovrcache.{c,h}.
            • kusano 7d535a
              kusano 7d535a
              kusano 7d535a
               TIFF home page.
              kusano 7d535a
              kusano 7d535a

              kusano 7d535a
              kusano 7d535a
              Last updated $Date: 2004/11/26 14:37:20 $.
              kusano 7d535a
              kusano 7d535a
              kusano 7d535a