kusano 7d535a
kusano 7d535a
kusano 7d535a
<title></title>
kusano 7d535a
	Changes in TIFF v3.9.0beta
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.9.0beta
    kusano 7d535a
    Previous Version: v3.8.2
    kusano 7d535a
    Master FTP Site: 
    kusano 7d535a
    ftp.remotesensing.org, directory pub/libtiff
    kusano 7d535a
    Master HTTP Site: 
    kusano 7d535a
    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
    • Major Changes
    • kusano 7d535a
    • Changes in the software configuration
    • kusano 7d535a
    • Changes in libtiff
    • kusano 7d535a
    • Changes in the tools
    • kusano 7d535a
    • Changes in the contrib area
    • kusano 7d535a
      kusano 7d535a

      kusano 7d535a


      kusano 7d535a
      kusano 7d535a
      kusano 7d535a
      kusano 7d535a
      <font size="+3">M</font>AJOR CHANGES:
      kusano 7d535a
      kusano 7d535a
        kusano 7d535a
        	
      • New tiffcrop utility contributed by Richard Nolde.
      • kusano 7d535a
        	tiffcrop does the same as tiffcp, but also can crop,
        kusano 7d535a
        	extract, rotate and mirror images.
        kusano 7d535a
        kusano 7d535a
        	
      • tif_jbig.c: Added support for JBIG compression scheme
      • kusano 7d535a
        	(34661 code), contributed by Lee Howard.
        kusano 7d535a
        kusano 7d535a
        	
      • Totally new implementation of OJPEG module from
      • kusano 7d535a
        	Joris Van Damme. No need to patch libjpeg anymore. Many OJPEG files
        kusano 7d535a
        	should be supported now that was not supported previously.
        kusano 7d535a
        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
          kusano 7d535a
          	
        • tif_config.wince.h, tiffconf.wince.h, tif_wince.c: WinCE-specific
        • kusano 7d535a
          	compatibility stuff from Mateusz Loskot.
          kusano 7d535a
          kusano 7d535a
          	
        • Rename config.h.vc and tif_config.h.vc to config.vc.h and
        • kusano 7d535a
          	tif_config.vc.h for easier identification by folks using an IDE.
          kusano 7d535a
          kusano 7d535a
          	
        • configure, configure.ac: OJPEG support enabled by default (i.e.,
        • kusano 7d535a
          	whe the conformant JPEG support enabled).
          kusano 7d535a
          kusano 7d535a
          	
        • README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
        • kusano 7d535a
          	tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
          kusano 7d535a
          	Added support for OpenVMS by Alexey Chupahin.
          kusano 7d535a
          kusano 7d535a
          	
        • nmake.opt: use /EHsc for VS2005 compatibility. Also define
        • kusano 7d535a
          	_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
          kusano 7d535a
          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
            	
          • tif_dirinfo.c (_TIFFFindFieldInfo): Don't attempt to
          • kusano 7d535a
            	bsearch() on a NULL fieldinfo list.
            kusano 7d535a
            	(_TIFFFindFieldInfoByName): Don't attempt to lfind() on a NULL
            kusano 7d535a
            	fieldinfo list.
            kusano 7d535a
            kusano 7d535a
            	
          • tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
          • kusano 7d535a
            	will convert from decompressor to compressor or compress to decompress
            kusano 7d535a
            	if required by the force arguments.  This works around a problem in
            kusano 7d535a
            	where the JPEGFixupTestSubsampling() may cause a decompressor to 
            kusano 7d535a
            	be setup on a directory when later a compressor is required with the
            kusano 7d535a
            	force flag set.  Occurs with the addtiffo program for instance.
            kusano 7d535a
            kusano 7d535a
            	
          • tif_dirwrite.c: Fixed swapping of byte arrays stored
          • kusano 7d535a
            	in-place in tag offsets as per bug
            kusano 7d535a
            	
            kusano 7d535a
            	http://bugzilla.remotesensing.org/show_bug.cgi?id=1363
            kusano 7d535a
            kusano 7d535a
            	
          • tif_getimage.c: workaround for 'Fractional scanline' error
          • kusano 7d535a
            	reading OJPEG images with rowsperstrip that is not a multiple of
            kusano 7d535a
            	vertical subsampling factor. This bug is mentioned in
            kusano 7d535a
            	
            kusano 7d535a
            	http://bugzilla.remotesensing.org/show_bug.cgi?id=1390 and
            kusano 7d535a
            	
            kusano 7d535a
            	http://www.asmail.be/msg0054766825.html
            kusano 7d535a
            kusano 7d535a
            	
          • tif_dirread.c: Added special function to handle
          • kusano 7d535a
            	SubjectDistance EXIF tag as per bug
            kusano 7d535a
            	
            kusano 7d535a
            	http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
            kusano 7d535a
            kusano 7d535a
            	
          • tif_dirread.c, tif_read.c: Type of the byte counters
          • kusano 7d535a
            	changed from tsize_t to uint32 to be able to work with data arrays
            kusano 7d535a
            	larger than 2GB. Fixes bug
            kusano 7d535a
            	
            kusano 7d535a
            	http://bugzilla.remotesensing.org/show_bug.cgi?id=89	
            kusano 7d535a
            	Idea submitted by Matt Hancher.
            kusano 7d535a
            kusano 7d535a
            	
          • tif_dir.c: Workaround for incorrect TIFFs with
          • kusano 7d535a
            	ExtraSamples == 999 produced by Corel Draw. As per bug
            kusano 7d535a
            	
            kusano 7d535a
            	http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
            kusano 7d535a
            kusano 7d535a
            	
          • tif_write.c: TIFFAppendToStrip() - clear sorted flag if
          • kusano 7d535a
            	we move a strip.
            kusano 7d535a
            	
            kusano 7d535a
            		http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
            kusano 7d535a
            kusano 7d535a
            	
          • tif_fax3.c: Save the state of printdir codec dependent method.
          • kusano 7d535a
            kusano 7d535a
            	
          • tif_jpeg.c: Save the state of printdir codec dependent method
          • kusano 7d535a
            	as per bug
            kusano 7d535a
            	
            kusano 7d535a
            		http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
            kusano 7d535a
            kusano 7d535a
            	
          • tif_win32.c: Fixed problem with offset value manipulation
          • kusano 7d535a
            	as per bug
            kusano 7d535a
            	
            kusano 7d535a
            		http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
            kusano 7d535a
            kusano 7d535a
            	
          • tif_fax3.c, tif_next.c, tif_pixarlog.c: Fixed multiple
          • kusano 7d535a
            	vulnerabilities, as per	Gentoo bug ():
            kusano 7d535a
            	
            kusano 7d535a
            	http://bugs.gentoo.org/show_bug.cgi?id=142383
            kusano 7d535a
            kusano 7d535a
            	
          • tif_lzw.c, tif_zip.c: Fixed problems with mixing
          • kusano 7d535a
            	encoding and decoding on the same read-write TIFF handle.  The LZW
            kusano 7d535a
            	code can now maintain encode and decode state at the same time. The
            kusano 7d535a
            	ZIP code will switch back and forth as needed.  
            kusano 7d535a
            	
            kusano 7d535a
            	http://bugzilla.remotesensing.org/show_bug.cgi?id=757
            kusano 7d535a
            kusano 7d535a
            	
          • tif_msdos.c: Avoid handle leak for failed opens.
          • kusano 7d535a
            	c/o Thierry Pierron
            kusano 7d535a
            kusano 7d535a
            	
          • tif_dirwrite.c: take care not to flush out buffer of strip/tile
          • kusano 7d535a
            	data in _TIFFWriteDirectory if TIFF_BEENWRITING not set.  Relates
            kusano 7d535a
            	to bug report by Peng Gao with black strip at bottom of images.
            kusano 7d535a
            kusano 7d535a
            	
          • tif_dirwrite.c: make sure to use uint32 for wordcount in
          • kusano 7d535a
            	TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
            kusano 7d535a
            	It already seems to have been done for other field types.  Needed
            kusano 7d535a
            	for "tiffset" on files with geotiff ascii text.
            kusano 7d535a
            kusano 7d535a
            	
          • tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
          • kusano 7d535a
            kusano 7d535a
            	
          • tif_dirread.c: Move IFD fetching code in the separate
          • kusano 7d535a
            	function TIFFFetchDirectory() avoiding code duplication in
            kusano 7d535a
            	TIFFReadDirectory() and TIFFReadCustomDirectory().
            kusano 7d535a
            kusano 7d535a
            	
          • tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
          • kusano 7d535a
            	files.  Modified TIFFReadDirectory() to not invoke
            kusano 7d535a
            	EstimateStripByteCounts() for case where entry 0 and 1 are unequal but
            kusano 7d535a
            	one of them is zero.
            kusano 7d535a
            	
            kusano 7d535a
            	http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
            kusano 7d535a
            kusano 7d535a
            	
          • tif_open.c, tif_dirread.c, tiffiop.h: Move IFD looping
          • kusano 7d535a
            	checking code in the separate function TIFFCheckDirOffset().
            kusano 7d535a
            kusano 7d535a
            	
          • tif_aux.c: Added _TIFFCheckRealloc() function.
          • kusano 7d535a
            kusano 7d535a
            	
          • tif_fax3.c: Fixed problems in fax decoder as per bug
          • kusano 7d535a
            	
            kusano 7d535a
            	http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
            kusano 7d535a
            kusano 7d535a
            	
          • tif_jbig.c: Added support for JBIG compression scheme
          • kusano 7d535a
            	(34661 code) contributed by Lee Howard. As per bug
            kusano 7d535a
            	
            kusano 7d535a
            		http://bugzilla.remotesensing.org/show_bug.cgi?id=896
            kusano 7d535a
            kusano 7d535a
            	
          • tif_getimage.c: Added support for planarconfig separate
          • kusano 7d535a
            	non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1]).
            kusano 7d535a
            kusano 7d535a
            	
          • tif_getimage.c: Revision of all RGB(A) put routines:
          • kusano 7d535a
            	
              kusano 7d535a
              		
            • Conversion of unassociated alpha to associated alpha
            • kusano 7d535a
              		now done with more performant LUT, and calculation more
              kusano 7d535a
              		correct.
              kusano 7d535a
              	  	
            • Conversion of 16bit data to 8bit data now done with
            • kusano 7d535a
              	  	more performant LUT, and calculation more correct
              kusano 7d535a
              	  	
            • Bugfix of handling of 16bit RGB with unassociated alpha
            • kusano 7d535a
                	
              kusano 7d535a
              kusano 7d535a
              	
            • tif_ojpeg.c: totally new implementation
            • kusano 7d535a
              kusano 7d535a
              	
            • tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
            • kusano 7d535a
              	of OJPEG images in favor of tif_getimage.c native handling of
              kusano 7d535a
              	YCbCr and desubsampling.
              kusano 7d535a
              kusano 7d535a
              	
            • tif_jpeg.c: JPEGVSetField() so that altering the photometric
            • kusano 7d535a
              	interpretation causes the "upsampled" flag to be recomputed.  Fixes
              kusano 7d535a
              	peculiar bug where photometric flag had to be set before jpegcolormode
              kusano 7d535a
              	flag.
              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
                	
              • tiff2ps.c: Added support 16-bit images as per bug
              • kusano 7d535a
                	
                kusano 7d535a
                	http://bugzilla.remotesensing.org/show_bug.cgi?id=1566.
                kusano 7d535a
                	Patch from William Bader.
                kusano 7d535a
                kusano 7d535a
                	
              • tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
              • kusano 7d535a
                	significant upgrade of the whole utility as per bug
                kusano 7d535a
                	
                kusano 7d535a
                	http://bugzilla.remotesensing.org/show_bug.cgi?id=1560.
                kusano 7d535a
                	Now we don't need tiffiop.h in tiff2pdf anymore and will open output
                kusano 7d535a
                	PDF file using TIFFClientOpen() machinery as it is implemented
                kusano 7d535a
                	by Leon Bottou.
                kusano 7d535a
                kusano 7d535a
                	
              • tiffcrop.c: New tiffcrop utility contributed
              • kusano 7d535a
                	by Richard Nolde. As per bug
                kusano 7d535a
                	
                kusano 7d535a
                	http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
                kusano 7d535a
                kusano 7d535a
                	
              • tiff2pdf.c: Do not assume inches when the resolution units
              • kusano 7d535a
                	do not specified. As per bug
                kusano 7d535a
                	
                kusano 7d535a
                	http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
                kusano 7d535a
                kusano 7d535a
                	
              • tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
              • kusano 7d535a
                	As per bug
                kusano 7d535a
                	
                kusano 7d535a
                		http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
                kusano 7d535a
                kusano 7d535a
                	
              • tif2rgba.c: This utility does not work properly on big-endian
              • kusano 7d535a
                	architectures. It was fixed including the bug
                kusano 7d535a
                	
                kusano 7d535a
                	http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
                kusano 7d535a
                kusano 7d535a
                	
              • tiff2pdf.c: Fix handling of -q values.
              • kusano 7d535a
                	
                kusano 7d535a
                	http://bugzilla.remotesensing.org/show_bug.cgi?id=587
                kusano 7d535a
                kusano 7d535a
                	
              • tiffcmp.c: Fixed floating point comparison logic as per bug
              • kusano 7d535a
                	
                kusano 7d535a
                	http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
                kusano 7d535a
                kusano 7d535a
                	
              • tiff2pdf.c: Fixed buffer overflow condition in
              • kusano 7d535a
                	t2p_write_pdf_string() as per bug
                kusano 7d535a
                	
                kusano 7d535a
                	http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
                kusano 7d535a
                kusano 7d535a
                kusano 7d535a
                kusano 7d535a


                kusano 7d535a
                kusano 7d535a
                kusano 7d535a
                kusano 7d535a
                <font size="+3">C</font>HANGES IN THE CONTRIB AREA:
                kusano 7d535a
                kusano 7d535a
                kusano 7d535a
                kusano 7d535a
                	
              • contrib/addtiffo/tif_overview.c: Fix problems with odd sized
              • kusano 7d535a
                	output blocks in TIFF_DownSample_Subsampled() (bug 1542).
                kusano 7d535a
                kusano 7d535a
                	
              • contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
              • kusano 7d535a
                	Though it is still far from the state of being working and useful.
                kusano 7d535a
                kusano 7d535a
                kusano 7d535a
                kusano 7d535a
                Last updated $Date: 2009-08-20 22:57:39 $.
                kusano 7d535a
                kusano 7d535a
                kusano 7d535a