1Pamenlarge User Manual(0) Pamenlarge User Manual(0)
2
3
4
6 pamenlarge - Enlarge a Netpbm image N times
7
8
10 pamenlarge N [pnmfile]
11
12
14 This program is part of Netpbm(1).
15
16 pamenlarge reads a Netpbm image as input, replicates its pixels N
17 times, and produces a Netpbm image as output. The output is the same
18 type of image as the input.
19
20 If you enlarge by a factor of 3 or more, you should probably add a
21 pnmsmooth step; otherwise, you can see the original pixels in the
22 resulting image.
23
24 pamenlarge can enlarge only by integer factors. The slower but more
25 general pamscale can enlarge or reduce by arbitrary factors. pamscale
26 allows you to enlarge by resampling, which gives you smoother enlarge‐
27 ments. But it is much slower.
28
29 pamstretch is another enlarging program that enlarges by integer fac‐
30 tors. It does a simple kind of resampling that gives you a smoothed
31 enlargement with less computational cost.
32
33 pbmreduce can reduce by integer factors, but only for PBM images.
34
35
37 pamenlarge was new in Netpbm 10.25 (October 2004). It is designed as a
38 replacement for pnmenlarge by Jef Poskanzer, which was in Pbmplus as
39 far back as 1989. The major difference is that pamenlarge can enlarge
40 PAM format images in addition to PNM.
41
42
43
45 pbmreduce(1), pamscale(1), pamstretch(1), pnmsmooth(1), pnm(1)
46
47
49 Copyright (C) 1989 by Jef Poskanzer.
50
51
52
53netpbm documentation 26 September 2004 Pamenlarge User Manual(0)