summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-leap-15-6/man1/ppmtopict.1
blob: c4f24bbaf7605d27c02c857460330d6a24a905c9 (plain)
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
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Ppmtopict User Manual" 0 "15 April 1990" "netpbm documentation"

.SH NAME

ppmtopict - convert a PPM image to a Macintosh PICT file

.UN synopsis
.SH SYNOPSIS

\fBppmtopict\fP

[\fIppmfile\fP]

.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBppmtopict\fP reads a PPM image as input and produces a
Macintosh PICT file as output.
.PP
The generated file is only the data fork of a picture.  You will
need a program such as \fImcvert\fP to generate a Macbinary or a
BinHex file that contains the necessary information to identify the
file as a PICT file to MacOS.
.PP
Even though PICT can have 2 and 4 bits per pixel, \fBppmtopict\fP
always generates an 8 bits per pixel file.

.UN limitations
.SH LIMITATIONS
.PP
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.

.UN seealso
.SH SEE ALSO
.BR "picttoppm" (1)\c
\&, 
.BR "ppm" (5)\c
\&, 
\fBmcvert\fP

.UN author
.SH AUTHOR

Copyright (C) 1990 by Ken Yap <\fIken@cs.rocester.edu\fP>.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source.  The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/ppmtopict.html
.PP