home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / graphics / explorer / 421 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.8 KB  |  38 lines

  1. Newsgroups: comp.graphics.explorer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!erenj.com!rufus.erenj.com!srfergu
  3. From: srfergu@rufus.erenj.com (Scott Ferguson)
  4. Subject: ImportImage dropping colormap from GIF's, etc
  5. Message-ID: <1992Dec30.181820.22274@erenj.com>
  6. Sender: news@erenj.com (USENET News System)
  7. Nntp-Posting-Host: rufus.erenj.com
  8. Organization: Exxon Research & Engineering Co.
  9. Date: Wed, 30 Dec 1992 18:18:20 GMT
  10. Lines: 26
  11.  
  12. Well, I'm mired in trying to get the ImportImage module to actually
  13. use the color tables from pseudocolor image files. I've gone out to
  14. sdsc.edu and gotten both 2.0 and 2.1 versions of imtools. No matter
  15. which one I load into the ImportImage Module, we still get no color maps.
  16. What we seem to get is the actual pixel number, since a 256-color GIF
  17. looks like a greyscale image, but a 16-color gif is very dark, so the numbers
  18. 1-16 get stuffed into all 3 red,green, and blue channels.
  19.  
  20. Unfortunately the imtools and libsdsc distributions come with some but not 
  21. all source, so I can't check the contents of the ImVfbQGreen(sourceVfb,vptr) 
  22. calls to see what should be going on. 
  23.  
  24. The run-time imtools program imconv does properly convert my gifs so that
  25. I can convert a gif to an SGI RGB and then load it into explorer with ReadImg,
  26. so there must be something wrong with the way ReadSDSC.c is reading the images,
  27. or there's a bug in either the libim.a or the libsdsc.a.
  28.  
  29. I'll keep at it and keep you posted, or if anyone else has seen this behavior
  30. and fixed it please pipe up.
  31.  
  32. -- 
  33. ----------------------------------------------------------------------
  34. Scott Ferguson                        Exxon Research & Engineering Co.
  35. Project Engineer                      New Jersey
  36. ----------------------------------------------------------------------
  37. "Always bark at a dog."
  38.