86 lines
2.5 KiB
HTML
86 lines
2.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of pnmtoddif</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>pnmtoddif</H1>
|
|
Section: User Commands (1)<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>Name</H2>
|
|
|
|
pnmtoddif - Convert a portable anymap to DDIF format
|
|
<A NAME="lbAC"> </A>
|
|
<H2>Syntax</H2>
|
|
|
|
<B>pnmtoddif </B>
|
|
|
|
pnmtoddif [-resolution x y] [pnmfile [ddiffile]]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><I>resolution x y</I><DD>
|
|
The horizontal and vertical resolution of the output
|
|
image in dots per inch. Defaults to 78 dpi.
|
|
<DT id="2"><I>pnmfile</I><DD>
|
|
The filename for the image file in pnm format. If this
|
|
argument is omitted, input is read from stdin.
|
|
<DT id="3"><I>ddiffile</I><DD>
|
|
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.
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<TT>pnmtoddif</TT>
|
|
takes a portable anymap from standard input
|
|
and converts it into a DDIF image file on standard
|
|
output or the specified DDIF file.
|
|
<P>
|
|
|
|
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.
|
|
<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. 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.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Burkhard Neidecker-Lutz
|
|
<BR>
|
|
|
|
Digital Equipment Corporation, CEC Karlsruhe
|
|
<BR>
|
|
|
|
<A HREF="mailto:neideck@nestvx.enet.dec.com">neideck@nestvx.enet.dec.com</A>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="4"><A HREF="#lbAB">Name</A><DD>
|
|
<DT id="5"><A HREF="#lbAC">Syntax</A><DD>
|
|
<DT id="6"><A HREF="#lbAD">OPTIONS</A><DD>
|
|
<DT id="7"><A HREF="#lbAE">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAF">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:24 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|