Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/pamenlarge.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Pamenlarge User Manual
.SH 1
pamenlarge
.LP
Updated: 26 September 2004
.br
Table Of Contents
.SH 2
NAME
.LP
pamenlarge - Enlarge a Netpbm image N times
.SH 2
SYNOPSIS
.LP
\fBpamenlarge\fR
\fIN\fR
[\fIpnmfile\fR]
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBpamenlarge\fR reads a Netpbm image as input, replicates its pixels
\fIN\fR times, and produces a Netpbm image as output.  The output is
the same type of image as the input.
.LP
If you enlarge by a factor of 3 or more, you should probably add a
\fBpnmsmooth\fR step; otherwise, you can see the original pixels in
the resulting image.
.LP
\fBpamenlarge\fR can enlarge only by integer factors.  The slower
but more general \fBpamscale\fR can enlarge or reduce by arbitrary
factors.  \fBpamscale\fR allows you to enlarge by resampling, which
gives you smoother enlargements.  But it is much slower.
.LP
\fBpamstretch\fR is another enlarging program that enlarges by
integer factors.  It does a simple kind of resampling that gives you a
smoothed enlargement with less computational cost.
.LP
\fBpbmreduce\fR can reduce by integer factors, but only for PBM
images.
.SH 2
HISTORY
.LP
.LP
\fBpamenlarge\fR was new in Netpbm 10.25 (October 2004).  It is
designed as a replacement for \fBpnmenlarge\fR by Jef Poskanzer,
which was in Pbmplus as far back as 1989.  The major difference is that
\fBpamenlarge\fR can enlarge PAM format images in addition to PNM.
.SH 2
SEE ALSO
.LP
pbmreduce,
pamscale,
pamstretch,
pnmsmooth,
pnm
.SH 2
AUTHOR
.LP
Copyright (C) 1989 by Jef Poskanzer.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
SEE ALSO
.IP \(bu
AUTHOR
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.