| 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 "Ppmtopict User Manual" 1 "15 April 1990" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
|
| 10 |
ppmtopict - convert a PPM image to a Macintosh PICT file |
| 11 |
|
| 12 |
.UN synopsis |
| 13 |
.SH SYNOPSIS |
| 14 |
|
| 15 |
\fBppmtopict\fP |
| 16 |
|
| 17 |
[\fIppmfile\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 |
\fBppmtopict\fP reads a PPM image as input and produces a |
| 27 |
Macintosh PICT file as output. |
| 28 |
.PP |
| 29 |
The generated file is only the data fork of a picture. You will |
| 30 |
need a program such as \fImcvert\fP to generate a Macbinary or a |
| 31 |
BinHex file that contains the necessary information to identify the |
| 32 |
file as a PICT file to MacOS. |
| 33 |
.PP |
| 34 |
Even though PICT can have 2 and 4 bits per pixel, \fBppmtopict\fP |
| 35 |
always generates an 8 bits per pixel file. |
| 36 |
|
| 37 |
.UN options |
| 38 |
.SH OPTIONS |
| 39 |
.PP |
| 40 |
There are no command line options defined specifically |
| 41 |
for \fBppmtopict\fP, but it recognizes the options common to all |
| 42 |
programs based on libnetpbm (See |
| 43 |
.UR index.html#commonoptions |
| 44 |
Common Options |
| 45 |
.UE |
| 46 |
\&.) |
| 47 |
|
| 48 |
.UN limitations |
| 49 |
.SH LIMITATIONS |
| 50 |
.PP |
| 51 |
The picture size field is correct only if the output is to a file |
| 52 |
since writing into this field requires seeking backwards on a file. |
| 53 |
However the PICT documentation seems to suggest that this field is not |
| 54 |
critical anyway since it is only the lower 16 bits of the picture |
| 55 |
size. |
| 56 |
|
| 57 |
.UN seealso |
| 58 |
.SH SEE ALSO |
| 59 |
.BR "picttoppm" (1)\c |
| 60 |
\&, |
| 61 |
.BR "ppm" (1)\c |
| 62 |
\&, |
| 63 |
\fBmcvert\fP |
| 64 |
|
| 65 |
.UN author |
| 66 |
.SH AUTHOR |
| 67 |
|
| 68 |
Copyright (C) 1990 by Ken Yap <\[email protected]\fP>. |
| 69 |
.SH DOCUMENT SOURCE |
| 70 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 71 |
source. The master documentation is at |
| 72 |
.IP |
| 73 |
.B http://netpbm.sourceforge.net/doc/ppmtopict.html |
| 74 |
.PP |