man-pages/man1/ppmtopict.1.html
2021-03-31 01:06:50 +01:00

82 lines
2.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of ppmtopict</TITLE>
</HEAD><BODY>
<H1>ppmtopict</H1>
Section: User Commands (1)<BR>Updated: 15 April 1990<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="ixAAB"></A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
ppmtopict - convert a portable pixmap into a Macintosh PICT file
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>ppmtopict</B>
[<I>ppmfile</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Reads a portable pixmap as input.
Produces a Macintosh PICT file as output.
<A NAME="ixAAC"></A>
<A NAME="ixAAD"></A>
<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 supports 2 and 4 bits per pixel,
<I>ppmtopict</I>
always generates an 8 bits per pixel file.
<A NAME="lbAE">&nbsp;</A>
<H2>BUGS</H2>
The picture size field is only correct 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.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+picttoppm">picttoppm</A>(1), <A HREF="/cgi-bin/man/man2html?5+ppm">ppm</A>(5), <A HREF="/cgi-bin/man/man2html?1+mcvert">mcvert</A>(1)
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Copyright (C) 1990 by Ken Yap &lt;<A HREF="mailto:ken@cs.rocester.edu">ken@cs.rocester.edu</A>&gt;.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">BUGS</A><DD>
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="6"><A HREF="#lbAG">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:25 GMT, March 31, 2021
</BODY>
</HTML>