FF2JPG(1)

πŸ’– FF2JPG β€” the farbfeld-to-JPG glow-up πŸ’–

okay bestie, so this is ff2jpg, from the General Commands Manual (section 1, we're in the big leagues). It lives over at suckless.org, and it's literally the moment your farbfeld pic becomes a JPG. No cap. πŸ¦‹


✨ SYNOPSIS ✨

ff2jpg [-b colour] [-o] [-q quality]

🌸 DESCRIPTION 🌸

ff2jpg reads a farbfeld(5) image from stdin, converts it to JPG (8-bit RGB), and writes the result straight to stdout. It's giving pipeline queen. πŸ‘‘

And if anything goes wrong? In case of an error ff2jpg writes a diagnostic message to stderr. So if your terminal starts yelling at you, that's why, don't panic. 😭


πŸ’… OPTIONS πŸ’…

  • -b colour β€” Blend the transparent colours with colour specified as rgb, rrggbb or rrrrggggbbbb. The default is fff. ✨
  • -o β€” Optimize the Huffman table, which reduces the file size but takes longer. Small file, slower vibe. Tradeoffs, bestie. πŸ™ˆ
  • -q quality β€” Set the output quality ranging from 0 to 100. The default is 85. πŸ”₯

⭐ EXIT STATUS ⭐

  • 0 β€” Image processed successfully. slay. πŸ’–
  • 1 β€” An error occurred. πŸ’€

πŸŽ€ EXAMPLES πŸŽ€

the classic:

$ ff2jpg < image.ff > image.jpg

and the fancy one, piped straight out of bunzip2:

$ bunzip2 < image.ff.bz2 | ff2jpg -b 0f0 -q 90 > image.jpg

🌈 SEE ALSO 🌈

bzip2(1), farbfeld(5)


πŸ‘‘ AUTHORS πŸ‘‘

Hiltjo Posthuma <hiltjo@codemadness.org> β€” thank you for your service, icon. 🫢


and that's the whole page, fr fr. this version was served up by suckless.org, dated 2018-04-11, and yes it's still FF2JPG(1) at heart. periodt. πŸ’…πŸŒΈ