home *** CD-ROM | disk | FTP | other *** search
/ Internet File Formats / InternetFileFormatsCD.bin / graphics / tiff / unix / archive.z / archive / text0076.txt < prev    next >
Encoding:
Text File  |  1995-09-20  |  1.3 KB  |  32 lines

  1. >     xtiff: 24-bit DirectColor visual not available
  2. It's been a while since I dabbled with X stuff, but I think that your
  3. problem is related to your X server setup.  Some servers allow you to
  4. set the visual type (there are, I believe, 6 or 8 possible variations).
  5. Others just give you the one, and you have to work with that.  It sounds
  6. like xtiff does not attempt to interrogate the server to ascertain its
  7. visual type - it just assumes DirectColor with 8-bit images.  You may
  8. need to modify xtiff to find out the visual type of the server you
  9. are connected to (if I had the right book to hand, I might be able
  10. to tell you how...).  DirectColor is fairly common, I think, but will
  11. not be supported by a monochrome server.
  12.  
  13. I think this stuff is reasonably explained in Jones (Introduction to
  14. The X Window System?).  The correct strategy should be to find the best
  15. possible visual supported by the server you are conected to, and dither
  16. the image in order that it can be displayed there.  You might also want
  17. to take a look at the FAQ from comp.windows.x (or whatever it is).
  18.  
  19. I guess the one thing I am fairly sure about, though, is that this is not
  20. a problem with the tiff library.
  21.  
  22. Good luck - colour stuff can be tricky in X!
  23.  
  24. jeremy.
  25.  
  26. Jeremy Shaw
  27. Compression Labs Inc.
  28.  
  29.  
  30.