[comp.sys.sgi] SGI RGB file format

ctt31684@uxa.cso.uiuc.edu (...C H I N G...) (06/29/91)

Hi, I am trying to convert an Iris RGB (the ones that you can display by double
clicking on it in the workspace or using ipaste) file to another file format,
but I don't know what format the RGB file is in.  So any information on that
file format is welcome.  Thanks.

-Ching Tai
-email ching@uxh.cso.uiuc.edu
-OR ching-tai@uiuc.edu
-OR just reply to this posting.
Thank you.

bond@eniac.seas.upenn.edu (RobBob Bond) (06/29/91)

Ching:


I'm sending you a copy of a program entitled Imformat which should do
the trick. It takes an images file and returns the type of image file.
I also have conversion programs if you need one of these.


-Robert Bond


------------------------------------------------------------------------------

Robert Bond - University of Pennsylvania
Chemical Engineering Labs
Reply to: bond@picasso.seas.upenn.edu

"Diplomacy is the art of saying 'nice doggy' untill you can find a rock."

------------------------------------------------------------------------------

duis@sgi.com (David Duis) (07/01/91)

In article <1991Jun28.192232.8832@ux1.cso.uiuc.edu> ctt31684@uxa.cso.uiuc.edu (...C H I N G...) writes:
> I am trying to convert an Iris RGB (the ones that you can display by double
>clicking on it in the workspace or using ipaste) file to another file format,
>but I don't know what format the RGB file is in.  So any information on that
>file format is welcome.  Thanks.


SGI provides a Very Large Number of image manipulation tools which
operate on SGI image format.  I haven't listed these, below, but they
can be found by typing man -k image.  Also check out the istat
utility's man page.  This explains the image format header, which all
SGI image tools recognize.

We always ship filters to and from a number of other formats.  You may
be trying to convert to one of these, in which case your problem is solved.

Here is a list of the image conversion filters I have on my system.
These were taken from 'man -k image'.  I've excluded the image
manipulation tools from this list, but try them, they're fun!

fromalias (6D)          - converts an Alias image to an Iris image
frombin (6D)            - create an RGB Iris image file from a binary dump of image data
fromcmap (6D)           - convert a color map into an image with one scanline
fromcube (6D)           - convert a Cubicomp/Vertigo image file to IRIS format
fromdi (6D)             - convert an old .di dithered image into an RGB image
fromface (6D)           - convert a UNIX faceserver image into IRIS format
fromgif (6D)            - convert a GIF image into an IRIS image
frommac (6D)            - convert a MacPaint image into an IRIS image
frompic (6D)            - convert a MOVIE BYU .PIC image to an IRIS image
fromppm (6D)            - convert an image in Jef Poskanzer's format into an IRIS image
fromrla (6D)            - converts a Wavefront image to an IRIS image
fromsun (6D)            - convert a sun image into an IRIS image
fromtarga (6D)          - convert a targa image into an IRIS image
fromtiff (6D)           - convert a TIFF image into an IRIS image
fromutah (6D)           - convert a Utah Raster toolkit image into an IRIS imagefromxbm (6D)            - convert an X Bitmap image into an IRIS image
fromxud (6D)            - convert an xwd file into an IRIS image
fromxwd (6D)            - convert an xwd file into an IRIS image
fromyuv (6D)            - convert an Abekas yuv image into an IRIS image

toalias (6D)            - Convert an IRIS image to an Alias image
toascii (6D)            - use text characters to represent an image
tobin (6D)              - Convert an Iris image to binary dump of pixel data
tobw (1G)               - convert a color image to black and white
togif (6D)              - convert an IRIS image to a Compuserve GIF image
tomac (6D)              - convert an IRIS image to MacPaint format
tonews (6D)             - convert an IRIS image into NeWS format
topict (6D)             - convert an IRIS image to Macintosh PICT format
toppm (6D)              - convert an IRIS image file into Jef Poskanzer's ppm image format
tops (6D)               - Convert an iris image to PostScript
toscitex (6D)           - Convert IRIS images into Scitex CT2T images
tosun (6D)              - convert an IRIS image to a sun raster file
totarga (6D)            - Convert from an IRIS image to a type 2 (RGB) targa image
totiff (6D)             - convert an IRIS image to TIFF format
toutah (6D)             - convert an IRIS image to Utah raster toolkit
toyuv (6D)              - convert an IRIS image to yuv format


Cheers,

David Duis                                      Silicon Graphics, Inc.
duis@bent.esd.sgi.com, x7337                 Mountain View, California