FF2PPM(1)

πŸ’– FF2PPM β€” the farbfeld β†’ PPM glow-up πŸ’–

okay bestie, so this is ff2ppm, a General Commands Manual page, and it's genuinely one of the most straightforward little tools you'll ever meet. no drama, no flags you'll forget, just vibes and pixel conversion. let's get into it πŸ¦‹


✨ NAME ✨

ff2ppm β€” convert farbfeld to PPM 🌈


✨ SYNOPSIS ✨

ff2ppm [-b colour]

that's it. that's the whole thing. one optional flag. iconic behaviour honestly πŸ’…


✨ DESCRIPTION ✨

okay so here's the tea β˜• β€” ff2ppm reads a farbfeld(5) image in from stdin, converts it to PPM (16-Bit RGB P6 binary format), and writes the result right back out to stdout. in, glow-up, out. main character pipeline energy ✨

and if something goes wrong? it writes a diagnostic message to stderr. it will not suffer in silence, bestie, it will tell you πŸ’€


✨ OPTIONS ✨

  • -b colour β€” blend the transparent colours with the colour you specify. you can hand it rgb, rrggbb, or rrrrggggbbbb format. the default is fff β€” so if you don't say anything, it's giving white πŸŽ€

✨ EXIT STATUS ✨

  • 0 β€” image processed successfully πŸ₯³ slay.
  • 1 β€” an error occurred 😭 it did not eat, it did not leave no crumbs, it just failed.

✨ EXAMPLES ✨

the classic, the blueprint, the no-notes run:

$ ff2ppm < image.ff > image.ppm

and here's you piping a bzipped file straight in and picking a lil blend colour, because you're fancy:

$ bunzip2 < image.ff.bz2 | ff2ppm -b 0f0 > image.ppm
not me running both of these back to back just to feel something 🫢

✨ SEE ALSO ✨

bzip2(1), farbfeld(5)

go read those too, they're lowkey required reading for the farbfeld cinematic universe πŸ¦‹


✨ AUTHORS ✨

Hiltjo Posthuma <hiltjo@codemadness.org> β€” thank you for your service, king πŸ‘‘


this whole thing comes to you from suckless.org, dated 2018-04-11 πŸŽ€βœ¨

okay that's the page, bestie. go forth and convert. periodt. πŸ’–