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

NAME

6       pfsinimgmagick - Load images or frames using ImageMagick++ library
7

SYNOPSIS

9       pfsinimgmagick  (<file>  [--linear]  [--absolute  <max_lum>]  [--frames
10       <range>] [--skip-missing])  [<file>...]
11
12

DESCRIPTION

14       This command can load images or frames in the multitude of  image  for‐
15       mats  supported  by  the  ImageMagick library. This includes but is not
16       limited to: BMP, JPG, PNG, GIF, EPS, TIFF, DPX. See the manual page  of
17       ImageMagick for the full list of available formats.
18
19       pfsinimgmagick  reads images or frames from files and writes pfs stream
20       to the Standard Output. The pfs stream is usually piped to another pro‐
21       gram  for  further processing. To detect the format automatically based
22       on the extension, use pfsin command.
23
24       The output of pfsinimgmagick is scaled to 0-1  range,  unless  '--abso‐
25       lute'  option  is  specified. By default, the 'LUMINANCE' tag is set to
26       'DISPLAY' contents. Using the  '--linear'  switch  you  can  force  the
27       inverse  sRGB  transformation  to provide linear data. In this case the
28       'LUMINANCE' tag is set to 'RELATIVE' contents. '--absolute' switch  can
29       be used to convert pixels to absolute luminance values.
30
31       This  command handles properly 'alpha' channel (transparency) stored in
32       images.
33
34       Each file can contain a %d pattern, which  is  substituted  with  frame
35       numbers. The pattern has the same syntax as C printf command. For exam‐
36       ple, you can use %04d to make the frame number four digit with proceed‐
37       ings  zeros. You can select the frames using the following options (the
38       options must be always given after the file name):
39
40
41       --frames <range>
42              Range is given in mathlab / octave format:
43
44              startframe:step:endframe
45
46              Frame numbers start with startframe (default 0),  are  increased
47              by  step  (default  1)  and stop at endframe You can skip one of
48              those values, for example 1:100 for frames 1,2,...,100 and  0:2:
49              for frame 0,2,4,... up to the last file that exists.
50
51
52       --skip-missing
53              Skip  up to ten frames in a row if corresponding files are miss‐
54              ing. Otherwise the program stops reading sequence at  the  first
55              file  that  does  not  exists. This switch does not apply to the
56              first frame in a sequence. This switch can be useful if there is
57              a rendered animation where some of the frame has not been gener‐
58              ated.
59
60
61       --linear, -l
62              Converts pixel values to linear luminance  (XYZ),  assuming  the
63              sRGB  color  space  for the input image. The maximum pixel value
64              (255,255,255) is mapped to Y=1. LUMINANCE tag is  set  to  RELA‐
65              TIVE.
66
67
68       --absolute <max_lum>, -a <max_lum>
69              --absolute converts pixel values to an absolute linear luminance
70              (XYZ), that is the color space,  in  which  channel  Y  contains
71              luminance  given  in cd/m^2. The sRGB color space is assumed for
72              the input image. The maximum pixel value (255,255,255) is mapped
73              to  Y=<max_lum>. <max_lum> is typically set to 80 [cd/m^2] for a
74              CRT monitor.  LUMINANCE  tag  is  set  to  ABSOLUTE.  --absolute
75              process  images  almost the same as --relative, but additionally
76              it scales all pixels by <max_lum>.
77
78

EXAMPLES

80       pfsinimgmagick frame%04d.dpx --frames 0:10 | pfsview
81
82              Read  frames  from  files  frame0000.dpx,  frame0001.dpx,   ...,
83              frame0010.dpx and show them using pfsview.
84
85

BUGS

87       pfsinimgmagick can not read frames from the Standard Input.
88
89       Please  report  bugs  and  comments on implementation to the discussion
90       group http://groups.google.com/group/pfstools
91

SEE ALSO

93       pfsin(1), pfsout(1) ImageMagick(1)
94
95
96
97
98                                                             pfsinimgmagick(1)
Impressum