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)
<h1>A short history of UNIX</h1>
<p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell
Laboratories, which is the research arm of the giant American corporation ATT. He and many
colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu.
In other words is there kind of an equal Linux with Unix?
Also what do I need to... (10 Replies)
I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)