PIXBUSTUP(1)
π PIXBUSTUP π
ok so real talk, this is a BRL-CAD page and it's honestly such a useful little gremlin π¦ like, it splits your giant blob of pix images into separate files and it does it flawlessly. periodt.
β¨ NAME β¨
pixbustup β break up concatenated pix images into separate files π
πΈ SYNOPSIS πΈ
pixbustup basename width [image_offset] [first_number] < input.pix
π DESCRIPTION π
okay so bestie, here's the vibe: pixbustup takes input that's literally just a concatenated collection of pix(5) format files all smooshed together, and breaks them up into separate files. so iconic of it. π
the output file names will be of the form basename.num, where basename is given on the command line, and num is a consecutive series of integers. by default the first image will be made number 0, but an alternate first_number can be given if you want to start counting somewhere else. iykyk π
the images must be square, and the width (and height) is given by width. like, that's not optional, it's a square situation only. π²
the program keeps reading these small files until end of file is reached. no cap, it just goes until there's nothing left. π
if one does not wish to extract from the beginning of the input file, an image_offset can be given which will skip that number of images before beginning. super handy for like, skipping the boring part. β¨
ngl this program is mostly a holdover from the days when rt(1) wrote animations into one huge file, but it is still sometimes useful. lowkey a legacy icon but still ate. π«Ά
π EXAMPLES π
Example 1. Split an animation into per-frame files
pixbustup frame 512 < anim.pix
break a concatenated stream of 512x512 pix(5) images in anim.pix into individual files frame.0, frame.1, frame.2, and so on, one per frame. literally one file per frame, so clean. β
Example 2. Extract a numbered subset of frames
pixbustup frame 512 100 100 < anim.pix
skip the first 100 images in anim.pix, then write the remaining 512x512 frames starting at frame.100 so the output file names match the original frame numbering. chef's kiss, the numbers line up π§ the resulting files can be converted for viewing with pix-png(1). π₯
π SEE ALSO π
π 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 π§ don't be shy, they wanna hear it fr fr.
π reminder bestie: the images must be square. do not come crying to me when your non-square images act up. π
ok that's the whole page, tysm for coming to my ted talk π this was BRL-CAD, and the page is PIXBUSTUP(1) β mwah, go bust up some pix files, ily, bye! πβ¨
π¦ 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