pixhalve — halve a color pix file
pixhalve
[-a ] [-s squareinsize
] [-w in_width
] [-n in_height
] [<] [infile.pix
] > outfile.pix
pixhalve
will take a color
pix(5)
format file of given dimensions and reduce the resolution of the file
by one half in each direction using a 5x5 pyramid filter. If a file name
is not given, standard input will be used.
The
-w
and
-n
flags specify the input file width and number of scan lines in pixels;
they can be set to the same value via
-s
.
Defaults of 512 are assumed for unspecified dimensions.
The
-a
flag indicates autosizing (off by default).