Command: rasdump

Syntax

rasdump { <file> }

Description

Create a screen image file.

Parameters

Switches

Notes

If a window is iconized or invisible, it may only be dumped if it is a graphic window with the save-under attribute set.

If no format is specified (e.g. -bmp, -gif, -jpg, -png, -wbmp) an Xmarc format image file is created with a permitted image depth of 1, 8 or 24.

Examples

Create myfile.ras using a rubber box to indicate the dump area:

rasdump myfile.ras, -box=sbox

Dump the full contents of window 4:

rasdump myfile.ras, -iw=win4

Dump a specific area from window 2 as a JPEG:

rasdump garea.jpg, -jpg, -iw=win2, -wb=<p0,(500,500,0)>

Dump a rubber box selection to the clipboard (Windows only):

rasdump -clp, -box=sbox

Dump the full contents of window 2 as a grayscale PNG:

rasdump myfile.png, -iw=win2, -png, -gray, -bit=4

Dump the full contents of a window as a PNG with metrics:

rasdump myfile.png, -iw=mywin, -png, -phys=423622, -scal=0.005

See Also

Commands:

rasclip, rasdraw, wdisplay