pfsout(1)
π NAME π
pfsout β reads pfs frames off stdin and writes them out in whatever format the file name's extension says, periodt.
β¨ SYNOPSIS β¨
pfsout pfsout <file> [<file>...]
okay yes, it literally says pfsout twice up there and we are just gonna hold hands and move past it π«Ά that's the synopsis, that's the vibe, no notes.
π¦ DESCRIPTION π¦
So bestie, here's the whole thing: this command takes pfs frames that you pipe straight into standard input and writes them out in one of the several formats it recognizes. And how does it know which format? By the extension of the file name you give it. That's it. That's the whole magic trick. β¨
Wanna see the full list of recognized formats and their extensions? Go run:
pfsin --help
(yes bestie, pfsin, not pfsout β that's what the page says, so that's what you run π
)
Under the hood, pfsout is a front-end for all the pfsout* programs that actually write images β think pfsoutrgbe, pfsoutexr, etc. Based on the file extension, the appropriate program gets executed. And if you hand it two different file formats as parameters? Then it runs two different programs to write those images. Little multitasker. Iconic behavior honestly. π
You can also pass extra options through to the pfsout* programs β anything starting with a dash -. Here are the rules, and they are rules, not suggestions:
- Options given before any image file name (or
%dpattern) get passed to all thepfsout*programs. - Options given after an image file name only get passed to the program executed for that file(s).
- And this one's important, so listen: every option that takes an argument (except
--frames) must be written in the form--option=valueβ that is, no space between the option and its argument. No space. None. Zero. π ββοΈ
π EXAMPLES π
Exhibit A, the classic:
pfsin memorial.tiff | pfsout memorial.hdr
Converts from one HDR format to another. Slay. π
πΈ SEE ALSO πΈ
π BUGS π
Heads up, because we keep it real here:
- This command currently does not handle multiple frames given with a
%dpattern in the case of LDR formats: JPEG, PNG, PNM. Not great, not terrible, just... not handled. π
And if you find bugs or have comments about the implementation, please report them to the discussion group at http://groups.google.com/group/pfstools π«Ά
okay that's the whole page bestie, you're so ready. this one's pfsout(1) from the General Commands Manual, and there's no date stamped on this copy so we're just vibing without one. mwah π
β¨π
π¦ where this page comes from
- debian bookworm: pfstools 2.2.0-5+b1 Β· GPL-2.0-or-later
- debian trixie: pfstools 2.2.0-9 Β· GPL-2.0-or-later
- fedora 43: pfstools 2.2.0-23.fc43 Β· GPL-2.0-or-later
- fedora 44: pfstools 2.2.0-25.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: pfstools 2.2.0-bp160.1.20 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstools 2.2.0-bp160.1.20 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstools 2.2.0-bp160.1.20 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: pfstools 2.2.0-bp160.1.20 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- ubuntu jammy: pfstools 2.2.0-2 Β· GPL-2.0-or-later
- ubuntu noble: pfstools 2.2.0-7build3 Β· GPL-2.0-or-later
- ubuntu questing: pfstools 2.2.0-9
- ubuntu resolute: pfstools 2.2.0-10 Β· GPL-2.0-or-later
- ubuntu stonking: pfstools 2.2.0-12 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms