ppmtopict (1) - Linux Manuals
ppmtopict: convert a portable pixmap into a Macintosh PICT file
ppmtopict - convert a portable pixmap into a Macintosh PICT file
DESCRIPTIONReads a portable pixmap as input. Produces a Macintosh PICT file as output.
The generated file is only the data fork of a picture. You will need a program such as mcvert to generate a Macbinary or a BinHex file that contains the necessary information to identify the file as a PICT file to MacOS.
BUGSThe 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.
AUTHORCopyright (C) 1990 by Ken Yap <ken [at] cs.rocester.edu>.