PIX(5)

๐Ÿ“ฆ
version 7.44.0 ยท 2 versions
, in nixpkgs unstable

๐ŸŽ€ PIX(5) โ€” Color RGB image file format and utilities ๐ŸŽ€

okay bestie, welcome to the PIX(5) manual page from BRL-CAD. This is the one about .pix files and the little utility squad that handles them. Let's get into it. ๐Ÿ’–


โœจ NAME โœจ

pix โ€” Color RGB image file format and utilities. That's it, that's the name. ๐Ÿซถ

๐Ÿฆ‹ FORMAT ๐Ÿฆ‹

A pix file is literally a sequence of pixels, no cap. Each pixel is stored as three unsigned chars: first red, then green, then blue. The intensity of each color ranges from 0 ("off") to 255 ("on"). ๐ŸŒˆ

The first pixel in a pix file is the lower left corner of the image. Pixels proceed from left-to-right across each scanline, and scanlines are written from the bottom to the top of the image. So it's bottom-left first, then scoot across, then up. The way that works is honestly iconic. โญ

By convention, pix images are usually square, so their dimensions can be determined by the file size. If they're not square, often only the file width need be known by a program reading the file. History has left us with two "standard" sizes: 512x512 and the "higher" 1024x1024. A common practice for other file sizes is to include the file width in the filename. ๐Ÿ“

At some time in the future, pix files will probably get self-typing headers so that parameters such as their size can be automatically determined by programs. Future vibes, bestie. ๐Ÿ”ฎ

๐Ÿ’… UTILITIES ๐Ÿ’…

Here's the little tool crew, each one doing its own main character thing:

  • pix-fb โ€” display a .pix format image on a framebuffer.
  • fb-pix โ€” produce a .pix file from a framebuffer image.
  • pix-bw โ€” convert a .pix file to a black and white .bw file.
  • bw-pix โ€” convert a black and white .bw file to a .pix file.
  • ap-pix โ€” convert an Applicon Color Plotter file to a .pix file.
  • pixtile โ€” combine several small .pix files into one large one.
  • pixstat โ€” gives statistics concerning a .pix file.
  • pixhist โ€” displays a color histogram on a framebuffer.
  • pixhist3d โ€” display three views of an RGB color space histogram on a framebuffer.
  • pixhist3d-plot3 โ€” unix plot of RGB color space utilization.
  • pixdiff โ€” shows which pixels/colors differ between two .pix files.
  • pixrect โ€” extracts an arbitrary rectangle from a .pix file.
  • pixrot โ€” rotate, reverse, or invert a .pix file.
  • pixscale โ€” scale a .pix file up or down.
  • pixfilter โ€” a collection of 3x3 kernel filters for .pix files.
  • bw3-pix โ€” merges three .bw files into one .pix file.
  • pix-bw3 โ€” separates .pix file RGB colors into three .bw files.

๐Ÿ“ FILES ๐Ÿ“

  • file.pix

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

brlcad(1), bw(5), and above named programs. iykyk ๐Ÿ‘‘

๐Ÿ’œ 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.


That's the whole page, bestie. Signing off from BRL-CAD and PIX(5) ๐Ÿ’– โ€” that's the source/version and manual name in the footer, and there's no date listed there, so we're not inventing one. Stay slay, keep your pixels in order. โœจ

๐Ÿ“ฆ where this page comes from