summary refs log tree commit diff
path: root/pnmscale.html
blob: 428fb8a697fa9016ad45db7c00b58a3be94036d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pnmscale User Manual</TITLE></HEAD>
<BODY>
<H1>pnmscale</H1>
Updated: 25 January 2004
<BR>
<A HREF="#index">Table Of Contents</A>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

pnmscale - scale a PNM image
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<pre>
   <B>pnmscale</B>
      [ 
         <I>scale_factor</I> 
         |
         <b>-xysize</b> <I>cols</i> <i>rows</I> 
         |
         <B>-reduce</B> <I>reduction_factor</I> 
         |
         [<B>-xsize=</B><I>cols</I> | <B>-width=</B><I>cols</I> | <B>-xscale=</B><I>factor</I>]
         [<B>-ysize=</B><I>rows</I> | <B>-height=</B><I>rows</I> | <B>-yscale=</B><I>factor</I>]
         |
         <b>-pixels</B> <I>n</I>
      ]
      [<B>-verbose</b>]
      [<b>-nomix</B>]
      [<I>pnmfile</I>]

</pre>

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>pnmscale</b> was obsoleted by <a
href="pamscale.html"><b>pamscale</b></a>, introduced with Netpbm 10.20
(January 2004).  <b>pamscale</b> is backward compatible with
<b>pnmscale</b>, plus adds many additional functions, including the
ability to process PAM images, and tends to produce better results.

<p><b>pnmscale</b> remains in the current Netpbm package because it
probably has fewer bugs for now than <b>pamscale</b>, and may have
superior performance characteristics in some cases.  Some day,
<b>pnmscale</b> will probably become an alias for <b>pamscale</b>.

<p>You can use the <b>pamscale</b> documentation for <b>pnmscale</b>,
considering the following differences:

<ul>
<li><b>pnmscale</b> options are a subset of <b>pamscale</b>'s, as
     documented above.
<li><b>pnmscale</b> always assumes the input is linear, as <b>pamscale</b>
     does when you specify its <b>-linear</b> option.
<li><b>pnmscale</b> cannot process PAM images.
</ul>

</BODY>
</HTML>