FF2PAM(1)

πŸ’– FF2PAM(1) β€” the farbfeld-to-PAM glow-up πŸ’–

General Commands Manual ✨ bestie edition ✨

okay so. imagine you got a farbfeld image and you need it to be a PAM. that's it. that's the whole job. ff2pam is a tiny little icon who does exactly one thing and does it flawlessly, no cap. πŸ‘‘


🌸 NAME 🌸

ff2pam β€” convert farbfeld to PAM


πŸŽ€ SYNOPSIS πŸŽ€

ff2pam

that's it. no flags. no arguments. she takes zero notes, she just works. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea, bestie: ff2pam reads a farbfeld(5) image straight from stdin, converts it into PAM β€” and specifically a 16-bit RGBA PAM, okay, don't forget the 16-bit part β€” and then writes the result out to stdout. 🫢

And if something goes wrong? If it's giving error energy? She doesn't just suffer in silence. She writes a diagnostic message to stderr so you actually know what happened. very considerate of her honestly. 😭

no filenames, no arguments, no drama β€” everything happens through stdin and stdout, so you pipe it like the main character you are. 🌈

✨ EXIT STATUS ✨

  • 0 β€” image processed successfully. slay. the conversion ate and left no crumbs. πŸ”₯
  • 1 β€” an error occurred. πŸ’€ something went sideways, check that stderr message.

πŸ’œ EXAMPLES πŸ’œ

The classic one-liner, the moment, the ritual:

$ ff2pam < image.ff > image.pam

And if your farbfeld is all bunched up in a bzip2 file, don't even worry about it, just pipe it through like so:

$ bunzip2 < image.ff.bz2 | ff2pam > image.pam

see how clean that is?? obsessed. 🌟


🌈 SEE ALSO 🌈


πŸ‘‘ AUTHORS πŸ‘‘

Mattias AndrΓ©e <maandree@kth.se> β€” the legend behind this whole thing, we love him for it. 🫢


suckless.org Β· 2018-04-11 Β· FF2PAM(1)

and that's the page, bestie!! πŸ’– go forth, convert your images, and remember: stdin in, stdout out, 16-bit RGBA always. periodt. βœ¨πŸ§šβ€β™€οΈ