pfsindcraw(1)
π pfsindcraw(1) π
okay bestie, so this is a page from the General Commands Manual and it's all about pfsindcraw β the little icon that turns your camera's RAW files into pfs stream magic. no cap. πΈ
β¨ NAME β¨
pfsindcraw β read an image in a camera RAW file format supported by DCRAW or LIBRAW and write pfs stream to the standard output.
like. it reads the raw. it writes the pfs. to stdout. that's the whole vibe. π«Ά
π SYNOPSIS π
pfsindcraw [--native] <file> [<file>...]
π¦ DESCRIPTION π¦
so basically, this command reads images in a camera RAW file format that DCRAW or LIBRAW supports, and it writes a pfs stream to the standard output. and it writes it as if it had been read from a 16bit ppm file β meaning no gamma correction, and white balance straight from the camera if available. π
in principle, that kind of data should conform to the definition of High Dynamic Range contents used in the pfstools package. so like, it's giving HDR, it's serving dynamic range, it's doing the thing. β¨
heads up bestie: a raw image may in some cases require clamping to remove zero values β peep the examples below. don't skip that part, fr fr. π
π OPTIONS π
--native,-nβ read images in the native camera color space instead of sRGB. this one is meant to be used withpfscolortransform. and listen β it must be specified before any file name. like, before. don't test it. π--dcraw,-dβ read images using the originaldcrawtool, even iflibrawis available. old school by choice, iconic behaviour honestly. π
π EXAMPLES π
okay these are the moments, bestie. the main character energy:
pfsindcraw img_0070.cr2 | pfsview
view a full dynamic range of a raw image from a Canon 350D camera. π
pfsindcraw img_0070.cr2 | pfsclamp --rgb | pfstmo_drago03 | pfsout img.jpg
tone map a raw image and save it as JPEG. and here's why the clamping is there: it removes zero values, which otherwise turn into NaN values after tone mapping. so like. clamp. please. π
pfsindcraw --native img_0070.cr2 | pfscolortransform --rgbxyz canon500d.txt | pfsout img.exr
load a RAW image in its native camera color space, calibrate it using the matrix stored in the canon500d.txt file (not supplied β yeah, you gotta bring your own π), and save it as an EXR image. π
π SEE ALSO π
pfsout(1) pfsinppm(1) pfscolortransform(1)
go read those too, bestie, they're the friend group. π«Ά
π BUGS π
please report bugs and comments to the pfstools discussion group:
http://groups.google.com/group/pfstools
they wanna hear from you. not me, the group. periodt. β¨
and that's the whole page, bestie π this came out of the General Commands Manual under the name pfsindcraw(1) β no date on this one, so we're just vibing timestamp-free. slay, go read some raw files. ππ¦β¨
π¦ 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