GIF-FB(1)
π gif-fb β GIF-FB(1) π
π NAME π
gif-fb β display a GIF image on a frame buffer
β¨ SYNOPSIS β¨
gif-fb [-c] [-o] [-v] [-z] [-F _frame_buffer_] [-i _image#_] [_gif_file_]
π¦ DESCRIPTION π¦
Okay so gif-fb decodes a CompuServe GIF (Graphics Interchange Format) image and writes it to a frame buffer. If no gif_file is given, the GIF data is read from standard input. Multi-image GIF files are displayed sequentially unless a single image is selected with -i.
The requested frame buffer is sized to the GIF screen dimensions, and the image is written right-side-up at the bottom of the available frame buffer. Cute, correct, and not doing any weird upside-down nonsense. π
πΈ OPTIONS πΈ
-cβ Force 8 bits of color resolution per R, G, and B channel, overriding the color resolution declared in the GIF file. Some non-standard GIF writers require this.-oβ Overlay mode. Skip the initial clearing of the frame buffer to the GIF background color, leaving existing frame buffer contents in place.-vβ Verbose mode. Print information about the GIF screen, color maps, and each image to standard error.-zβ Zoom the frame buffer to enlarge the image as much as possible while keeping a square pixel aspect ratio.-Fframe_buffer β Write to the named frame buffer instead of the one given by theFB_FILEenvironment variable (or the default frame buffer ifFB_FILEis unset).-iimage# β Display only the given image (1-indexed) from a multi-image GIF, rather than all images.
π₯ EXAMPLES π₯
Example 1. Convert a GIF to a BRL-CAD pix file
gif-fb -F /dev/mem image.gif && fb-pix -F /dev/mem image.pix
Decode a GIF into an in-memory frame buffer and capture it with fb-pix(1), producing a pix(5) file for use with the rest of the BRL-CAD image tools. Obsessed with the pipeline, honestly. π«Ά
Example 2. View a single frame of an animated GIF, zoomed
gif-fb -z -i 3 animation.gif
Display only the third image of a multi-image GIF on the default frame buffer, zoomed to fill the display while preserving square pixels. Third-frame main character energy, no cap. π
π SEE ALSO π
brlcad(1), gif2fb(1), fb-pix(1), fb-png(1), pix-fb(1), fbclear(1), pix(5)
π 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
π thatβs the whole GIF-FB(1) vibe β source/version is BRL-CAD, this is the GIF-FB(1) page, and the footer didnβt give a separate date, so Iβm not inventing one, 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