Linux Commands Examples

A great documentation place for Linux commands


Sorry, no description

... the author of this command may not have provided any manuals

Once you know what this command is about, feel free to add a description in the input "add an example + trick and tips" below
 help other Linux-fans !

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!


no example yet ...

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


pnmtoddif takes a portable anymap from standard input and converts it into a DDIF image file on standard output or the specified DDIF file.

pbm format (bitmap) data is written as 1 bit DDIF, pgm format data (greyscale) as 8 bit greyscale DDIF, and ppm format data is written as 8,8,8 bit color DDIF. All DDIF image files are written as uncompressed. The data plane organization is interleaved by pixel.

In addition to the number of pixels in the width and height dimension, DDIF images also carry information about the size that the image should have, that is, the physical space that a pixel occupies. PBMPLUS images do not carry this information, hence it has to be externally supplied. The default of 78 dpi has the beneficial property of not causing a resize on most Digital Equipment Corporation color monitors.


resolution x y

The horizontal and vertical resolution of the output image in dots per inch. Defaults to 78 dpi.


The filename for the image file in pnm format. If this argument is omitted, input is read from stdin.


The filename for the image file to be created in DDIF format. If this argument is omitted, the ddiffile is written to standard output. It can only specified if a pnmfile is also specified.


pnmtoddif pnmtoddif [-resolution x y] [pnmfile [ddiffile]]


Burkhard Neidecker-Lutz
Digital Equipment Corporation, CEC Karlsruhe

How can this site be more helpful to YOU ?

give  feedback