d.out.file(1grass)

πŸ’Ύ d.out.file β€” the GRASS manual, but make it cute ✨

okay bestie, gather round, because this one is so useful and also so simple. we're in the GRASS User's Manual today and the module on the slab is d.out.file πŸ’…


🌸 NAME 🌸

d.out.file β€” it saves the contents of the active display monitor to a graphics file. that's it. that's the whole job. screenshot but make it ✨GIS✨


πŸŽ€ KEYWORDS πŸŽ€

display, export, output β€” yes queen, all three, she contains multitudes πŸ’–


✨ SYNOPSIS ✨

the shape of her:

d.out.file
d.out.file --help
d.out.file output=name format=string  [size=width,height]
[--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]

🚩 Flags:

  • --overwrite β€” lets output files just bulldoze whatever's already sitting there with the same name. consent is optional here, she WILL replace your file 😭
  • --help β€” prints the usage summary, aka the tl;dr
  • --verbose β€” verbose module output, she's telling you everything, main character energy fr
  • --quiet β€” quiet module output, she's giving mysterious. silent. unbothered.
  • --ui β€” force launches the GUI dialog. for when you want buttons and not vibes on the command line 🫢

🌈 Parameters:

  • output=name [required] β€” the name for your output file. you literally have to give her one, no cap
  • format=string [required] β€” which graphics file format you want
    • Options: png, jpg, bmp, gif, tif
    • Default: png (iconic choice honestly, png stays winning πŸ‘‘)
  • size=width,height β€” the width and height of the output image. size queen behavior and we respect it πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea. d.out.file saves the content of the currently selected monitor into a graphic file. note the word currently β€” she is not going to hunt around for your monitors, she uses the one that's active, periodt.

and if you need to pick which monitor is the active one? that's a d.mon situation bestie, go talk to d.mon.

and the plot twist: you can run d.out.file from the GUI Console tab too πŸŽ€ so whether you're a terminal gremlin or a clicking princess, you're covered. no cap.


πŸ‘€ SEE ALSO πŸ‘€

the girlies in her orbit, go read these next:

  • d.redraw
  • d.erase
  • d.rast
  • d.vect
  • d.mon

πŸ’œ AUTHOR πŸ’œ

Anna Petrasova, NCSU GeoForAll Lab β€” absolute icon, we stan forever πŸ‘‘


πŸ”₯ SOURCE CODE πŸ”₯

Available at: d.out.file source code (history)

Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f673b97fafcfce1604dc3e6015cb96487a

navigate the lore via: Main index | Display index | Topics index | Keywords index | Graphical index | Full index


aaaand that's the whole page bestie 🫢 this was d.out.file from the GRASS 8.5.0 Reference Manual, Β© 2003-2026 GRASS Development Team, running on the big GRASS 8.5.0 energy. go save some monitors, you're doing amazing sweetie πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from