'\" t
.\"     Title: SCREENGRAB
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "SCREENGRAB" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
screengrab \- Save the current MGED display visual or framebuffer contents to an image file\&.
.SH "SYNOPSIS"
.HP \w'\fBscreengrab\fR\ 'u
\fBscreengrab\fR [\fI\-F\fR] [\fI\-\-format\ fmt\fR] {\fIimage_file\fR}
.SH "DESCRIPTION"
.PP
Generates an image file containing either the current application display manager\*(Aqs visual representation of the current scene or (when the
\fB\-F\fR
option is specified) the contents of the current application embedded framebuffer\&.
.PP
The output format of the image file will be deduced from the filename, but if the caller wishes to ensure a specific format the
\fB\-\-format\fR
may be used\&.
.SH "EXAMPLES"
.PP
\fBExample\ \&1.\ \&Write a PNG image file of the MGED framebuffer contents.\fR
.PP

mged>\fBscreengrab \-F fb\&.png\fR
.PP
Writes the contents of the active MGED framebuffer to the image file
\fIfb\&.png\fR\&.
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
