r.blend(1grass)
π NAME π
r.blend β blends color components of two raster maps by a given ratio. (Yes bestie, this is the page straight out of the GRASS User's Manual, and we're gonna read it together.)
π¦ KEYWORDS π¦
raster, composite
β¨ SYNOPSIS β¨
okay so this is literally how you call it:
r.blend
r.blend --help
r.blend [-c] first=name second=name output=basename [percent=float] [nprocs=integer] [--overwrite] [--help] [--verbose] [--quiet] [--ui]
π Flags π
-cβ combine those resulting R, G, B layers into one single output map. one map. unified. iconic. π--overwriteβ lets output files just bulldoze over existing files that are already sitting there. (use with intention, bestie π«Ά)--helpβ prints you the usage summary, the lil cheat sheet.--verboseβ verbose module output, i.e. it tells you everything that's happening. main character energy but for logs.--quietβ quiet module output. shhh. π€«--uiβ force-launches the GUI dialog, for when you want the clicky-clicky version.
πΈ Parameters πΈ
first=name[required] β name of the first raster map you're blending. mandatory, no skipping.second=name[required] β name of the second raster map for blending. also mandatory. the duo. the pair. πoutput=basename[required] β basename for the red, green and blue output raster maps (so like, the base name that the three output maps get built from).percent=floatβ percentage weight of the first map for color blending.- Options:
0-100 - Default:
50
- Options:
nprocs=integerβ number of threads for parallel computing, because we love speed πββοΈ0: use OpenMP default;>0: usenprocs;<0: useMAX-nprocs- Default:
0
π DESCRIPTION π
r.blend blends the color components of 2 raster maps, using a specified percentage of the first map. that's it, that's the whole vibe check. two maps in, blended colors out.
π EXAMPLE π
Blending the aspect map with the elevation map to make a shaded map β using the North Carolina sample dataset, periodt:
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. (gorgeous, no notes β¨)
π§ SEE ALSO π§
d.shade, g.region, r.shade, r.colors, r.his, r.mapcalc, r.rgb, r.support
π AUTHORS π
- Unknown: probably CERL β the mystery author era π
- Updated to GRASS 5.7 by Michael Barton, Arizona State University
π SOURCE CODE π
Available at: r.blend source code (history)
Latest change: Thursday Nov 06 23:50:00 2025 in commit: f714bf80e54f853796854f03b5c86fd7f5b1cd9d
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
okay that's the whole thing bestie π«Ά this page is from GRASS 8.5.0 (the GRASS Development Team's 2003-2026 copyright era, fr fr) β love that for us, now go blend some rasters π πΈ
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms