Received: by whizzer.wpd.sgi.com (921026.SGI.NOSTRIP/911001.SGI)
	 id AA01205; Mon, 21 Jun 93 17:52:19 GMT
Received: from sgi.sgi.com by whizzer.wpd.sgi.com via SMTP (921026.SGI.NOSTRIP/911001.SGI)
	for /usr/people/sam/majordomo/wrapper resend -l tiff -h sgi.sgi.com -f tiff-owner -s -m "-oi -odq -om" tiff-list id AA01197; Mon, 21 Jun 93 10:52:10 -0700
Received: from ucbvax.Berkeley.EDU by sgi.sgi.com via SMTP (920330.SGI/910110.SGI)
	for tiff-relay@whizzer.wpd.sgi.com id AA21193; Mon, 21 Jun 93 10:52:04 -0700
Received: from SGI.COM by ucbvax.Berkeley.EDU (5.63/1.43)
	id AA08375; Mon, 21 Jun 93 10:52:00 -0700
Received: from relay.sgi.com by sgi.sgi.com via SMTP (920330.SGI/910110.SGI)
	for tiff@ucbvax.berkeley.edu id AA21142; Mon, 21 Jun 93 10:51:49 -0700
Received: from giraffe.asd.sgi.com by relay.sgi.com via SMTP (920330.SGI/920502.SGI)
	for @sgi.sgi.com:tiff@ucbvax.berkeley.edu id AA16853; Mon, 21 Jun 93 10:51:47 -0700
Received: from flake.asd.sgi.com by giraffe.asd.sgi.com via SMTP (920330.SGI/920502.SGI)
	for @relay.sgi.com:hlange@kogs26.informatik.uni-hamburg.de id AA10834; Mon, 21 Jun 93 10:51:45 -0700
Received: from localhost.asd.sgi.com by flake.asd.sgi.com via SMTP (920330.SGI/911001.SGI)
	for @giraffe.asd.sgi.com:tiff@ucbvax.berkeley.edu id AA11590; Mon, 21 Jun 93 10:51:44 -0700
Message-Id: <9306211751.AA11590@flake.asd.sgi.com>
To: hlange@kogs26.informatik.uni-hamburg.de (Harald Lange)
Cc: tiff@ucbvax.Berkeley.EDU
Subject: Re: modified version of xtiff.c 
In-Reply-To: Your message of Thu, 27 May 93 15:20:53 +0200.
             <9305271320.AA12503@kogs26.informatik.uni-hamburg.de> 
Date: Mon, 21 Jun 93 10:51:43 PDT
From: sam@flake.asd.sgi.com
Sender: tiff-owner@sgi.sgi.com

    To:      tiff@ucbvax.Berkeley.EDU
    Subject: modified version of xtiff.c
    From:    hlange@kogs26.informatik.uni-hamburg.de (Harald Lange)
    Date:    Thu, 27 May 93 15:20:53 N

    we have used xtiff (Revision 2.0 90/12/20, actual version coming with TIFF
    3.21) for displaying RGB-images (24bit) on our Sun 4/370 (32bit
    TAAC-Framebuffer) under X-Windows, but the result was not satisfying. A little
    look to the source reveal some typing errors in the index-value of the
    pixel_map variable, which we have corrected.

    Another important change is the new name for the tagfield
    TIFFTAG_TRANSFERFUNCTION, which is now called TIFFTAG_COLORRESPONSECURVE.

No.  These tags are not interchangeable--the new TransferFunction
tag requires that you use the other new colorimetry-related tags
in calculating the corrected screen pixel values.  Please look
at the appropriate appendix in the 6.0 spec.

    Beyond that we have made the following expansions to xtiff:

    1.) Show Pagenumber Tagfield if present
    2.) Consider Fillorder Tagfield

FillOrder is handled by the TIFF library, so using it to
set the bit-order of the data that you hand to the X code
is wrong--unless you are reading raw data directly from the
file (which you do not appear to be doing).

    I think it is a good idea to make this corrected version available in the
    following TIFFLibrary Distribution. I have tried to mail these bug to Dan Sears
    directly, but the mail came back, because of unknown user dbs@decwrl.dec.com

Dan&Chris Sears no longer work on Unix systems.  I include the
last version of xtiff that they provided me in the sources I
give away in the hope that someone will properly update it to
use the 6.0 tags.

	Sam






