.TL Pnmtoddif User Manual .SH 1 pnmtoddif .LP Updated: 2003 .br Table Of Contents .SH 2 NAME .LP pnmtoddif - Convert a PNM image to DDIF format .SH 2 SYNOPSIS .LP \fBpnmtoddif\fR [\fB-resolution\fR \fIx\fR \fIy\fR] [\fIpnmfile\fR [\fIddiffile\fR]] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBpnmtoddif\fR takes a PNM image and converts it into a DDIF image file. .LP \fBpnmtoddif\fR writes PBM format (bitmap) data as a 1 bit DDIF, PGM format data (grayscale) as an 8 bit grayscale DDIF, and PPM format (color) data as an 8,8,8 bit color DDIF. \fBpnmtoddif\fR writes any DDIF image file uncompressed. The data plane organization is interleaved by pixel. .LP 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. Netpbm images do not carry this information, hence you have to supply it externally. The default of 78 dpi has the beneficial property of not causing a resize on most Digital Equipment Corporation color monitors. .SH 2 OPTIONS .LP .RS .IP "\fBresolution\fR \fIx\fR \fIy\fR" The horizontal and vertical resolution of the output image in dots per inch. Default is 78 dpi. .RE .SH 2 ARGUMENTS .LP .RS .IP "\fIpnmfile\fR" The filename for the image file in pnm format. Default is to read from Standard Input. .IP "\fIddiffile\fR" The filename for the image file to be created in DDIF format. By default, \fBpnmtoddif\fR writes to Standard Output. .RE .SH 2 AUTHOR .LP Burkhard Neidecker-Lutz, Digital Equipment Corporation, CEC Karlsruhe neideck@nestvx.enet.dec.com .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu ARGUMENTS .IP \(bu AUTHOR .LP