PIXBACKGND(1)
β¨ PIXBACKGND π
(that's the pixbackgnd manual page, bestie)
okay so real talk, pixbackgnd is that girl in the BRL-CAD friend group who makes backgrounds β¨
π NAME π
pixbackgnd β generate a pix(5) shaded background π
π¦ SYNOPSIS π¦
pixbackgnd [-H] [-i] [-s squaresize] [-w width] [-n height] [-t title_height] [-a top_inten] [-b bottom_inten] hue saturation > file.pix
pixbackgnd [-H] [-i] [-s squaresize] [-w width] [-n height] [-t title_height] [-a top_inten] [-b bottom_inten] red green blue > file.pix
π DESCRIPTION π
pixbackgnd generates a pix(5) format shaded background on standard output, and it's literally made for being the backdrop of your presentation slides. main character energy only. π
The color gets specified one of two ways: either as a hue and saturation pair, or as an explicit red green blue triple. both ways, the component values range from 0 to 255 inclusive, and you can pick them interactively with fbcolor(1) if you're feeling fancy. fun fact: a hue of 160 is a pleasing blue. π
So here's the glow-up sequence, in order:
- The upper title_height scanlines are drawn at the constant top intensity.
- Then there's a
4scanline white bar. yes,4. she's small but she's doing her job. π€ - After that, the intensity of your chosen color smoothly ramps down to the bottom intensity over the remainder of the image. it's giving gradient slay.
By default the top intensity is 240 and the bottom intensity is 50. want different numbers? override them with the -a and -b options, no cap.
The output defaults to 512x512 pixels. The -w and -n options set the width and height independently, while -s sets both at once. and the -H flag selects a 1024x1024 image and also raises the title area to 90 scanlines. highkey a whole glow-up. β¨
π¨ Output is written to standard output and must be redirected to a file or pipe.pixbackgndflat-out refuses to writepix(5)data to a terminal. she said not today π
πΈ OPTIONS πΈ
-Hβ High resolution. Produce a1024x1024image instead of512x512, and set the title height to90scanlines. big girl mode.-iβ Invert the output, writing scanlines top to bottom rather than the bottom-to-top order normally used forpix(5)data. flip it and reverse it π-ssquaresize β Set both the width and the height to squaresize pixels. one number, two jobs, she's efficient π-wwidth β Set the output width to width pixels.-nheight β Set the output height to height pixels.-ttitle_height β Set the height in scanlines of the constant-intensity title area at the top of the image (default80, or90with-H). π-atop_inten β Set the top (starting) intensity in the range0to255(default240). start strong β-bbottom_inten β Set the bottom (ending) intensity in the range0to255(default50). soft landing π
π§ EXAMPLES π§
Example 1. Composite a foreground image onto a shaded backdrop
pixbackgnd 160 200 | pixmerge fg.pix - | pix-fb
Generate a blue shaded background (hue 160, saturation 200), merge an existing foreground image fg.pix over it with pixmerge(1), and display the result on a framebuffer with pix-fb(1). the pipes are piping, honestly π₯
Example 2. Produce a high-resolution untitled backdrop
pixbackgnd -H -a 200 -b 30 160 200 > backdrop.pix
Write a 1024x1024 backdrop with a stronger top-to-bottom intensity ramp (from 200 down to 30) to the file backdrop.pix for later compositing. save her for later, she's worth it π
π SEE ALSO π
brlcad(1), fbcolor(1), pix-fb(1), pixmerge(1), pix(5)
iykyk π«Ά
π AUTHOR π
BRL-CAD Team π
π COPYRIGHT π
This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory.
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. not me being the one to tell you, but fr fr, they wanna know π
okay that's the whole page, bestie, go make something iconic β¨ and yeah β this was PIXBACKGND(1) from BRL-CAD, so shoutout to the BRL-CAD girlies, mwah π
π
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms