Using xv to Convert an Image File
CS 320
Apr. 25, 2005
The texture map utilities we're using require the image file to be in Iris
rgb format. The following instructions guide you through the conversion
process. Assume that the name of the input image file is foo.bmp and that
you initially log in to a workstation that has the Cygwin software installed.
- From your network drive, sftp foo.bmp to phoenix.
- Start Cygwin and use it to establish an X Window connection to
phoenix.
- Right click on the background, open the Tools menu, and
select Terminal. A shell window will open.
- In the shell, type
xv foo.bmp
If /usr/local/bin
is not in your executable path, type
/usr/local/bin/xv
rather than xv
.
- Right click the mouse on the xv window that pops up. The xv controls
window pops up. In the xv controls window click the save button. The xv
save window pops up. In this window set the Format to IRIS RGB and Colors
to Full Color. Click Ok. This will create the file foo.rgb.
- Back in xv controls click Quit.
- close the shell window by typing
exit
.
- Exit Cygwin by clicking the Exit button within the toolbar at the
bottom of the screen.
- Sftp foo.rgb from phoenix to the network drive folder where it is
needed.
Thomas P. Kelliher
Thu Apr 21 16:54:24 EDT 2005
Tom Kelliher