Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pfsoutexr(1) [suse man page]

pfsoutexr(1)						      General Commands Manual						      pfsoutexr(1)

NAME
pfsoutexr - Write images or frames in OpenEXR format SYNOPSIS
pfsoutexr [--compression <method>] [--keep-xyz] (<file> [--frames <range>]) [<file>...] DESCRIPTION
Use this command to write frames in OpenEXR format. Source pfs frames should be piped to the Standard Input. This command can write arbi- trary channels to OpenEXR, color channels XYZ however are specially handled (see option keep-xyz). All tags from pfs stream are stored in an OpenEXR file as String attributes. Tags assigned to channels are stored in the format <chan- nel_name>:<tag_name>, so that pfsinexr can later restore tags in the appropriate channels. The depth channel DEPTH is renamed to Z to keep compatibility with pfsinexr. If the luminance is absolute (tag LUMINANCE set to ABSOLUTE), WhiteLuminance attribute in OpenEXR file is set to 1. Details on the format of the pattern file names, which are used for saving multiple frames, can be found in the manual page of pfsoutppm. --compression <method>, -c <method> Use one the the available compression methods: NO - no compression RLE - run length encoding ZIPS - zlib compression, one scan line at a time ZIP - zlib compression, in blocks of 16 scan lines PIZ - piz-based wavelet compression (default) PXR24 - lossy 24-bit float compression --keep-xyz By default, color channels XYZ from pfs stream are converted to RGB color space and HALF format, which is a standard format for color data in OpenEXR. Since Half format is 16-bit and floating points values used in pfs stream are 32-bit, this conversion causes loss of precision. When keep-xyz option is specified, color channels XYZ are stored as they are without any conversion (32-bit float XYZ channels). Note however, that most OpenEXR applications can recognize only RGB Half format images and can not handle 32-bit XYZ. --fix-halfmax The maximum value that can be stored in OpenEXR file is limited to 65504 if 16-bit HALF float is used (color channels are stored by default in this format unless --keep-xyz switch is specified). If the luminance data is calibrated in absolute values (cd/m^2), pixel values can easily exceed 65504. To avoid clamping large pixel values, pfsoutexr can rescale data to the range that is valid for 16-bit HALF float format when --fix-halfmax switch is specified. If this switch is missing, a warning message is displayed. Scale factor used for rescaling is stored in OpenEXR file as OpenEXR standard attribute WhiteLuminance, so that pfsinexr can later restore the absolute values. EXAMPLES
pfsin memorial.hdr | pfsoutexr memorial.exr Converts from one HDR format to another SEE ALSO
pfsout(1) pfsoutppm(1) pfsinexr(1) BUGS
pfsinexr and pfsoutexr can not take stdin / stdout as an input/output (dash '-' instead of file name). Please report bugs and comments on implementation to the discussion group http://groups.google.com/group/pfstools pfsoutexr(1)

Check Out this Related Man Page

pfsin(1)						      General Commands Manual							  pfsin(1)

NAME
pfsin - Read an image in one of the several formats and write pfs stream to the standard output SYNOPSIS
pfsin <file> [<file>...] DESCRIPTION
This command can be used to read high- or low- dynamic range image in several recognized formats and output pfs stream on standard output. The pfs stream is usually piped to another program for further processing (see examples). To get a list of recognized formats and exten- sions, execute: pfsin --help This command is a front-end for pfsin* programs for reading images: pfsinrgbe, pfsinexr, etc. Based on the file extension, appropriate pro- gram is executed. If two different file format are given as parameters, two different program for loading images are executed. Additional options starting with dash '-' can be passed to pfsin* programs. The following rules apply for passing the options: the options given before any image file name (or %d pattern) are passed to all pfsin* programs. Options given after image file name are only passed to the program executed for that file(s). Note also that all option that take an argument (except --frames) must given in the form --option=value, that is without a space between an option and its argument. OPTIONS
The following options are shared by most pfsin* commands, although some may not accept --absolute and may ignore --linear. --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 frames 0,2,4,... up to the last file that exists. --skip-missing Skip up to ten frames in a row if corresponding files are missing. Otherwise the program stops reading sequence at the first file that does not exists. This switch does not apply to the first frame in a sequence. This switch can be useful if there is a rendered animation where some of the frame has not been generated. --linear, -l Converts pixel values to linear luminance (XYZ), assuming the sRGB color space for the input image. The maximum pixel value (255,255,255) is mapped to Y=1. LUMINANCE tag is set to RELATIVE. --absolute <max_lum>, -a <max_lum> --absolute converts pixel values to an absolute linear luminance (XYZ), that is the color space, in which channel Y contains lumi- nance given in cd/m^2. The sRGB color space is assumed for the input image. The maximum pixel value (255,255,255) is mapped to Y=<max_lum>. <max_lum> is typically set to 80 [cd/m^2] for a CRT monitor. LUMINANCE tag is set to ABSOLUTE. --absolute process images almost the same as --relative, but additionally it scales all pixels by <max_lum>. EXAMPLES
pfsin memorial.pic | pfsview See a hdr image in Radiance format (RGBE). pfsin memorial.pic | pfstmo_drago03 | pfsout memorial.jpeg Tone map a hdr image and save it as JPEG. SEE ALSO
pfsout(1) pfsinppm(1) BUGS
For LDR formats - JPEG, PNG, PNM: If pfstools are compiled without ImageMagic support, this command currently will not handle multiple frames given with a %d pattern. Please report bugs and comments on implementation to the discussion group http://groups.google.com/group/pfstools pfsin(1)
Man Page