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

NAME

6       pfssize - Resize frames
7

SYNOPSIS

9       pfssize  [--x  <new_width>]  [--y <new_height>] [--ratio <scale_ratio>]
10       [--maxx <max_width>] [--maxy <max_heigh>] [--minx <max_width>]  [--miny
11       <max_heigh>] [--filter <filter-name>]
12

DESCRIPTION

14       Resize  all frames and all channels in the stream. Note that resampling
15       is done on each channel as it is - for color images resampling is  usu‐
16       ally done in linear (not gamma corrected) XYZ color space.
17

OPTIONS

19       --x <new_width>, -x <new_width>
20
21              New x resolution in pixels.
22
23
24       --y <new_height>, -y <new_height>
25
26              New y resolution in pixels.
27
28
29       --ratio <scale_ratio>, -r <scale_ratio>
30
31              Resize  both width and height using the given ratio. Ratio equal
32              1 is the original size, lower than 1 makes  the  frames  smaller
33              and greater than 1, enlarges the frames.
34
35
36       --minx <max_width>, --miny <max_heigh>
37
38              Make  sure  that  the  resulting  image has at least <min_width>
39              width and/or <min_height> height. Cannot be used in  combination
40              with -x, -y and --ratio.
41
42
43       --maxx <max_width>, --maxy <max_heigh>
44
45              Make sure that the resulting image has at most <max_width> width
46              and/or <max_height> height. Cannot be used in  combination  with
47              -x, -y and --ratio.
48
49
50       --filter <filter-name>, -f <filter-name>
51
52              Use  filter  <filter-name>  for upsampling (on downsampling, box
53              filter is always used). Available filters:
54
55              BOX Box filter. This is the fastest and the filter, but it  also
56              causes visible aliasing artifacts.
57
58              LINEAR (default) Bi-linear filter.
59
60              MITCHELL  Mitchell  filter.  From Mitchell and Netravali, Recon‐
61              struction Filters in  Computer  Graphics,In  Computer  Graphics,
62              vol.  22  (4) 1988. Since the filter contains negative parts, it
63              may cause halo artifacts and it may result  in  negative  values
64              for HDR images.
65
66
67

EXAMPLES

69       pfsin memorial.hdr | pfssize -r 0.25 | pfsout memorial_small.hdr
70
71              Lower the resolution of memorial.hdr four times.
72
73

SEE ALSO

75       pfsin(1) pfsout(1)
76

BUGS

78       Please   report  bugs  and  comments  to  Rafal  Mantiuk  <mantiuk@mpi-
79       sb.mpg.de>.
80
81
82
83                                                                    pfssize(1)
Impressum