Standalones

scale


Scales the width and height of an image up or down. The scaling factors do not need to be integers.

To scale by integer factors, use the reduce and enlarge standalones. These two programs are faster, but run only with integers.

Note: This program is optimal with scaling factors in the range [0, 2]. For scaling factors larger than 2, use zoom.

Usage

scale <input file> <output file> [-S] <x> <y> 
[-r <repeat count>] [-s <start frame> <end frame> <step>] [-v]
<input file> is the name of the picture to be scaled.

<output file> is the name you want to give to the result.

If the -S option is used, <x> is the width of the result. If -S is not used, <x> is the horizontal scaling factor.

If the -S option is used, <y> is the height of the result. If -S is not used, <y> is the vertical scaling factor.

Options

-S
Specifies the resulting picture size.

-r
Specifies how many times each frame should be repeated. The default is 1.

-s
Scales a sequence of frames.

-v
Turns on the verbose mode.


Standalones Reference - 15 APR 1996

Generated with Harlequin WebMaker