1Pnmscale User Manual(0) Pnmscale User Manual(0)
2
3
4
6 pnmscale - scale a PNM image
7
9 pnmscale
10 [
11 scale_factor
12 |
13 -xysize cols rows
14 |
15 -reduce reduction_factor
16 |
17 [-xsize=cols | -width=cols | -xscale=factor]
18 [-ysize=rows | -height=rows | -yscale=factor]
19 |
20 -pixels n
21 ]
22 [-verbose]
23 [-nomix]
24 [pnmfile]
25
26
27
29 This program is part of Netpbm(1).
30
31 pnmscale was obsoleted by pamscale(1),introducedwithNetpbm10.20 (Janu‐
32 ary 2004). pamscale is backward compatible with pnmscale, plus adds
33 many additional functions, including the ability to process PAM images,
34 and tends to produce better results.
35
36 pnmscale remains in the current Netpbm package because it probably has
37 fewer bugs for now than pamscale, and may have superior performance
38 characteristics in some cases. Some day, pnmscale will probably become
39 an alias for pamscale.
40
41 You can use the pamscale documentation for pnmscale, considering the
42 following differences:
43
44
45
46 · pnmscale options are a subset of pamscale's, as
47 documented above.
48
49 · pnmscale always assumes the input is linear, as pamscale
50 does when you specify its -linear option.
51
52 · pnmscale cannot process PAM images.
53
54
55
56netpbm documentation 25 January 2004 Pnmscale User Manual(0)