Linux Commands Examples

A great documentation place for Linux commands

pnmnoraw

convert portable any map to plain (ASCII) anymap format

Synopsis

pnmtoplainpnm [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

0
source
            
ppmquant 224 logo_linux_renux.ppm > logo_linux_renux_224.ppm
pnmnoraw logo_linux_renux_224.ppm > logo_linux_renux_ascii_224.ppm
0
source
            
ppmquant 224 tmp.ppm > tmp224.ppm
pnmnoraw tmp224.ppm > logo_linux_clut224.ppm
rm tmp*.ppm
0
source
            
ppmquant 224 $1 > logo.ppm
pnmnoraw logo.ppm > logo_ascii.ppm
gdk-pixbuf-csource --macros logo_ascii.ppm > logo.tmp
sed -e "s/MY_PIXBUF/POKY_IMG/g" -e "s/guint8/uint8/g" logo.tmp > psplash-poky-img.h && rm logo.tmp && rm logo_ascii.ppm && rm logo.ppm
0
source
            
sleep 1
pnmnoraw logo_custom_224.ppm > logo_rafael_clut224.ppm
sleep 1
rm logo_custom_224.ppm
0
source
            
pnminterp pnmnoraw pnmscale pnmsplit pnmtofits pnmtojpeg pnmtopnm pnmtops \\\
pnmtotiff pnmtotiffcmyk ppmnorm ppmsvgalib ppmtojpeg ppmtotga ppmtouil \\\
0
source
            
pnminterp pnmnoraw pnmscale pnmsplit pnmtofits pnmtojpeg pnmtopnm pnmtops \\\
pnmtotiff pnmtotiffcmyk ppmnorm ppmsvgalib ppmtojpeg ppmtotga ppmtouil \\\

description

Reads a portable anymap as input, either from the named file or if no file named, from Standard Input. Writes out the image in plain (ASCII) anymap format to Standard Output. Of the three plain anymap formats, this program generates the one that corresponds naturally to the one of the three anymap formats that is the input (PBM for PBM, etc.).


see also

pnm

How can this site be more helpful to YOU ?


give  feedback