SCALE(1) —
NAME
scale − resize a bitmap image
SYNOPSIS
scale [ −xmmm ] [ −ynnn ] [ −b ] [ −w ]
DESCRIPTION
Scale reads a bitmap image file from the standard input, expands or contracts it to a specified size, and writes it to the standard output. The option −xmmm specifies an x-axis (horizontal) size of mmm pixels, and −ynnn specifies a y-axis (vertical) size of nnn scanlines. No scaling is done in a particular direction if the corresponding option is omitted.
The -b and -w options influence the x-axis compression algorithm to preserve black or white details respectively. They can be used singularly or together; which choice is appropriate is an aesthetic judgment that depends on the nature of the image.
Scale is normally used by bitprt(1). A typical use would be
dumpaed | scale −x700 −b −w | lpr −Plp −h −v
SEE ALSO
bitprt(1), dumpaed(1), dumpapa16(1), dumpapa8(1), dumpapa8c(1), lpr(1), lp(4), lpfilter(8R)
BUGS
Scale truncates the specified x-size to the nearest multiple of 8.
Options −b and −w have no effect in the vertical direction (y-axis).
PRPQs 5799-WZQ/5799-PFF: IBM/4.3 — 15 Dec 1986