sourCEntral - mobile manpages

pdf

pfsoutppm

NAME

pfsoutppm, pfsouttiff, pfsoutrgbe, pfsoutexr − Write images or frames in one of the several formats

SYNOPSIS

pfsoutppm (<file> [--linear] [--frames <range>]) [<file>...]

pfsouttiff (<file> [--linear] [--frames <range>]) [<file>...]

pfsoutrgbe (<file> [--frames <range>]) [<file>...]

pfsoutexr (<file> [--frames <range>]) [<file>...]

DESCRIPTION

This command can be used to write pfs frames piped to standard input in one of the several recognized formats. See the manual page of pfsinppm to get a list of available formats.

To write images to standard output use a single dash ’-’ instead of filename.

Each file name can contain a %d pattern, which is substituted with frame numbers. The pattern has the same syntax as C printf command. For example, you can use %04d to make the frame number four digit with proceedings zeros. You can select the frames using the following options (the options must be always given after the file name):
−-frames <range>

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 frame 0,2,4,... up to the last file that exists.

--linear

The value of the ’LUMINANCE’ tag in the PFS stream affects the behaviour of writers to several file formats. The HDR output files are assumed to have intensity values linearly related to luminance, therefore the ’LUMINANCE’ tag set to ’DISPLAY’ will result in a warning message (because it indicates the gamma corrected contents). On the other hand the LDR output files are assumed to conform to sRGB standard, therefore when the ’LUMINANCE’ tag is set to ’RELATIVE’, the RGB intensities are gamma corrected according to the sRGB standard. To prevent the gamma correction and to store the data exactly as they are in the PFS stream use the ’--linear’ switch.

EXAMPLES

pfsin memorial.tiff | pfsoutrgbe memorial.hdr

Converts from one HDR format to another

SEE ALSO

pfsout(1) pfsinppm(1)

BUGS

Please report bugs and comments to Grzegorz Krawczyk <krawczyk AT mpi-sb DOT mpg DOT de> and Rafal Mantiuk <mantiuk AT mpi-sb DOT mpg DOT de>.

pdf