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

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


.TL
Pnmscale User Manual
.SH 1
pnmscale
.LP
Updated: 25 January 2004
.br
Table Of Contents
.SH 2
NAME
.LP
pnmscale - scale a PNM image
.SH 2
SYNOPSIS
.LP
.DS L
   \fBpnmscale\fR
      [ 
         \fIscale_factor\fR 
         |
         \fB-xysize\fR \fIcols\fR \fIrows\fR 
         |
         \fB-reduce\fR \fIreduction_factor\fR 
         |
         [\fB-xsize=\fR\fIcols\fR | \fB-width=\fR\fIcols\fR | \fB-xscale=\fR\fIfactor\fR]
         [\fB-ysize=\fR\fIrows\fR | \fB-height=\fR\fIrows\fR | \fB-yscale=\fR\fIfactor\fR]
         |
         \fB-pixels\fR \fIn\fR
      ]
      [\fB-verbose\fR]
      [\fB-nomix\fR]
      [\fIpnmfile\fR]
.DE
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBpnmscale\fR was obsoleted by \fBpamscale\fR, introduced with Netpbm 10.20
(January 2004).  \fBpamscale\fR is backward compatible with
\fBpnmscale\fR, plus adds many additional functions, including the
ability to process PAM images, and tends to produce better results.
.LP
\fBpnmscale\fR remains in the current Netpbm package because it
probably has fewer bugs for now than \fBpamscale\fR, and may have
superior performance characteristics in some cases.  Some day,
\fBpnmscale\fR will probably become an alias for \fBpamscale\fR.
.LP
You can use the \fBpamscale\fR documentation for \fBpnmscale\fR,
considering the following differences:
.IP \(bu
\fBpnmscale\fR options are a subset of \fBpamscale\fR's, as
documented above.
.IP \(bu
\fBpnmscale\fR always assumes the input is linear, as \fBpamscale\fR
does when you specify its \fB-linear\fR option.
.IP \(bu
\fBpnmscale\fR cannot process PAM images.
.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.