PNG(nged)
Writes the current display to a PNG image file.
π PNG (nged) β bestie edition
okay so real talk: this is the png command from the BRL-CAD User Commands manual, section nged. she's a little icon and she's here to screenshot your whole vibe β¨
π¦ NAME
png β writes the current display to a PNG image file. that's it. that's the whole job. and she ate. πΈ
πΈ SYNOPSIS
png [-c r/g/b] [-s size] file
π DESCRIPTION
Writes the current GED display to the specified PNG file. yes bestie, whatever is on your screen right now? it's going in a file. main character energy fr fr π
The implementation supports the following options:
-c r/g/bβ sets the background color using RGB values separated by non-numeric delimiters. so like,0/0/0or255-255-255, the delimiters just gotta be not-numbers, iykyk π¨-s sizeβ sets the output image size in pixels. heads up though: the implementation requires a size of at least50. don't try to be cute and go smaller π«Ά
Without options, the command writes a 512x512 PNG image with a white background. no flags, no stress, iconic default behavior π
β EXAMPLES
The examples show common uses of png. let's get into it π
β¨ Example 1. Write the current display to a PNG file.
mged>png view.png
Writes the current display to view.png. simple. clean. slayed. π
β¨ Example 2. Write a larger PNG with a black background.
mged>png -c 0/0/0 -s 1024 view.png
Writes a 1024x1024 PNG image using a black background. big image, dark mode, absolutely obsessed π€π₯
π AUTHOR
BRL-CAD Team β legends, honestly, we stan π«Ά
π BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. if something's acting up, tell the devs, not me β I'm just the messenger bestie ππ§
and that's the whole page! brought to you by BRL-CAD, filed under PNG(nged) β go forth and screenshot responsibly, mwah πβ¨π
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms