blob: 987cabf27a2f83409a2bb6ce0c3144b74bbdc12b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pnmtoddif User Manual</TITLE></HEAD>
<BODY>
<H1>pnmtoddif</H1>
Updated: 2003
<BR>
<A HREF="#index">Table Of Contents</A>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
pnmtoddif - Convert a PNM image to DDIF format
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>pnmtoddif</B>
[<b>-resolution</b> <i>x</i> <i>y</i>]
[<i>pnmfile</i> [<i>ddiffile</i>]]
<A NAME="lbAE"> </A>
<H2>DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
<p><b>pnmtoddif</b> takes a PNM image and converts it into a DDIF image
file.
<P><b>pnmtoddif</b> 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. <b>pnmtoddif</b> writes any
DDIF image file uncompressed. The data plane organization is
interleaved by pixel.
<P>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.
<A NAME="lbAD"> </A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT><B>resolution</b> <i>x</i> <i>y</I>
<DD>The horizontal and vertical resolution of the output image in dots
per inch. Default is 78 dpi.
</DL>
<a name="arguments"></a>
<h2>ARGUMENTS</h2>
<dl>
<DT><I>pnmfile</I>
<DD>The filename for the image file in pnm format. Default is to
read from Standard Input.
<DT><I>ddiffile</I>
<DD>The filename for the image file to be created in DDIF format. By
default, <b>pnmtoddif</b> writes to Standard Output.
</DL>
<A NAME="lbAF"> </A>
<H2>AUTHOR</H2>
Burkhard Neidecker-Lutz, Digital Equipment Corporation, CEC Karlsruhe
<A HREF="mailto:neideck@nestvx.enet.dec.com">neideck@nestvx.enet.dec.com</A>
<HR>
<A NAME="index"> </A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAE">DESCRIPTION</A>
<LI><A HREF="#lbAD">OPTIONS</A>
<LI><A HREF="#arguments">ARGUMENTS</A>
<LI><A HREF="#lbAF">AUTHOR</A>
</UL>
</BODY>
</HTML>
|