pfsinrgbe(1)
π pfsinrgbe π
okay bestie so this is pfsinrgbe(1) β straight outta the General Commands Manual, and it's lowkey the gateway drug for getting Radiance RGBE images into pfstools. let's get into it π«Ά
β¨ NAME β¨
pfsinrgbe β load images or frames in Radiance RGBE format. that's it, that's the job π
π SYNOPSIS π
pfsinrgbe [--linear] (<file> [--frames <range>] [--skip-missing])
[<file>...]
π¦ DESCRIPTION π¦
so pfsinrgbe loads images in Radiance RGBE format and writes a pfs stream to the Standard Output. the pfs stream usually gets piped into another program for further processing β classic pipeline main character energy β¨. if you want the format detected automatically based on the extension, use pfsin instead, iykyk.
since RGBE is an HDR format, the 'LUMINANCE' tag is set to 'RELATIVE' (that's relative linear luminance values, no cap).
to read images from standard input, use a single dash - instead of a filename. the images are read until EOF is reached. π
each file can contain a %d pattern, which gets substituted with frame numbers. the pattern has the same syntax as the C printf command. for example, you can use %04d to make the frame number four digits with leading zeros (yes the original says "proceedings zeros", we love a typo that ate π). you can select the frames using the following options β and the options must always be given after the file name:
--frames <range>
the range is given in mathlab / octave format:
startframe:step:endframe
frame numbers start with startframe (default 0), are increased by step (default 1), and stop at endframe. you can skip one of those values, for example 1:100 for frames 1,2,...,100 and 0:2: for frames 0,2,4,... up to the last file that exists. iconic behavior honestly πΈ
--skip-missing
skip up to ten frames in a row if the corresponding files are missing. otherwise the program stops reading the sequence at the first file that does not exist. this switch does not apply to the first frame in a sequence. this switch can be useful if there's a rendered animation where some of the frames have not been generated. very forgiving of you π
--linear
ignored β it's just there for compatibility with pfsinppm. it's giving "i'm here but i'm not doing anything" π
--radiance, -r
correct the stored values so that the luminance is reported the same in pfsview and radiance tools (xview or Photospheare). see IMPORTANT NOTE below. β οΈ
--quiet, -q
disable the warning message about the change in handling absolute values in RGBE files. see IMPORTANT NOTE below.
π EXAMPLES π
pfsinrgbe intro%d.hdr frame%d.hdr | ...
concatenate two animations into one and pass it to the pipe for further processing. chef's kiss π₯
π IMPORTANT NOTE π
there is an incompatibility between viewers of RGBE format in terms of absolute luminance values. the ximage viewer from the Radiance package expects radiance values in RGBE files and multiplies the resulting luminance by the WHITE_EFFICACY constant equal to 179.0f to convert from radiance to luminance. π
to remain compatible with Radiance (xview and Photospheare), pfstools prior to 1.9.0 divided red, green and blue values by 179 on writing and multiplied by that constant on reading RGBE files. this in turn caused incompatibility with other software, such as Photoshop or HDR toolbox. starting from pfstools 1.9.0, this division / multiplication step was removed to make pfstools compatible in terms of absolute values with the majority of the software.
the downside is that this change made luminance units) with the pfstools 1.9.0 or later. β bestie that sentence is literally cut off mid-thought in the original and i am NOT fixing it, i'm just reporting it exactly as it is π
to avoid any mistakes because of that change, a long warning message is shown each time pfsinrgbe or pfsoutrgbe is called. the message can be suppressed with the --quiet option. π«Ά
to enable the old functionality and read or write RGBE files with the correction for WHITE_EFFICACY, add the --radiance option to the command line.
π BUGS π
please report bugs and comments on implementation to the discussion group http://groups.google.com/group/pfstools β they wanna hear from you fr fr π
π SEE ALSO π
and that's the whole page, bestie!! this little cutie lives in the General Commands Manual, and its official signature is pfsinrgbe(1) β that's the footer, that's the vibe, that's the whole thing. πβ¨ππ¦πΈπ
π«Ά
π¦ 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