1pfsoutimgmagick(1)          General Commands Manual         pfsoutimgmagick(1)
2
3
4

NAME

6       pfsoutimgmagick - Write images or frames using Image Magick library
7

SYNOPSIS

9       pfsoutimgmagick  [--linear]  [--quality  <val>] [--bit-depth] [--frames
10       <range>]) <file> [<file>...]
11

DESCRIPTION

13       This command can write images or frames in the multitude of image  for‐
14       mats  supported  by  the  ImageMagick library. This includes but is not
15       limited to: BMP, JPG, PNG, GIF, EPS, TIFF, DPX. See the manual page  of
16       ImageMagick for the full list of available formats.
17
18       pfsoutimgmagick  reads images or frames in pfs format from the Standard
19       Input and writes them under the specified file name(s).
20
21       The input of pfsinimgmagick must be within 0-1 range. If LUMINANCE  tag
22       set  is  set  to  RELATIVE or ABSOLUTE, the linear values will be gamma
23       corrected, assuming sRGB color space. Use --linear  switch  to  disable
24       gamma correction.
25
26       The  images  are  stored  using the bit-depth for which the ImageMagick
27       library was compiled (default is 16 bit). Note that some  formats  (for
28       example  JPEG) do not support encoding more than 8 bits per color chan‐
29       nel. To use higher bit-depths, store images in the PNG format.
30
31       This command stores 'ALPHA' channel if it is present in the pfs stream.
32
33       Each file name can contain a %d  pattern,  which  is  substituted  with
34       frame numbers. The pattern has the same syntax as C printf command. For
35       example, you can use %04d to make the frame number four digit with pro‐
36       ceedings  zeros.  You can select the frames using the following options
37       (the options must be always given after the file name):
38
39       --frames <range>
40              Range is given in mathlab / octave format:
41
42              startframe:step:endframe
43
44              Frame numbers start with startframe (default 0),  are  increased
45              by  step  (default  1)  and stop at endframe You can skip one of
46              those values, for example 1:100 for frames 1,2,...,100 and  0:2:
47              for frame 0,2,4,... up to the last file that exists.
48
49       --srgb, -s
50              Apply  the  sRGB  non-linearity (approximately 2.2 gamma) before
51              writing a file. This can be used instead of  using  pfsgamma  -g
52              2.2  to  store  the  result  of some tone-mapping operators. The
53              option will compress contrast to make sure that tone values  are
54              properly  shown  on  a display. It should be only used with lin‐
55              earized (not gamma corrected) images that are normalized to  the
56              0-1 range.
57
58       --quality <val>, -q <val>
59              Set JPEG/PNG compression level from 1 to 100. Default 75.
60
61       --bit-depth <val>, -b <val>
62              Enforce  bit-depth  (per  color channel). The allowed values are
63              from 8 to 32. If not specified,  the  bit  depth  from  the  pfs
64              stream  ('BITDEPTH' tag) will be used instead. If the 'BITDEPTH'
65              tag is missing, the ImageMagick default value will be used (usu‐
66              ally  16). The bit depth of actually stored file may be lower of
67              that specified, if the file format does not support  higher  bit
68              depths.
69
70

EXAMPLES

72        pfsin test.jpg | pfsout test.png
73              Convert from one image format to another.
74
75        pfsin --linear test.jpg | pfsout --srgb test.png
76              The  same  as  above,  but  apply inverse gamma correction after
77              reading an image (--linear)  and  then  apply  gamma  correction
78              before writing an image (--srgb).
79

BUGS

81       pfsoutimgmagick can not write frames to the standard output.
82
83       Please  report  bugs  and  comments on implementation to the discussion
84       group http://groups.google.com/group/pfstools
85

SEE ALSO

87       pfsout(1) ImageMagick(1)
88
89
90
91                                                            pfsoutimgmagick(1)
Impressum