ALIAS-PIX(1)

πŸ“¦
version 7.44.0 Β· 2 versions
, in nixpkgs unstable

πŸ’… ALIAS-PIX(1) β€” the BRL-CAD glow-up edition ✨

okay bestie, so this is alias-pix, a whole little legend from the BRL-CAD fam πŸŽ€


🌸 NAME 🌸

alias-pix β€” it converts an Alias(tm) pix image into a BRL-CAD PIX(5) image, which is lowkey the entire personality. πŸ’–


✨ SYNOPSIS ✨

alias-pix [-v] < ALIASpixfile > BRLpixfile

like, input on the left, output on the right, standard streams doing standard stream things 🫢


πŸ’« DESCRIPTION πŸ’«

So here's the vibe: alias-pix reads a run-length encoded 24-bit Alias(tm) pix format image from standard input πŸ“₯ and writes the corresponding uncompressed pix(5) image to standard output πŸ“€. It's giving pipeline main character energy.

The Alias header gets decoded in an architecture-independent manner (iconic, no cap 🧚), the run-length packed scanlines get expanded to RGB triples, and then the scanline order is flipped to match the bottom-to-top origin convention that BRL-CAD uses. The way it just flips the whole thing so it matches πŸ’….

⚠️ Heads up, bestie: only 24 bits-per-pixel input is supported β€” any other pixel depth is rejected. Periodt, no exceptions.
🚫 Also: input may not be read from a terminal. Fr fr, don't even try it. πŸ™ˆ

πŸŽ€ OPTIONS πŸŽ€

  • -v β€” prints a summary of the Alias pix file header to standard error: the image dimensions, the X and Y offsets, and the bits per pixel. it's giving "let me peek at the metadata" πŸ”βœ¨

πŸ¦‹ EXAMPLES πŸ¦‹

Example 1. Convert an Alias pix file and display the result 🌈

alias-pix < image.alias > image.pix
pix-fb -w 1024 -n 1024 image.pix

Converts the Alias image image.alias to a BRL-CAD pix(5) file, and then displays it on a framebuffer with pix-fb(1) β€” a one-step preview of the converted image. literally the fastest glow-up reveal ever 😭πŸ”₯

Example 2. Inspect the image dimensions during conversion ⭐

alias-pix -v < image.alias > image.pix

Converts the image while printing its width, height, and pixel offsets to standard error β€” which is super useful for discovering the dimensions you'll need in later tools like pix-fb(1) or pixscale(1). iykyk πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘

brlcad(1), pix-fb(1), pixscale(1), pix(5)


πŸ“ AUTHOR πŸ“

BRL-CAD Team 🫢


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 πŸ“§


k that's the whole page, bestie β€” go convert some pixels πŸ’…βœ¨

BRL-CAD, ALIAS-PIX(1) β€” mwah, xoxo πŸŽ€

πŸ“¦ where this page comes from