Up: SGI graphics Frequently Asked Questions (FAQ)
Next: -47- How can I convert models to and from other formats?
Previous: -45- IMAGE FILES
Subject: -46- How can I convert images to and from other formats?
Date: 10 Mar 1996 00:00:01 EST
IRIX comes with several tools which convert images to or from SGI's
RGB format. The executables are part of the eoe2.sw.imagetools
subsystem, and include:
fromalias - convert an Alias image to an IRIS image
frombin - create an RGB IRIS image file from a binary dump of image data
fromcmap - convert a color map into an image with one scanline
fromcube - convert a Cubicomp/Vertigo image file to IRIS format
fromdi - convert an old .di dithered image into an IRIS image
fromface - convert a UNIX faceserver image into an IRIS image
fromgif - convert a GIF image into an IRIS image
frommac - convert a MacPaint image into an IRIS image
frompic - convert a MOVIE BYU .PIC image to an IRIS image
fromppm - convert an image in Jef Poskanzer's format into an IRIS image
fromrla - convert a Wavefront image to an IRIS image
fromsun - convert a sun image into an IRIS image
fromtarga - convert a targa image into an IRIS image
fromxbm - convert an X Bitmap image into an IRIS image
fromxud - convert an xwd file into an IRIS image
fromxwd - convert an xwd file into an IRIS image
fromyuv - convert an Abekas yuv image into an IRIS image
toalias - convert an IRIS image to an Alias image
toascii - convert an IRIS image to text characters
tobin - convert an IRIS image to binary dump of pixel data
tobw - convert an IRIS image to black and white
togif - convert an IRIS image to a Compuserve GIF image
tomac - convert an IRIS image to MacPaint format
tonews - convert an IRIS image into NeWS format
topict - convert an IRIS image to Macintosh PICT format
toppm - convert an IRIS image file into Jef Poskanzer's ppm image format
tops - convert an IRIS image to PostScript
toscitex - Convert IRIS images into Scitex CT2T images
tosun - convert an IRIS image to a sun raster file
totarga - convert an IRIS image to a type 2 targa image
toyuv - convert an IRIS image to yuv format
The source for each of these tools is in the 4Dgifts
dev.dev_sw.giftsfull subsystem and installed in the directory
/usr/people/4Dgifts/iristools/imgtools. Each also has a manpage.
Similar tools for more formats ('fromeps', 'frompict', 'frompixar',
'fromps', 'fromtiff', 'fromutah', 'totiff', 'toutah', 'toxbm' and
'toxpm' at last count), as well as some which come with IRIX and a few
miscellaneous cool image editing tools, are in
ftp://ftp.sgi.com/graphics/bin/. 'fromjpeg' and 'tojpeg' can be found
in ftp://ftp.clr.toronto.edu/pub/sgi/sgijpeg/.
ftp://swedishchef.lerc.nasa.gov/ has 'fromvicar' in
/image/conversion/from/, 'tocolps' and 'topcl' in
/image/conversion/to/ and many other image-related tools in nearby
directories.
The Independent JPEG Group's free JPEG software (in
ftp://ftp.uu.net/graphics/jpeg/) and ghostscript (in
ftp://ftp.cs.wisc.edu/ghost/) don't speak RGB, but do convert many
common formats to and from JPEG and PostScript respectively. Note
that older versions ghostscript understand GIF images but newer
ones do not due to copyright restrictions.
Finally, 'imgworks' (in the imgtools.sw.tools subsystem) understands
RGB, TIFF and FIT formats, and there are several freeware programs
which work on SGIs and understand SGI's RGB format as well as many
other formats:
imtools ftp://ftp.sdsc.edu/pub/sdsc/graphics/imtools/sgi_4d/
xv ftp://ftp.cis.upenn.edu/pub/xv/
ImageMagick ftp://ftp.x.org/contrib/applications/ImageMagick/
netpbm ftp://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM/
The Graphics File Formats FAQ (in
ftp://rtfm.mit.edu/pub/usenet/news.answers/graphics/fileformats-faq/)
lists many other graphics file viewing and conversion programs.
Up: SGI graphics Frequently Asked Questions (FAQ)
Next: -47- How can I convert models to and from other formats?
Previous: -45- IMAGE FILES