Package netpbm-progs

Tools for manipulating graphics files in netpbm supported formats

http://netpbm.sourceforge.net/

The netpbm-progs package contains a group of scripts for manipulating the
graphics files in formats which are supported by the netpbm libraries. For
example, netpbm-progs includes the rasttopnm script, which will convert a
Sun rasterfile into a portable anymap. Netpbm-progs contains many other
scripts for converting from one graphics file format to another.

If you need to use these conversion scripts, you should install
netpbm-progs. You'll also need to install the netpbm package.

General Commands
Command Description
411toppm convert Sony Mavica .411 image to PPM
anytopnm convert an arbitrary type of image file to PBM, PGM, or PPM
asciitopgm convert ASCII graphics into a PGM
atktopbm convert Andrew Toolkit raster object to PBM
avstopam convert an AVS X image to a Netpbm image
bioradtopgm convert a Biorad confocal file into a PGM image
bmptopnm convert a BMP file into a PBM, PGM, or PNM image
bmptoppm replaced by bmptopnm
brushtopbm convert a doodle brush file into a PBM image
cameratopam convert raw camera image to PAM
cistopbm convert Compuserve RLE image to PBM
cmuwmtopbm convert a CMU window manager bitmap into a PBM image
ddbugtopbm convert Diddle or DiddleBug sketches to PBM files
escp2topbm
eyuvtoppm convert a Berkeley YUV file to a PPM file
faxformat
fiascotopnm Convert compressed FIASCO image to PGM, or PPM
fitstopnm convert a FITS file into a PNM image
fstopgm convert a Usenix FaceSaver(tm) file into a PGM image
g3topbm convert a Group 3 fax file into a PBM image
gemtopbm replaced by gemtopnm
gemtopnm convert a GEM .img file into a PNM image
giftopnm convert a GIF file into a PNM image
gouldtoppm convert Gould scanner file into a PPM image
hdifftopam convert horizontal difference image to original PAM image
hipstopgm convert a HIPS file into a PGM image
icontopbm convert a Sun icon image to PBM
ilbmtoppm convert an ILBM file into a PPM image
imgtoppm convert an Img-whatnot file into a PPM image
infotopam convert Amiga .info icons to PAM
jbigtopnm JBIG to PNM image file converter
jpeg2ktopam convert JPEG-2000 code stream to PAM/PNM
jpegtopnm convert JPEG/JFIF file to PPM or PGM image
leaftoppm convert Interleaf image format to PPM image
lispmtopgm convert a Lisp Machine bitmap file to PGM
macptopbm convert a MacPaint file into a PBM image
manweb browse netpbm (and other) documentation
mdatopbm convert a Microdesign .mda or .mdp file into a PBM image
mgrtopbm convert a MGR bitmap into a PBM image
mrf monochrome recursive format (compressed bitmaps)
mrftopbm convert an MRF image to PBM format
mtvtoppm convert output from an MTV or PRT ray tracer into a PPM
neotoppm convert an Atari Neochrome .neo into a PPM image
palmtopnm convert a Palm Bitmap to a PNM image
pamaddnoise add noise to a Netpbm image
pamarith perform arithmetic on two Netpbm images
pambackground create a mask of the background area of an image
pambayer interpret Bayer patterns
pamchannel extract channels from a PAM image
pamcomp composite (overlay) two Netpbm images together
pamcrater create cratered terrain by fractal forgery
pamcut cut a rectangle out of a PAM, PBM, PGM, or PPM image
pamdeinterlace remove every other row from a PAM/PNM image
pamdepth change the depth (color resolution) in a Netpbm image
pamdice slice a Netpbm image into many horizontally and/or vertically
pamditherbw dither grayscale image to black and white
pamedge edge-detect an image
pamendian reverse endianness of a Netpbm image
pamenlarge Enlarge a Netpbm image N times
pamexec Execute a shell command on each image in a Netpbm image stream
pamfile describe a Netpbm (PAM or PNM) file
pamfix repair a Netpbm image with various corruptions
pamfixtrunc
pamflip flip or rotate a PAM or PNM image
pamfunc Apply a simple monadic arithmetic function to a Netpbm image
pamgauss create a two-dimensional Gaussian function as a PAM image
pamgradient create a four-corner gradient PAM image
pamlookup map an image to a new image by using it as indices into a table
pammasksharpen Sharpen an image via an unsharp mask
pammixinterlace mix adjacent lines to merge interlaced images
pammosaicknit validate a mosaic knitting pattern
pamoil turn a PAM image into an oil painting
pampaintspill
pamperspective a reverse scanline renderer for Netpbm images
pampick pick images out of a multi-image Netpbm image stream
pampop9 simulate a multi-lens camera such as the Pop9
pamrecolor alter colors without affecting luminance
pamrgbatopng convert PAM color/transparency image to PNG
pamrubber a rubber-sheeting utility that stretches an image based on control points
pamscale scale a Netpbm image
pamseq generate PAM image of all possible tuple values, in sequence
pamshadedrelief generate shaded relief image from an elevation map
pamsharpmap create map of sharpness in a PNM/PAM image
pamsharpness measure the sharpness of a PNM/PAM image
pamsistoaglyph convert a single-image stereogram to a red/cyan anaglyphic image
pamslice extract one line of values out of a Netpbm image
pamsplit split a multi-image Netpbm file into single-image files
pamstack stack planes of multiple PAM images into one PAM image
pamstereogram create a single-image stereogram from a PAM depth map
pamstretch scale up a PNM or PAM image by interpolating between pixels.
pamstretch-gen use pamstretch and pamscale to scale by non-integer values
pamsumm Summarize the samples in a Netpbm image arithmetically
pamsummcol summarize (sum, average, etc) a Netpbm image by column
pamtable print the raster as a table of numerical sample values
pamthreshold threshold grayscale image to black and white
pamtilt print the tilt angle of a PGM file
pamtoavs convert a Netpbm image to an AVS X image
pamtodjvurle convert a Netpbm image to DjVu Color RLE format
pamtofits convert a Netpbm image into FITS format
pamtogif convert a Netpbm image to a GIF image
pamtohdiff convert PAM image to horizontal difference image
pamtohtmltbl convert pnm/pam visual image to an HTML table
pamtojpeg2k convert PAM/PNM image to a JPEG-2000 code stream
pamtompfont Convert Netpbm image to Mplayer bitmap font file
pamtooctaveimg convert a Netpbm image to a GNU Octave image
pamtopam copy PAM image
pamtopdbimg convert a Netpbm image to a Palm Pilot Image Viewer PDB Image
pamtopfm Convert Netpbm image to PFM (Portable Float Map)
pamtopng convert a Netpbm image to PNG
pamtopnm convert PAM image to PBM, PGM, or PPM
pamtosrf convert a sequence of Netpbm images to a SRF image file
pamtosvg convert a Netpbm image to a SVG (Scalable Vector Graphics) image
pamtotga convert a Netpbm image to a TrueVision Targa file
pamtotiff convert a Netpbm image to a TIFF file
pamtouil convert a PNM or PNM/transparency image into a Motif UIL icon file
pamtowinicon convert Netpbm PAM images to a Microsoft Windows icon file
pamtoxvmini convert Netpbm image to an XV "thumbnail" picture
pamundice combine grid of images (tiles) into one
pamunlookup inverse of pamlookup
pamvalidate validate Netpbm image format
pamwipeout replace detail with smooth gradient from one edge to the other
pamx display Netpbm image in X Window System window
pbmclean despeckle a PBM image
pbmlife apply Conway's rules of Life to a PBM image
pbmmake create a blank bitmap of a specified size
pbmmask create a mask bitmap from a regular bitmap
pbmminkowski compute Minkowski integral
pbmpage create a one page test pattern for printing
pbmpscale enlarge a PBM image with edge smoothing
pbmreduce read a PBM image and reduce it N times
pbmtext render text into a PBM image
pbmtextps render text into a PBM image using a postscript interpreter
pbmto10x convert a PBM image into Gemini 10X printer graphics
pbmto4425 Display PBM images on an AT&T 4425 terminal
pbmtoascii convert a PBM image to ASCII graphics
pbmtoatk convert a PBM image to a Andrew Toolkit raster object
pbmtobbnbg convert a PBM image into BitGraph graphics
pbmtocis convert a PBM image to a CompuServe RLE image
pbmtocmuwm convert a PBM image into a CMU window manager bitmap
pbmtodjvurle convert a PBM image to DjVu Bitonal RLE format
pbmtoepsi convert a PBM image to an encapsulated PostScript style preview bitmap
pbmtoepson convert a PBM image into Epson printer graphics
pbmtoescp2 convert a PBM image to a ESC/P2 printer file
pbmtog3 convert a PBM image into a Group 3 MH fax file
pbmtogem convert a PBM image into a GEM .img file
pbmtogo convert a PBM image into compressed GraphOn graphics
pbmtoibm23xx convert a PBM image to IBM 23XX printer stream
pbmtoicon convert a Sun icon image to PBM
pbmtolj convert a PBM image to HP LaserJet format
pbmtoln03 convert PBM image to DEC LN03+ Sixel output
pbmtolps convert PBM image to PostScript
pbmtomacp convert a PBM image to a MacPaint file
pbmtomatrixorbital convert a PBM image to a Matrix Orbital LCD image
pbmtomda convert a PBM image to a Microdesign .mda
pbmtomgr convert a PBM image into a MGR bitmap
pbmtomrf convert a PBM format image to MRF
pbmtonokia convert a PBM image to Nokia Smart Messaging Formats
pbmtopgm convert PBM image to PGM by averaging areas
pbmtopi3 convert a PBM image into an Atari Degas .pi3 file
pbmtopk convert a PBM image into a packed (PK) format font
pbmtoplot convert a PBM image into a Unix 'plot' file
pbmtoppa convert PBM image to HP Printer Performance Architecture (PPA)
pbmtopsg3 convert PBM images to Postscript with G3 fax compression
pbmtoptx convert a PBM image into Printronix printer graphics
pbmtosunicon convert a PBM image into a Sun icon
pbmtowbmp convert a PBM image to a wireless bitmap (wbmp) file
pbmtox10bm convert a PBM image to an X11 bitmap
pbmtoxbm convert a PBM image to an X11 bitmap
pbmtoybm convert a PBM image into a Bennet Yee "face" file
pbmtozinc convert a PBM image into a Zinc bitmap
pbmupc create a Universal Product Code PBM image
pc1toppm convert an Atari Degas .pc1 into a PPM image
pcdindex renamed to pcdovtoppm
pcdovtoppm create index image for a photo CD
pcxtoppm convert a PCX file into a PPM image
pdbimgtopam convert a Palm Pilot Image Viewer PDB Image to a PAM image
pfmtopam Convert PFM (Portable Float Map) image to Netpbm format
pgmabel create cross section using Abel Integration for Deconvolution
pgmbentley Bentleyize a PGM image
pgmcrater create cratered terrain by fractal forgery
pgmdeshadow Deshadow a PGM image
pgmedge replaced by pamedge
pgmenhance edge-enhance a PGM image
pgmhist print a histogram of the values in a PGM image
pgmkernel generate a convolution kernel
pgmmake create a PGM image of a specified gray level and dimensions
pgmmedian apply a median filter to a PGM file
pgmminkowski compute Minkowski integral
pgmmorphconv perform morphological convolutions: dilation, erosion
pgmnoise create a PGM image made up of white noise
pgmnorm replaced by pnmnorm
pgmoil replaced by pamoil
pgmramp generate a grayscale ramp
pgmslice extract one line of pixel values out of a PGM
pgmtexture calculate textural features on a PGM image
pgmtofs convert PGM image to Usenix FaceSaver(tm) format
pgmtolispm convert a PGM image to Lisp Machine format
pgmtopbm convert a PGM image to PBM
pgmtopgm copy PGM image
pgmtoppm colorize a PGM (grayscale) image into a PPM (color) image
pgmtosbig convert PGM image to SBIG format
pgmtost4 convert PGM image to SBIG ST-4 format
pi1toppm convert an Atari Degas .pi1 into a PPM image
pi3topbm convert an Atari Degas .pi3 file into a PBM image
pjtoppm convert an HP PaintJet file to a PPM image
pktopbm convert packed (PK) format font into PBM
pngtopam convert a PNG image into a Netpbm image
pngtopnm convert a PNG image into a PNM image
pnmalias antialias a PNM image
pnmarith perform arithmetic on two PNM images
pnmcat concatenate Netpbm images
pnmcolormap create quantization color map for a Netpbm image
pnmcomp replaced by pamcomp
pnmconvol general MxN convolution on a Netpbm image
pnmcrop crop a Netpbm image
pnmcut replaced by pamcut
pnmdepth change the maxval in a PNM image
pnmenlarge replaced by pamenlarge
pnmfile replaced by pamfile
pnmflip
pnmgamma perform gamma adjustment on a PNM image
pnmhisteq histogram equalize a PNM image
pnmhistmap draw a histogram for a PGM or PPM file
pnmindex build a visual index of a bunch of PNM images
pnminterp replaced by pamstretch
pnminvert invert a PNM image
pnmmargin add borders to a PNM image
pnmmercator transform a worldmap from rectangular projection to Mercator projection and...
pnmmontage create a montage of PNM images
pnmnlfilt non-linear filters: smooth, alpha trim mean, optimal estimation smoothing, edge...
pnmnoraw replaced by pnmtoplainpnm
pnmnorm normalize the contrast in a Netpbm image
pnmpad add borders to a PNM image
pnmpaste paste a rectangle into a PNM image
pnmpsnr compute the difference between two images (the PSNR)
pnmquant quantize the colors in a Netpbm image to a smaller set
pnmquantall run Pnmquant on a bunch of files all at once, so they share a common colormap
pnmremap replace colors in a PNM image with colors from another set
pnmrotate rotate a PNM image by some angle
pnmscale replaced by pamscale
pnmscalefixed scale a PNM file quickly
pnmshear shear a PNM image by a specified angle
pnmsmooth smooth out an image
pnmsplit split a multi-image PNM file into multiple single-image files
pnmstitch stitch together two panoramic (side-by-side) photographs
pnmtile replicate an image to fill a specified region
pnmtoddif Convert a PNM image to DDIF format
pnmtofiasco Convert PNM file to FIASCO compressed file
pnmtofits replaced by pamtofits
pnmtojbig PNM to JBIG file converter
pnmtojpeg convert PNM image to a JFIF ("JPEG") image
pnmtopalm convert a PNM image to a Palm Bitmap
pnmtopclxl convert a PNM image to an HP LaserJet PCL XL printer stream
pnmtoplainpnm replaced by pnmtopnm
pnmtopng convert a PNM image to PNG
pnmtopnm copy a PNM image
pnmtops convert PNM image to Postscript
pnmtorast convert a PPM into a Sun rasterfile
pnmtorle convert a Netpbm image file into an RLE image file.
pnmtosgi convert a PNM image to a SGI image file
pnmtosir convert a PNM image into a Solitaire format
pnmtotiff replaced by pamtotiff
pnmtotiffcmyk convert a Netpbm image into a CMYK encoded TIFF file
pnmtoxwd convert a PNM into an X11 window dump
ppm3d convert two PPM images into an anaglyph (red/blue 3d glasses) PPM
ppmbrighten change a PPM image's Saturation and Value
ppmchange change all pixels of one color to another in a PPM image
ppmcie draw a CIE color chart as a PPM image
ppmcolormask produce mask of areas of a certain color in a PPM file
ppmcolors obsolete
ppmdcfont Turn a Ppmdfont file into C source for a builtin font
ppmddumpfont dump a Ppmdfont file
ppmdim dim a PPM image
ppmdist simplistic grayscale assignment for machine generated, color images
ppmdither ordered dither for color images
ppmdmkfont Create Ppmdfont "standard".
ppmdraw draw lines, text, etc on a PPM image
ppmfade generate a transition between two image files using special effects
ppmflash brighten a picture to approach white
ppmforge fractal forgeries of clouds, planets, and starry skies
ppmglobe generate strips to glue onto a sphere
ppmhist print a histogram of the colors in a PPM image
ppmlabel add text to a PPM image
ppmmake create a PPM image of a specified color and dimensions
ppmmix blend together two PPM images
ppmnorm replaced by pnmnorm
ppmntsc Make RGB colors legal for NTSC or PAL color systems.
ppmpat make a pretty PPM image
ppmquant quantize the colors in a PPM image down to a specified number
ppmquantall replaced by pnmquantall
ppmrainbow Generate a rainbow
ppmrelief compute a relief of a PPM image
ppmrough create PPM image of two colors with a ragged border between them
ppmshadow add simulated shadows to a PPM image
ppmshift shift lines of a PPM image left or right by a random amount
ppmspread displace a PPM image's pixels by a random amount
ppmtoacad convert PPM to Autocad database or slide
ppmtoapplevol convert a PPM into an Apple volume label image
ppmtoarbtxt generate image in arbitrary text format from PPM image
ppmtoascii convert a PPM image to ASCII graphics with ANSI terminal color
ppmtobmp convert a PPM image into a BMP file
ppmtoeyuv convert a PPM image into a Berkeley YUV file
ppmtogif
ppmtoicr convert a PPM image into NCSA ICR format
ppmtoilbm convert a PPM image into an ILBM file
ppmtojpeg replaced by pnmtojpeg
ppmtoleaf convert PPM image to Interleaf image format
ppmtolj convert a PPM image to an HP LaserJet PCL 5 Color file
ppmtomap create a map of all colors in a PPM image
ppmtomitsu convert a PPM image to a Mitsubishi S340-10 file
ppmtoneo convert a PPM into an Atari Neochrome .neo file
ppmtopcx convert a PPM image to a PCX file
ppmtopgm convert a PPM image to a PGM image
ppmtopi1 convert a PPM image into an Atari Degas .pi1 file
ppmtopict convert a PPM image to a Macintosh PICT file
ppmtopj convert a PPM image to an HP PaintJet file
ppmtopjxl convert a PPM image to an HP PaintJet XL PCL file
ppmtoppm copy PPM image
ppmtopuzz convert a PPM image to an X11 "puzzle" file
ppmtorgb3 separate a PPM image into three PGMs
ppmtosixel convert a PPM image to DEC sixel format
ppmtospu convert a PPM image to an Atari Spectrum 512 image
ppmtoterm convert a PPM image to a ANSI ISO 6429 ascii image
ppmtouil replaced by pamtouil
ppmtowinicon convert PPM image into a Windows .ico file
ppmtoxpm convert a PPM image to an X11 pixmap
ppmtoyuv convert a PPM image to an Abekas YUV file
ppmtoyuvsplit convert a PPM image to 3 subsampled raw YUV files
ppmtv make a PPM image look like taken from an American TV
ppmwheel make a PPM image of a color wheel
psidtopgm convert PostScript "image" data to a PGM image
pstopnm convert a PostScript file to a PNM image
qrttoppm convert output from the QRT ray tracer to a PPM image
rasttopnm convert a Sun rasterfile to a PNM image
rawtopgm convert raw grayscale bytes to a PGM image
rawtoppm convert a stream of raw RGB bytes to a PPM image
rgb3toppm combine three PGM images (R, G, B) into one PPM image
rlatopam convert Alias/Wavefront RLA and RPF image files to PAM image files.
rletopnm convert a Utah Raster Tools RLE image file to a PNM image file.
sbigtopgm convert an SBIG CCDOPS file to PGM
sgitopnm convert a SGI image file to PNM
sirtopnm convert a Solitaire file to PNM
sldtoppm convert an AutoCAD slide file to a PPM image
spctoppm convert an Atari compressed Spectrum file to a PPM
spottopgm convert SPOT satellite images to a PGM image
sputoppm convert an Atari uncompressed Spectrum file to a PPM image
srftopam convert a SRF image file to Netpbm images
st4topgm convert an SBIG ST-4 camera file to PGM
sunicontopnm convert a Sun icon into a Netpbm image
svgtopam convert an SVG (Scalable Vector Graphics) image to Netpbm format
tgatoppm convert TrueVision Targa file to a PPM image
thinkjettopbm convert HP ThinkJet printer commands file to PBM
tifftopnm convert a TIFF file into a PNM image
wbmptopbm convert a wireless bitmap (wbmp) file to a PBM
winicon Microsoft Windows icon files
winicontopam convert a Microsoft Windows icon file into a Netpbm PAM file
winicontoppm convert a Windows .ico image into 1 or more PPM images
xbmtopbm convert an X11 or X10 bitmap to a PBM image
ximtoppm convert an Xim file to a PPM image
xpmtoppm convert an X11 pixmap to a PPM image
xvminitoppm convert an XV "thumbnail" picture to PPM
xwdtopnm convert an X11 or X10 window dump file to a PNM image
ybmtopbm convert a Bennet Yee "face" file to PBM
yuvsplittoppm convert separate Y, U, and V files into a PPM image
yuvtoppm convert Abekas YUV bytes to PPM
yuy2topam convert YUY2 bytes to PAM
zeisstopnm convert a Zeiss confocal file to PNM
File Formats
File Description
pam Netpbm common 2-dimensional bitmap format
pbm Netpbm bi-level image format
pfm PFM graphic image file format
pgm Netpbm grayscale image format
pnm Netpbm superformat
ppm Netpbm color image format