pamenlarge
Updated: 26 September 2004
Table Of Contents
NAMEpamenlarge ‐ Enlarge a Netpbm image N times
SYNOPSISpamenlarge N [pnmfile]
DESCRIPTION
This program is part of Netpbm.
pamenlarge reads a Netpbm image as input, replicates its pix‐
els N times, and
produces a Netpbm image as output. The output is the same type
of image as
the input.
If you enlarge by a factor of 3 or more, you should probably
add a pnmsmooth
step; otherwise, you can see the original pixels in the re‐
sulting image.pamenlarge can enlarge only by integer factors. The slower but
more general
pamscale can enlarge or reduce by arbitrary factors. pamscale
allows you to
enlarge by resampling, which gives you smoother enlargements.
But it is much
slower.
pamstretch is another enlarging program that enlarges by inte‐
ger factors. It
does a simple kind of resampling that gives you a smoothed en‐
largement with
less computational cost.
pbmreduce can reduce by integer factors, but only for PBM im‐
ages.HISTORYpamenlarge was new in Netpbm 10.25 (October 2004). It is de‐
signed as a
replacement for pnmenlarge by Jef Poskanzer, which was in Pbm‐
plus as far
back as 1989. The major difference is that pamenlarge can en‐
large PAM format
images in addition to PNM.
SEE ALSO
pbmreduce, pamscale, pamstretch, pnmsmooth, pnm
AUTHOR
Copyright (C) 1989 by Jef Poskanzer.
_________________________________________________________________
Table Of Contents
* NAME
* SYNOPSIS
* DESCRIPTION
* SEE ALSO
* AUTHOR