1Ppmtopict User Manual(0) Ppmtopict User Manual(0)
2
3
4
6 ppmtopict - convert a PPM image to a Macintosh PICT file
7
8
10 ppmtopict
11
12 [ppmfile]
13
14
16 This program is part of Netpbm(1).
17
18 ppmtopict reads a PPM image as input and produces a Macintosh PICT file
19 as output.
20
21 The generated file is only the data fork of a picture. You will need a
22 program such as mcvert to generate a Macbinary or a BinHex file that
23 contains the necessary information to identify the file as a PICT file
24 to MacOS.
25
26 Even though PICT can have 2 and 4 bits per pixel, ppmtopict always gen‐
27 erates an 8 bits per pixel file.
28
29
31 The picture size field is correct only if the output is to a file since
32 writing into this field requires seeking backwards on a file. However
33 the PICT documentation seems to suggest that this field is not critical
34 anyway since it is only the lower 16 bits of the picture size.
35
36
38 picttoppm(1), ppm(1), mcvert
39
40
42 Copyright (C) 1990 by Ken Yap <ken@cs.rocester.edu>.
43
44
45
46netpbm documentation 15 April 1990 Ppmtopict User Manual(0)