Linux Commands Examples

A great documentation place for Linux commands

pnmenlarge

read a portable anymap and enlarge it N times


see also : pbmreduce - pnmscale - pnmsmooth

Synopsis

pnmenlarge N [pnmfile]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

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 pbmreduce 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 , pnmscale , pnmsmooth , pnm


author

Copyright (C) 1989 by Jef Poskanzer.

How can this site be more helpful to YOU ?


give  feedback