home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
NETWORK
/
netpbm_docs.lzh
/
NETPBM
/
DOCS
/
ppmtopict.1
< prev
next >
Wrap
Text File
|
1996-11-18
|
1KB
|
38 lines
.TH ppmtopict 1 "15 April 1990"
.IX ppmtopict
.SH NAME
ppmtopict - convert a portable pixmap into a Macintosh PICT file
.SH SYNOPSIS
.B ppmtopict
.RI [ ppmfile ]
.SH DESCRIPTION
Reads a portable pixmap as input.
Produces a Macintosh PICT file as output.
.IX PICT
.IX Macintosh
.PP
The generated file is only the data fork of a picture.
You will need a program such as
.I mcvert
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 supports 2 and 4 bits per pixel,
.I ppmtopict
always generates an 8 bits per pixel file.
.SH BUGS
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.
.SH "SEE ALSO"
picttoppm(1), ppm(5), mcvert(1)
.SH AUTHOR
Copyright (C) 1990 by Ken Yap <ken@cs.rocester.edu>.
.\" Permission to use, copy, modify, and distribute this software and its
.\" documentation for any purpose and without fee is hereby granted, provided
.\" that the above copyright notice appear in all copies and that both that
.\" copyright notice and this permission notice appear in supporting
.\" documentation. This software is provided "as is" without express or
.\" implied warranty.