Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pnmenlarge(1) [x11r4 man page]

pnmenlarge(1)						      General Commands Manual						     pnmenlarge(1)

NAME
pnmenlarge - read a portable anymap and enlarge it N times SYNOPSIS
pnmenlarge N [pnmfile] DESCRIPTION
Reads a portable anymap as input. Replicates its pixels N times, and produces a portable anymap as output. pnmenlarge can only enlarge by integer factors. The slower but more general pnmscale can enlarge or reduce by arbitrary factors, and pbm- reduce can reduce by integer factors, but only for bitmaps. 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 resulting image. SEE ALSO
pbmreduce(1), pnmscale(1), pnmsmooth(1), pnm(5) AUTHOR
Copyright (C) 1989 by Jef Poskanzer. 26 February 1989 pnmenlarge(1)

Check Out this Related Man Page

fstopgm(1)                                                    General Commands Manual                                                   fstopgm(1)

NAME
fstopgm - convert a Usenix FaceSaver(tm) file into a portable graymap SYNOPSIS
fstopgm [fsfile] DESCRIPTION
Reads a Usenix FaceSaver(tm) file as input. Produces a portable graymap as output. FaceSaver(tm) files sometimes have rectangular pixels. While fstopgm won't re-scale them into square pixels for you, it will give you the precise pnmscale command that will do the job. Because of this, reading a FaceSaver(tm) image is a two-step process. First you do: fstopgm > /dev/null This will tell you whether you need to use pnmscale. Then use one of the following pipelines: fstopgm | pgmnorm fstopgm | pnmscale -whatever | pgmnorm To go to PBM, you want something more like one of these: fstopgm | pnmenlarge 3 | pgmnorm | pgmtopbm fstopgm | pnmenlarge 3 | pnmscale <whatever> | pgmnorm | pgmtopbm You want to enlarge when going to a bitmap because otherwise you lose information; but enlarging by more than 3 does not look good. FaceSaver is a registered trademark of Metron Computerware Ltd. of Oakland, CA. SEE ALSO
pgmtofs(1), pgm(5), pgmnorm(1), pnmenlarge(1), pnmscale(1), pgmtopbm(1) AUTHOR
Copyright (C) 1989 by Jef Poskanzer. 06 April 89 fstopgm(1)
Man Page

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies