|
Image Capture, Conversion and Display
There are two programs available for image manipulation while using eXceed or eXodus Xsessions - Ghostview and ImageMagick.
ImageMagick supports many different image formats. Some
of the most well known being PS (postscript), EPS (encapsulated postscript), JPEG, TIFF,
PICT, and TIFF.
Image format conversion
To convert, for example, a postscript format file to a JPEG format file, you can use the convert function of ImageMagick. To do
this, type the following on the command line:
convert imagefile.ps imagefile.jpg
Image display
Note: To view a PS file directly, you must use the program Ghostview.
Other image formats can be viewed using the ImageMagick command display.
This command is also useful for converting image formats. When the image is displayed, click
Save and then format to view a list of possible file formats to choose from.
To use the display command, type display at the command line. Click file followed by
visual directory to allow browsing to the required image file.
Image Capture
If you want to capture an image from your screen, you can use the program import. For example to
capture a window from your Xsession as an image, first use the general command:
xwininfo
which will tell you, amongst other things, the window ID number. Now type:
import -window ID image.format
where ID is the identification of the window you want to capture. This should create a file containing
the image in the format you specify. Use the display command to see this image.
The capabilities of ImageMagick are extensive. Please see the official documentation
for further information.
|