r.in.png(1)

πŸ’– r.in.png β€” the manual page, but make it make sense πŸ’–

okay bestie, sit down, hydrate, because today we're importing PNGs into GRASS GIS and honestly? it's giving main character energy πŸ¦‹. This is the manual for r.in.png, straight out of the GRASS GIS User's Manual. Let's get into it. ✨


🌸 NAME 🌸

r.in.png β€” Imports non-georeferenced PNG format image.

(yeah that's it, that's the whole vibe. short. iconic. periodt. πŸ’…)


πŸŽ€ KEYWORDS πŸŽ€

  • raster
  • import
  • PNG

iykyk πŸ‘‘


✨ SYNOPSIS ✨

r.in.png
r.in.png --help
r.in.png [-fh] input=name output=name  [title=string]   [gamma=float]
[alpha=float]   [--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]

🫢 Flags 🫢

  • -f β€” Create floating-point map (0.0 - 1.0)
  • -h β€” Output image file header only and exit
  • --overwrite β€” Allow output files to overwrite existing files
  • --help β€” Print usage summary
  • --verbose β€” Verbose module output
  • --quiet β€” Quiet module output
  • --ui β€” Force launching GUI dialog

🌈 Parameters 🌈

  • input=name [required] β€” Name of input file
  • output=name [required] β€” Name for output raster map
  • title=string β€” Title for created raster map
  • gamma=float β€” Display gamma
  • alpha=float β€” Alpha threshold

πŸ’œ DESCRIPTION πŸ’œ

So like, r.in.png literally imports a non-georeferenced Portable Network Graphics (PNG) image and turns it into a GRASS raster map. That's the whole job, and it does it beautifully. πŸŽ€

⚠️ okay important one: Georeferencing .wld files are not supported, bestie. Not a thing here. If that's what you need, r.import can be used instead. Don't come for this module about it, it told you upfront. πŸ’€

🌟 NOTES 🌟

In order to assign georeferencing after import use r.region. boom. that's the note. no cap. ✨


πŸ‘‘ SEE ALSO πŸ‘‘

  • r.import
  • r.in.gdal
  • r.out.png
  • r.region

🧚 AUTHORS 🧚

  • Michael Shapiro
  • Alex Shevlakov
  • Glynn Clements

the legends themselves, we love them, we thank them 🫢🌸


πŸ“ SOURCE CODE πŸ“

Available at: r.in.png source code (history)

Accessed: Saturday Jan 17 05:40:48 2026

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual


and that's the whole page, bestie πŸ’– no notes, you ate it, go import something pretty. this was GRASS 8.4.2, r.in.png(1), and yes we're still obsessed with it. mwah. πŸ’…πŸŒˆβ­

πŸ“¦ where this page comes from