Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pnmtoddif(1) [redhat man page]

pnmtoddif(1)						      General Commands Manual						      pnmtoddif(1)

Name
       pnmtoddif - Convert a portable anymap to DDIF format

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

OPTIONS
resolution x y The horizontal and vertical resolution of the output image in dots per inch. Defaults to 78 dpi. pnmfile The filename for the image file in pnm format. If this argument is omitted, input is read from stdin. ddiffile The filename for the image file to be created in DDIF format. If this argument is omitted, the ddiffile is written to stan- dard output. It can only specified if a pnmfile is also specified. DESCRIPTION
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. AUTHOR
Burkhard Neidecker-Lutz Digital Equipment Corporation, CEC Karlsruhe neideck@nestvx.enet.dec.com pnmtoddif(1)

Check Out this Related Man Page

DDIF(5) 							File Formats Manual							   DDIF(5)

Name
       DDIF - Digital Document Interchange Format (DDIF) files

Description
       Digital	Document Interchange Format (DDIF) is a DDIS/ASN.1 encoding for the interchange of revisable compound documents with document pro-
       cessing systems.  DDIF is also a document output format, a storage format for user documents residing on a disk, and  a	compound  document
       format.

       The  purpose  of DDIF is to allow the creation of compound documents and also to serve as a standard intermediate format for the conversion
       of documents based on other formats.  For example, a simple ASCII text file can be converted to DDIF, and the DDIF file can  then  be  con-
       verted to PostScript.  A DDIF document can also be converted to ASCII.

       DDIF files are documents or portions of compound documents.  A DDIF document is considered a simple document if it consists of one file.  A
       DDIF document is considered a compound document if it consists of more than one file, the master of which must be a DDIF file.

       A DDIF file can contain storage addresses (for example, filename) of other files, which must be DDIF, ASCII text,  binary,  or  PostScript.
       References to DOTS files is not supported.

       Because	a  DDIF file can reference another DDIF file and the referenced DDIF file can reference other DDIF files, a DDIF document can con-
       sist of a tree of files.

       The following commands are used to manipulate DDIF files:

       cdoc		   Provides a set of converters to and from DDIF format.

       ctod		   Packs DDIF documents into DOTS syntax.  The user can choose to archive a DDIF document in  this  manner.   The  command
			   also copies DDIF files from one location to another.

       dtoc		   Copies DDIF files from one location to another.

       dxvdoc		   Enables  user to view DDIF documents. The command is used on workstations running ULTRIX UWS software.  The command can
			   also display imbedded graphics and image data that is encoded in the DDIF syntax.

       vdoc		   Enables user to view DDIF documents.  The command is for use on character-cell terminals.

       DDIF documents can be mailed to other users.

See Also
       cdoc(1), ctod(1), dtoc(1), vdoc(1), dxvdoc(1X), DOTS(5), DDIS(5)

																	   DDIF(5)
Man Page