FB2PIX(nged)
write a framebuffer image to a .pix file
π FB2PIX π
okay so this is the fb2pix page from the BRL-CAD User Commands manual, and honestly? she's a little icon. buckle up bestie π
β¨ NAME β¨
fb2pix β literally just writes your framebuffer image out to a .pix file π
πΈ SYNOPSIS πΈ
fb2pix [-h -i -c] [-s squaresize] [-w width] [-n height] [file.pix]
π¦ DESCRIPTION π¦
okay so here's the vibe: fb2pix grabs the current framebuffer image straight from the display manager and writes it out as a raw .pix (RGB) file. that's it, that's the whole job, and she does it flawlessly π
and like β plot twist β if you don't hand her an output file and standard output isn't a terminal, the image data just goes to standard output instead. no file? no problem. π«Ά
the available options are:
-cβ crunch the colormap (aka apply the colormap to the pixel values). lowkey a glow-up for your pixels β¨-iβ inverse mapping, which draws the image upside down. yes she will flip your whole world, no cap π-ssquaresize β sets both the output width and height to the squaresize you give her. one number, two dimensions, efficiency queen π-wwidth β sets the output width only-nheight β sets the output height only-hor-?β prints the command usage and dips. short & sweet π
ngl if you omit the size parameters entirely, she defaults to capturing a 512x512 region. that's the fallback and it's serving π
π EXAMPLES π
β Example 1. Save the framebuffer to a PIX file β
mged> fb2pix -s 1024 output.pix
so what's happening here? she captures a 1024x1024 region of the active framebuffer and saves it to output.pix. iconic behavior, no notes π
π§ AUTHOR π§
BRL-CAD Team π«Ά
π BUG REPORTS π
found a bug or a problem? don't suffer in silence bestie β reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org π§
and that's the whole page, fr fr π big thank you to the source, BRL-CAD, and to FB2PIX(nged) herself β main character energy, periodt β¨ππ¦
π¦ 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