DOKK / manpages / debian 12 / pfstools / pfsindcraw.1.en
pfsindcraw(1) General Commands Manual pfsindcraw(1)

pfsindcraw - Read an image in a camera RAW file format supported by DCRAW or LIBRAW and write pfs stream to the standard output

pfsindcraw [--native] <file> [<file>...]

This command can be used to read images in a camera RAW file format supported by DCRAW or LIBRAW and write pfs stream to the standard output as if read from 16bit ppm file (no gamma correction, white balance from camera if available). In principle such data should conform to the definition of High Dynamic Range contents used in the pfstools package.

A raw image may in some cases require clamping to remove zero values, see examples.

Read images in native camera color space (instead of sRGB). To be used with pfscolortransform. Must be specified before any file name. --dcraw, -d Read images using the original dcraw tool even if libraw is available.

View a full dynamic range of a raw image from Canon 350D camera.
Tone map a raw image and save it as JPEG. Clamping is used to remove zero values, which otherwise result in NaN values after tone mapping.
Load a RAW image in its native camera color space, calibrate using matrix stored in canon500d.txt file (not supplied) and save as an EXR image.

pfsout(1) pfsinppm(1) pfscolortransform(1)

Please report bugs and comments to the pfstools discussion group (http://groups.google.com/group/pfstools).