[comp.sys.next] TIFF and 24 bits/pixel

bcorrie@csr (Brian Corrie) (05/16/91)

Hello world,

I have a small problem. I have a rendering program that outputs 24 bits/pixel
in a SUN rasterfile format. I want to view these images on a NeXTstation color.
How does one go about doing this? I have tried using the pbm+ package to convert
from SUN to pbm to TIFF, but at 24 bits/pixel, it doesn't work. I get a gray
scale image on the left 1/3 of the resulting image and some thin color bars
down the other 2/3s. Can anyone tell me what is wrong?

It is my assumption that loading a TIFF file on the NeXTstation color will
produce as good as an image as the hardware can display (this is what
postscript gives us). For the NeXTstation color, this should look great!
I saw a 24 bit/pixel image shown as a demo from NeXT, on the Color slab,
but I'm not sure what format it was. I just assumed it was TIFF.

Its my guess that either pbm doesn't know how to convert to 24 bit/pixel
TIFF files (if they even exist) or the display program is broken. I used
Icon and Scene (both which can load tiff files). Scene doesn't even deal
with 8 bit/pixel tiff files correctly (they are just grey scales), but Icon
works fine.

Now you are probably saying that how do I know the images output by the
renderer are OK. Well, I can view the 24 bit/pixel images on a SUN with a
24 bit board. I can convert them to 8 bit/pixel SUN rasterfiles and view them.
I can then convert the 8 bit SUN rasterfile to an 8 bit tiff file using pbm+,
and then view those on the NeXT. All that works fine, so I know the images
work! Can anyone help me. I really want to see how good a job the NeXTstation
color can do displaying a 24 bit/pixel image.

Thanks in advance for any help you can give me.....

	B

p.s. Also, the colors on the NeXT display seem very washed out compared to
the colors on the SUN. The SUN is a 3/60. I have been told that the monitors
are Sony Trinitron. Any truth to this. Does this mean I finally have to think
about gamma correction? The difference is quite significant.

--
                  Brian Corrie (bcorrie@csr.uvic.ca)
Under the most rigorously controlled conditions of pressure, temperature,
volume, humidity and other variables, the organism will do as it damn well
pleases. Sounds like some of the code I have written......  8-)