pfsoutpfm(1) General Commands Manual pfsoutpfm(1)NAME
pfsoutpfm - Write images or frames in OpenEXR format
SYNOPSIS
pfsoutpfm (<file> [--frames <range>]) [<file>...]
DESCRIPTION
Use this command to write frames in PFM format. PFM format is used for HDR Shop plug-ins and is also supported by some recent versions of
NetPBM package (pamtopfm and pfmtopam commands). Source pfs frames should be piped to the Standard Input. This command can handle both
color (XYZ channels) and grayscale (Y channel) images.
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.
EXAMPLES
pfsin memorial.hdr | pfsoutpfm memorial.pfm
Converts from one HDR format to another
pfsin memorial.hdr | pfsextractchannels Y | pfsoutpfm memorial.pfm
Stores memorial image as a grayscale PFM file.
SEE ALSO pfsout(1)pfsoutppm(1)pfsinpfm(1)BUGS
pfsoutpfm may store floating point numbers incorrectly on big-endian machines.
Please report bugs and comments on implementation to the discussion group http://groups.google.com/group/pfstools
pfsoutpfm(1)
Check Out this Related Man Page
pfsout(1) General Commands Manual pfsout(1)NAME
pfsout - Read pfs frames from stdin and write them in the format determined by the extension of the file name
SYNOPSIS
pfsout pfsout <file> [<file>...]
DESCRIPTION
This command can be used to write pfs frames piped to standard input in one of the several recognized formats. The proper format is deter-
mined by the extension of the give file name. To get a list of recognized formats and extensions, execute:
pfsin --help
This command is a front-end for pfsout* programs for writing images: pfsoutrgbe, pfsoutexr, etc. Based on the file extension, appropriate
program is executed. If two different file format are given as parameters, two different program for writing images are executed. Addi-
tional options starting with dash '-' can be passed to pfsout* programs. The following rules apply for passing the options: the options
given before any image file name (or %d pattern) are passed to all pfsout* 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.
EXAMPLES
pfsin memorial.tiff | pfsout memorial.hdr
Converts from one HDR format to another
SEE ALSO pfsin(1)BUGS
This command currently does not handle multiple frames given with a %d pattern in case of LDR formats: JPEG, PNG, PNM.
Please report bugs and comments on implementation to the discussion group http://groups.google.com/group/pfstools
pfsout(1)
Lets say we have a file called abc.txt and it's contents are -
HDR..
B1234..
D1234..
HDR..
T1234...
S1234..
HDR..
....
We would like to split this file into sub files starting with HDR word and about 100 HDR's in each file. how can we do this using awk in combination with /^HDR and a... (12 Replies)