screengrab [-F] [-D name] [--format fmt] image_file
SCREENGRAB(nged)
NAME
screengrab - Save the current MGED display visual or framebuffer contents to an image file.
On this page
SYNOPSIS
DESCRIPTION
Generates an image file containing the current display manager’s rendered scene. When -F is specified, captures the embedded framebuffer instead.
image_file is required. The output format is inferred from the file extension; use --format to override.
This command is also available as screen_grab (with an underscore). Both names invoke identical behavior.
Options
- -F, --fb
-
Capture the embedded framebuffer instead of the display manager scene.
- -D name, --dm name
-
Specify the name of the display manager to capture. If omitted, the active display manager is used.
- --format fmt
-
Force the output image format (e.g.
png,jpg). If not specified, the format is inferred from the file extension. - -h
-
Print usage help.
EXAMPLES
mged> screengrab -F fb.png
Writes the contents of the active MGED framebuffer to the image file fb.png.
mged> screengrab -D Mged0 output.png
Captures the display manager named Mged0 to output.png.
mged> screengrab scene.png
Writes the current display manager’s rendered scene to scene.png.
mged> screengrab --format jpg view.img
Writes the display manager scene to view.img in JPEG format.
SEE ALSO
png(nged)
AUTHOR
BRL-CAD Team
BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org