Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Ppmtopict User Manual</TITLE></HEAD><BODY>
<H1>ppmtopict</H1>
Updated: 15 April 1990
<BR>
<A HREF="#index">Table Of Contents</A>

<H2>NAME</H2>

ppmtopict - convert a PPM image to a Macintosh PICT file

<H2 id="synopsis">SYNOPSIS</H2>

<B>ppmtopict</B>

[<I>ppmfile</I>]

<H2 id="description">DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>ppmtopict</b> reads a PPM image as input and produces a
Macintosh PICT file as output.

<P>The generated file is only the data fork of a picture.  You will
need a program such as <I>mcvert</I> to generate a Macbinary or a
BinHex file that contains the necessary information to identify the
file as a PICT file to MacOS.

<P>Even though PICT can have 2 and 4 bits per pixel, <b>ppmtopict</b>
always generates an 8 bits per pixel file.

<H2 id="limitations">LIMITATIONS</H2>

<p>The picture size field is correct only if the output is to a file
since writing into this field requires seeking backwards on a file.
However the PICT documentation seems to suggest that this field is not
critical anyway since it is only the lower 16 bits of the picture
size.

<H2 id="seealso">SEE ALSO</H2>

<A HREF="picttoppm.html">picttoppm</A>, 
<A HREF="ppm.html">ppm</A>, 
<b>mcvert</b>

<H2 id="author">AUTHOR</H2>

Copyright (C) 1990 by Ken Yap &lt;<A
HREF="mailto:ken@cs.rocester.edu">ken@cs.rocester.edu</A>&gt;.

<HR>
<H2 id="index">Table Of Contents</H2>
<UL>
<LI><A HREF="#synopsis">SYNOPSIS</A>
<LI><A HREF="#description">DESCRIPTION</A>
<LI><A HREF="#limitations">LIMITATIONS</A>
<LI><A HREF="#seealso">SEE ALSO</A>
<LI><A HREF="#author">AUTHOR</A>
</UL>
</BODY>
</HTML>