Home| base |src.bin|graphic| ppmd Index

ppmd

Syntax
ppmd --help
ppmd [-smooth] [-scale sf] [-wdt width] [-hgt height] [-display display] [-xoff xoff] [-yoff yoff] [name]
Synopsis

Displays a Portable PixMap (PPM) image on an X-terminal.

Options
--helpprint the help message and exit.
-smoothsmooth the image.
-scale scalepercentage scale factor to display image at.
-wdt widthset the width of the image to width pixels.
-hgt heightset the height of the image to height pixels.
-display displayconnect to the xterminal named display.
-xoff xoffopen the window, xoff pixels from the left edge of the screen.
-yoff yoffopen the window ypad pixels from the top edge of the screen.
nameimage filename. If this is omitted the image will be read from standard input.
Description

Displays a Portable PixMap (PPM) image on an X-terminal.

The image file is displayed in a window on the terminal. Clicking a mouse button in the window will terminate the program.

Examples
ppmd inp.ppm

Display the PPM file inp.ppm on the X-terminal.