OVERRGB(1)
π OVERRGB(1) π
okay bestie, welcome to overrgb, a User Commands classic β the little tool that takes your fancy RGBA nrrd and slaps it on top of a background color (or a whole background image) like it's layering an outfit. β¨
πΈ NAME πΈ
overrgb β composites an RGBA nrrd over a background color (or image). that's the whole gig. and it does it beautifully. π
π SYNOPSIS π
overrgb -i <nin> [-c <contrast>] [-cfp <fixed point>] [-g <gamma>] [-b
<background>] [-bi <nbg>] -o <filename>
like yes, that's a lot of little flags but we're gonna go through every single one together, no skipping, no cap. π«Ά
π¦ DESCRIPTION π¦
so here's the vibe. overrgb composites an RGBA nrrd over a background color (or image), and then it does gamma correction, and then it quantizes to an 8-bit image. it's giving full pipeline energy. π₯
and like, plot twist β your input nrrd can lowkey have more than 4 values per pixel, but only the first four are ever used. the rest are just standing there, decorative. π
here's the part that actually matters for getting your numbers right: if the RGBA nrrd is floating point, the values are taken at face value, periodt. if it's fixed point, the values are interpreted as having been quantized β so that 8-bit RGBA images will act exactly as you expect. iykyk. π
and when you're compositing with a background image, the given background image does not have to be the same size as the input image. it will get resampled (with linear interpolation) to fit. she stretches to serve the look. π
β¨ OPTIONS β¨
-i<nin>β input nrrd to composite (nrrd). the main character of the whole operation. π-c<contrast>β contrast to apply to RGB values, before gamma.β0.0βmeans no change,β1.0βmeans thresholding,β-1.0βmeans a complete washout. (double); default:β0.0β-cfp<fixed point>β component level that doesn't change with contrast (double); default:β0.5β-g<gamma>β gamma to apply to image data, after contrast (double); default:β1.0β-b<background>β background color to composite against; white is1 1 1, not255 255 255. (3 doubles); default:β0 0 0β
not me begging you to remember1 1 1and not255 255 255π this is the #1 thing people get wrong and it will absolutely wreck your output. fr fr.
-bi<nbg>β 8-bit RGB background image to composite against (nrrd); default:ββ-o<filename>β file to write output PPM image to (string); default:β-β
π SEE ALSO π
gprobe(1), ilk(1), mrender(1), miter(1), nrrdSanity(1), puller(1), tend(1), unu(1), vprobe(1)
the whole friend group. go say hi. π§
and that's the whole page, bestie! this one's from April 2021, part of the User Commands lineup β so if you're citing her, that's the date and the manual section to credit. slay, go composite something gorgeous. πβ¨ππ¦πΈπ π«Ά
π¦ where this page comes from
- fedora 43: teem 1.11.0-83.fc43 Β· LGPL-2.1-or-later WITH LicenseRef-Fedora-Temporary-Simple-Library-exception
- fedora 43: teem 1.11.0-86.fc43 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- fedora 44: teem 1.11.0-87.fc44 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms