Image Related Software ---------------------- Image Viewing ------------- ipaste Views SGI files imgview Views SGI, FIT, TIFF files readpixel Views SGI, RLA, YUV, TGA xv Views GIF, X11, PBM, TIFF, JPEG imf_ani Views sequence of images RLA, YUV gv Views a Postscript file xpsview Views a Postscript file xdvi Views a DVI file An example of displaying the SGI file called pic1.sgi is this: ipaste pic1.sgi An example of displaying the RLA file called pic1.rla is this: readpixel pic1.rla * These are only a few of the viewing commands available out there and not all the formats supported are listed. Image Conversion ---------------- imf_cnvt Usage: imf_cnvt infile.ext outfile.ext [-rz xres yres] [-r res] [-fh] [-fv] [-am] [-dm] [-vo] where: -rz specify the xres yres if infile is a yuv, qtl or rgb image whose resolution is not 720x486 -r specify resolution factor for outfile image res < 1.0 shrinks image, res > 1.0 grows image -fh flip image horizontally -fv flip image vertically -am add matte channel -dm delete matte channel -vo turn verbose off * formats supported are yuv, qtl, vst, tga, rgb, rla, sgi * formats that allow matte channel include vst, tga & rla * default is to copy matte channel if one exists An example of converting the file pic1.sgi to a targa (.tga) file is this: imf_cnvt pic1.sgi pic1.tga An example of converting the file pic1.rla to a YUV file is this: imf_cnvt pic1.rla pic1.yuv imconv Usage is: imconv [options...] infilename outfilename imconv converts an input image file using one file format to an output image file with a differing file format. -alias Alias image file -avs AVS X image file -bm X11 bitmap file -bmp Microsoft Windows bitmap image file -cur Microsoft Windows cursor image file -cursor Sun Icon and Cursor file -df Hierarchical Data File -epi Adobe Encapsulated PostScript file -eps Adobe Encapsulated PostScript file -epsf Adobe Encapsulated PostScript file -epsi Adobe Encapsulated PostScript file -feedback Generate a feedback form (bug report) -fullhelp Display a full-length help message -gif Compuserve Graphics image file -giff Compuserve Graphics image file -hdf Hierarchical Data File -help Display a short help message -ico Microsoft Windows icon image file -icon Sun Icon and Cursor file -iff Sun TAAC Image File Format -infile image_filename Specify an input image file name -iris SGI RGB image file -ivb Truevision Targa image file -long Be very verbose -macp Apple Macintosh MacPaint file -mbfavs AVS X image file -mbfx AVS X image file -mpnt Apple Macintosh MacPaint file -ncsa Hierarchical Data File -outalpha Force output of alpha plane with image -outchandepth no_bits Force output of # of bits/channel/pixel -outclt Force output of a CLT with the image -outcompress comp_type Force output of compress image -outfile image_filename Specify an output image file name -outindex Force output as a color indexed image -outinterleave inter_type Force output of interleaved RGB image -outnchan no_channels Force output of # of channels/pixel -outnoalpha Block output of alpha plane with image -outnoclt Block output of a CLT with the image -outrgb Force output as an RGB image -pbm PBM Portable Bit Map file -pcc ZSoft IBM PC Paintbrush file -pcx ZSoft IBM PC Paintbrush file -pgm PBM Portable Gray Map file -pic PIXAR picture file -picio PIXAR picture file -pict Apple Macintosh QuickDraw/PICT file -pict2 Apple Macintosh QuickDraw/PICT file -pix Alias image file -pixar PIXAR picture file -pnm PBM Portable aNy Map file -pntg Apple Macintosh MacPaint file -postscript Adobe PostScript file -ppm PBM Portable Pixel Map file -pr Sun Icon and Cursor file -ps Adobe PostScript file -ras Sun Rasterfile -register Generate a user registration form -rgb SGI RGB image file -rla Wavefront raster image file -rlb Wavefront raster image file -rle Utah Run length encoded image file -scr Sun Rasterfile -sgi SGI RGB image file -sr Sun Rasterfile -sun Sun Rasterfile -suniff Sun TAAC Image File Format -synu SDSC Synu image file -taac Sun TAAC Image File Format -tga Truevision Targa image file -tif Tagged image file -tiff Tagged image file -vda Truevision Targa image file -verbose Be verbose -version Display the command's version numbers -vff Sun TAAC Image File Format -viff Khoros Visualization image file -x AVS X image file -x11 X Window System window dump image file -xbm X11 bitmap file -xv Khoros Visualization image file -xwd X Window System window dump image file An example of converting the file pic1.gif to a SGI file called pic1.sgi is: imconv -gif pic1.gif -sgi pic1.sgi ------------------------------------------------------------------------------- A few of the conversion utilities starting with "to" are: tobw Converts a color SGI file to black & white tops Converts a SGI file to a Postscript file totarga Converts a SGI file to a TGA file (Targa) togif Converts a SGI file to a GIF file totiff Converts a SGI file to a TIFF file tojpeg Converts a SGI file to a JPEG file toppm Converts a SGI file to a PPM file (portable pixel map) toyuv Converts a SGI file to a YUV file (used by SDL) An example conversion of a SGI file called pic1.sgi to a Postscript file called pic1.ps is: tops pic1.sgi > pic1.ps A few of the conversion utilities starting with "from" are: fromgif Converts a GIF file to a SGI file fromppm Converts a PPM file to a SGI file fromtarga Converts a TGA file to a SGI file fromjpeg Converts a JPEG file to a SGI file fromrla Converts a RLA file to a SGI file fromtiff Converts a TIFF file to a SGI file fromyuv Converts a YUV file to a SGI file An example conversion of a GIF file called pic1.gif to a SGI file called pic1.sgi is: fromgif pic1.gif > pic1.sgi ------------------------------------------------------------------------------- A means to resize images is with the command izoom The format is: izoom inimage outimage xscale yscale An example is: izoom pic.sgi picout.sgi .5 .5 This scales the image by 1/2 in the x direction and by 1/2 in the y direction.