GIF2FB(1)
π
GIF2FB β okay bestie, let's talk about gif2fb(1) π
So this is the page for gif2fb(1), brought to you by the BRL-CAD girlies, and it's literally just "put a GIF on a frame buffer." Iconic behavior, no notes. π
β¨ NAME β¨
gif2fb β display a GIF image on a frame buffer π
π¦ SYNOPSIS π¦
gif2fb [-H] [-v] [-F _frame_buffer_] [_gif_file_]
πΈ DESCRIPTION πΈ
okay so here's the whole vibe: gif2fb reads a CompuServe GIF (that's Graphics Interchange Format, iykyk) image and displays its first picture on a frame buffer. Not all of them. The first one. Periodt. π
The GIF data may contain 1, 2, 4, or 8 bit deep pictures with one or more color maps, and gif2fb is smart enough to SELECT the appropriate color map and decode the LZW-compressed image β all while honoring GIF interlacing. She's thorough. The frame buffer is opened at the size of the embedded image, so it fits like it was made for her (because it was π«Ά).
If no gif_file is given, the image is read from standard input β use the shell < redirection construct, bestie, that's the move.
π OPTIONS π
-Fframe_buffer β Display on the specified frame buffer rather than the one named by theFB_FILEenvironment variable (or the default system frame buffer). Main character chooses her own venue. π-Hβ Print the GIF screen dimensions to standard error in the form-w_width_ -n_height_and exit without displaying the image. The output is suitable for passing as arguments to other BRL-CAD frame buffer tools. No picture, just facts. β¨-vβ Verbose. Print details of the GIF header, image header, and code sizes to standard error. She's telling you EVERYTHING. π-h|-?β Print a usage message and exit. The classic "help me help you." π
π₯ EXAMPLES π₯
Example 1. Report the dimensions of a GIF image
gif2fb -H image.gif
With -H, gif2fb prints the image dimensions to standard error as -w_width_ -n_height_ and exits without displaying the image. The reported dimensions can be used to size a matching frame buffer with tools such as fbserv(1) or pixautosize(1). It's giving "measure twice, cut once." ππ
Example 2. Decode a GIF piped from standard input
gif2fb -v -F /dev/X < image.gif
Reads the GIF from standard input and displays it on frame buffer /dev/X while printing header diagnostics β useful for inspecting an image produced earlier in a pipeline. Pipeline girlies stay winning. πβ¨
π SEE ALSO π
brlcad(1), gif-fb(1), pix-fb(1), png-fb(1)
(the whole friend group, honestly π«Ά)
π DIAGNOSTICS π
Error messages are intended to be self-explanatory. She's not gonna overexplain β read the message, bestie, she believes in you. π
β AUTHOR β
BRL-CAD Team π
π COPYRIGHT π
This software is Copyright (c) 1994-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. Don't suffer in silence, ngl β tell them. π
and that's the whole page, bestie π β this was GIF2FB(1), straight from the BRL-CAD source, with the copyright window running 1994-2026. slay, go display a GIF. π§β¨
π¦ 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