hull@emily.uvm.edu (Christopher Hull) (07/22/89)
I have been trying to display some rasterfiles(.im8) images from my own program. The files in particular are the ones the NeWS imagedemo program uses (/usr/NeWS/smi) on the personal irises. The problem I am having is interpreting the colormap in the file. My program displays the image and it is recognizable however the colors are definitely incorrect. Right now I am using each byte in the image as an direct offset into each of the red, green, and blue colormaps, and plotting a pixel with those components. I have tried reversing and/or invert- ing the colormaps with out any success. Does anyone know how to correctly interpret the colormaps, or know how the NeWS operator `imagecanvas' interprets the rasterfiles? Any help or pointers would be greatly appreciated. Thanx, Christopher Hull EMBA-CF University of Vermont, Burlington, VT -------------------- hull@uvm-gen.uvm.edu
hull@emily.uvm.edu (Christopher Hull) (07/22/89)
Well it looks like I was looking really hard in the wrong place for my colormap problem. I have found the problem, and it wasn't my interpretation of the colormaps after all. Thanx anyway, Christopher Hull EMBA-CF University of Vermont, Burlington, VT. ---------------- hull@uvm-gen.uvm.edu