FBZOOM(1)
โจ NAME โจ
okay so fbzoom is the tool, and this page is FBZOOM(1) from the BRL-CAD manual set ๐. It's literally the interactive zoom-and-pan viewer for a frame buffer. Bestie, it's giving "look closer, but make it terminal" โจ.
๐ SYNOPSIS ๐
fbzoom [-T] [-F framebuffer] [-s|-S squarescrsize] [-w|-W scr_width] [-n|-N scr_height] [xPan yPan xZoom yZoom]
๐ DESCRIPTION ๐
fbzoom interactively zooms and pans the view of a frame buffer using vi(1)- and/or emacs(1)-like keystrokes on a regular terminal. The important vibe check: it changes only the way the frame buffer is viewed; the pixels stored in the frame buffer are not modified. No cap ๐ซถ.
After opening the frame buffer, fbzoom displays the current view and reads single-character commands from the keyboard, updating the center pixel and zoom factor as it goes. The current center pixel, zoom factor, and pan mode are echoed on the status line. Live feedback? Obsessed ๐
.
If the four optional positional arguments xPan yPan xZoom yZoom are supplied, the view is initialized to that center pixel and zoom factor before interaction begins. Either zero or exactly four positional arguments must be given; the two zoom values must be positive. That's the rule, bestie โ no in-between chaos ๐.
๐ OPTIONS ๐
Here's the whole flag menu โ yes, all of it, no skipping ๐ซถ:
-Tโ reverse the sense of the pan commands, so that the panning keys move the image rather than the window. This may also be toggled interactively with theTcommand. Iconic little plot twist ๐ซ.-Fframebuffer โ explicitly specify the frame buffer to open. Otherwise the environment variableFB_FILEselects the frame buffer; seebrlcad(1).-s(or-S) squarescrsize โ open the frame buffer as a square squarescrsize pixels on a side (default is512).-w(or-W) scr_width โ open the frame buffer scr_width pixels wide (default is512).-n(or-N) scr_height โ open the frame buffer scr_height pixels high (default is512).
๐ฎ Single-character commands
Once running, fbzoom responds to the following single-character commands (type ? at any time for this list):
b(or^V) โ zoom bigger, both axes (x2)sโ zoom smaller, both axes (x0.5)+(or=) โ zoom bigger, both axes (+1)-โ zoom smaller, both axes (-1)>/<โ zoom x bigger (x2) / smaller (x0.5)./,โ zoom x bigger (+1) / smaller (-1))/(โ zoom y bigger (x2) / smaller (x0.5)0/9โ zoom y bigger (+1) / smaller (-1)h/l(orB/F) โ pan left / right by onej/k(orN/P) โ pan down / up by oneH/L(or^B/^F) โ pan left / right by manyJ/K(or^N/^P) โ pan down / up by manyTโ toggle the sense of the pan commandscโ recenter the view (goto center)zโ reset the zoom to1 1rโ reset both pan and zoom to normal?โ print the command listq(orRETURN) โ exit
๐ EXAMPLES ๐
๐ธ Example 1. Inspect a rendered image in detail
$ pix-fb -w 1024 -n 1024 render.pix
$ fbzoom -w 1024 -n 1024
Loads a 1024x1024 image into the frame buffer with pix-fb(1), then runs fbzoom on the same-sized frame buffer. Press b to magnify, the h/j/k/l keys to pan around the enlarged image, and q to quit. It's giving "detective mode" ๐๐
.
๐ฆ Example 2. Start zoomed in on a region
$ fbzoom 256 256 4 4
Opens the default frame buffer with the view already centered on pixel (256, 256) and magnified 4x in both axes, then enters interactive mode. Main character energy from the very first frame ๐.
๐ SEE ALSO ๐
go peek at these, iykyk: brlcad(1), bw-fb(1), fbgrid(1), gif-fb(1), pix-fb(1), plot3-fb(1).
๐ AUTHOR ๐
BRL-CAD Team โ periodt ๐
.
๐ง COPYRIGHT ๐ง
This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory.
๐ BUG REPORTS ๐
Found a bug? Do not suffer in silence, bestie ๐ญ. Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org.
๐ from BRL-CAD, filed as FBZOOM(1), with copyright years 1989-2026 โ that's the whole page, bestie, go zoom responsibly ๐ซถโจ
๐ฆ 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