pnmnoraw
convert portable any map to plain (ASCII) anymap format
Synopsis
pnmtoplainpnm
[pnmfile]
add an example, a script, a trick and tips
examples
source
ppmquant 224 logo_linux_renux.ppm > logo_linux_renux_224.ppm
pnmnoraw logo_linux_renux_224.ppm >
logo_linux_renux_ascii_224.ppm
source
ppmquant 224 tmp.ppm > tmp224.ppm
pnmnoraw tmp224.ppm > logo_linux_clut224.ppm
rm tmp*.ppm
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
source
sleep 1
pnmnoraw logo_custom_224.ppm >
logo_rafael_clut224.ppm
sleep 1
rm logo_custom_224.ppm
source
pnminterp pnmnoraw pnmscale pnmsplit
pnmtofits pnmtojpeg pnmtopnm pnmtops \\\
pnmtotiff pnmtotiffcmyk ppmnorm ppmsvgalib
ppmtojpeg ppmtotga ppmtouil \\\
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