Debian Codegraph @

upstream/debian-unstable/man1/pnmtoddif.1

raw
1 \
2 .\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
3 .\" Do not hand-hack it! If you have bug fixes or improvements, please find
4 .\" the corresponding HTML page on the Netpbm website, generate a patch
5 .\" against that, and send it to the Netpbm maintainer.
6 .TH "Pnmtoddif User Manual" 1 "2003" "netpbm documentation"
7
8 .SH NAME
9
10 pnmtoddif - Convert a PNM image to DDIF format
11
12 .UN synopsis
13 .SH SYNOPSIS
14
15 \fBpnmtoddif\fP
16 [\fB-resolution\fP \fIx\fP \fIy\fP]
17 [\fIpnmfile\fP [\fIddiffile\fP]]
18
19 .UN description
20 .SH DESCRIPTION
21 .PP
22 This program is part of
23 .BR "Netpbm" (1)\c
24 \&.
25 .PP
26 \fBpnmtoddif\fP takes a PNM image and converts it into a DDIF image
27 file.
28 .PP
29 \fBpnmtoddif\fP writes PBM format (bitmap) data as a 1 bit DDIF,
30 PGM format data (grayscale) as an 8 bit grayscale DDIF, and PPM format
31 (color) data as an 8,8,8 bit color DDIF. \fBpnmtoddif\fP writes any
32 DDIF image file uncompressed. The data plane organization is
33 interleaved by pixel.
34 .PP
35 In addition to the number of pixels in the width and height
36 dimension, DDIF images also carry information about the size that the
37 image should have, that is, the physical space that a pixel occupies.
38 Netpbm images do not carry this information, hence you have to supply
39 it externally. The default of 78 dpi has the beneficial property of
40 not causing a resize on most Digital Equipment Corporation color
41 monitors.
42
43 .UN options
44 .SH OPTIONS
45 .PP
46 In addition to the options common to all programs based on libnetpbm
47 (most notably \fB-quiet\fP, see
48 .UR index.html#commonoptions
49 Common Options
50 .UE
51 \&), \fBpnmtoddif\fP recognizes the following
52 command line option:
53
54
55 .TP
56 \fB-resolution\fP \fIx\fP \fIy\fP
57 The horizontal and vertical resolution of the output image in dots
58 per inch. Default is 78 dpi.
59
60
61
62 .UN arguments
63 .SH ARGUMENTS
64
65
66 .TP
67 \fIpnmfile\fP
68 The filename for the image file in pnm format. Default is to
69 read from Standard Input.
70
71 .TP
72 \fIddiffile\fP
73 The filename for the image file to be created in DDIF format. By
74 default, \fBpnmtoddif\fP writes to Standard Output.
75
76
77
78 .UN seealso
79 .SH SEE ALSO
80 .BR "pnm" (1)\c
81 \&
82
83 .UN author
84 .SH AUTHOR
85
86 Burkhard Neidecker-Lutz, Digital Equipment Corporation, CEC Karlsruhe
87 \[email protected]\fP
88 .SH DOCUMENT SOURCE
89 This manual page was generated by the Netpbm tool 'makeman' from HTML
90 source. The master documentation is at
91 .IP
92 .B http://netpbm.sourceforge.net/doc/pnmtoddif.html
93 .PP