r.blend(1)

πŸ’– r.blend(1) β€” GRASS GIS User's Manual πŸ’–

okay bestie, welcome to r.blend, a lil tool from the GRASS GIS fam that blends the color components of two raster maps together by a ratio you pick. it's giving mixing two paints but make it nerdy πŸ’…


✨ NAME ✨

r.blend β€” blends color components of two raster maps by a given ratio. no cap, that's literally the whole job πŸŽ€


🏷️ KEYWORDS 🏷️

  • raster
  • composite

πŸ“œ SYNOPSIS πŸ“œ

r.blend
r.blend --help
r.blend [-c] first=name second=name output=basename  [percent=float]
[--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]

🚩 Flags 🚩

  • -c β€” combine resulting R,G,B layers into a single output map ✨ (one map to rule them all, main character energy fr)
  • --overwrite β€” allow output files to overwrite existing files ⚠️ (bestie, this one does what it says on the tin β€” it will absolutely clobber what's already there, so vibe check your filenames first)
  • --help β€” print usage summary 🫢
  • --verbose β€” verbose module output (it'll yap, but in a helpful way)
  • --quiet β€” quiet module output 🀫
  • --ui β€” force launching GUI dialog πŸ–₯️✨

πŸŽ€ Parameters πŸŽ€

  • first=name [required] β€” name of first raster map for blending
  • second=name [required] β€” name of second raster map for blending
  • output=basename [required] β€” basename for red, green and blue output raster maps 🌈
  • percent=float β€” percentage weight of first map for color blending
    • Options: 0-100
    • Default: 50

🌸 DESCRIPTION 🌸

r.blend blends color components of 2 raster maps by a specified percentage of the first map. that's it, that's the tea 🍡 like, you say "gimme this much of map one" and it does the math and hands you the pretty colors back πŸ’œ


🌟 EXAMPLE 🌟

blending the aspect map with the elevation map for a shaded map (North Carolina sample dataset):

g.region raster=elevation
r.relief input=elevation output=relief zscale=10
r.blend -c first=elevation second=relief output=blend percent=75

Figure: Elevation blended with shaded relief πŸ‘‘

look at that command block. three lines. ate. no crumbs left. πŸ”₯

πŸ‘€ SEE ALSO πŸ‘€

  • d.shade
  • g.region
  • r.shade
  • r.colors
  • r.his
  • r.mapcalc
  • r.rgb
  • r.support

go read those too bestie, they're all in the same friend group πŸ’–


πŸ‘‘ AUTHORS πŸ‘‘

  • Unknown: probably CERL
  • Updated to GRASS 5.7 by Michael Barton, Arizona State University

(we stan an anonymous legend and also stan Michael 🫢)


πŸ“¦ SOURCE CODE πŸ“¦

Available at: r.blend source code (history)

Accessed: Saturday Jan 17 05:41:52 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!! this manual came at you straight from GRASS 8.4.2, saved on Saturday Jan 17 05:41:52 2026, and stamped with r.blend(1) down at the bottom. now go blend something iconic βœ¨πŸ’…πŸ¦‹

πŸ“¦ where this page comes from