Received: by cthulhu.engr.sgi.com (941129.SGI.8.6.9/911001.SGI)
	for tiff-list id PAA05563; Fri, 6 Jan 1995 15:24:08 -0800
Return-Path: <owner-tiff>
Received: from sgi.sgi.com by cthulhu.engr.sgi.com via ESMTP (941129.SGI.8.6.9/911001.SGI)
	for <tiff-relay@cthulhu.engr.sgi.com> id PAA05552; Fri, 6 Jan 1995 15:24:02 -0800
Received: from nova.unix.portal.com by sgi.sgi.com via ESMTP (941129.SGI.8.6.9/910110.SGI)
	for <tiff@sgi.com> id PAA20005; Fri, 6 Jan 1995 15:24:00 -0800
Received: from uucp1.unix.portal.com (uucp1.unix.portal.com [156.151.1.100]) by nova.unix.portal.com (8.6.9/8.6.5) with ESMTP id PAA28843; Fri, 6 Jan 1995 15:23:59 -0800
Received: from clix.UUCP (uucp@localhost) by uucp1.unix.portal.com (8.6.9/8.6.5) with UUCP id JAA25185; Fri, 6 Jan 1995 09:53:34 -0800
Received: from schooner.clix.com by clix.com (4.1/SMI-4.1)
	id AA08927; Fri, 6 Jan 95 09:51:25 PST
Date: Fri, 6 Jan 95 09:51:25 PST
From: jshaw@clix.com (Jeremy Shaw x6726)
Message-Id: <9501061751.AA08927@clix.com>
To: jk290@satyam.jvnc.net
Subject: xtiff error
Cc: tiff@sgi.sgi.com
Sender: owner-tiff@sgi.sgi.com
Precedence: bulk

> 
> 	xtiff: 24-bit DirectColor visual not available
> 
It's been a while since I dabbled with X stuff, but I think that your
problem is related to your X server setup.  Some servers allow you to
set the visual type (there are, I believe, 6 or 8 possible variations).
Others just give you the one, and you have to work with that.  It sounds
like xtiff does not attempt to interrogate the server to ascertain its
visual type - it just assumes DirectColor with 8-bit images.  You may
need to modify xtiff to find out the visual type of the server you
are connected to (if I had the right book to hand, I might be able
to tell you how...).  DirectColor is fairly common, I think, but will
not be supported by a monochrome server.

I think this stuff is reasonably explained in Jones (Introduction to
The X Window System?).  The correct strategy should be to find the best
possible visual supported by the server you are conected to, and dither
the image in order that it can be displayed there.  You might also want
to take a look at the FAQ from comp.windows.x (or whatever it is).

I guess the one thing I am fairly sure about, though, is that this is not
a problem with the tiff library.

Good luck - colour stuff can be tricky in X!

jeremy.

Jeremy Shaw
Compression Labs Inc.


