Non-Mac PICT Parsing?
04-Mar-91 01:21:18
Sb: #40765-Non-Mac PICT Parsing?
Fm: Bill Steinberg 76703,1027
To: Syndesis 76004,1763
There are two 'PICT's common in the Mac World.
(1) A PICT resource is a picture resource, stored in the resource fork of a
file. The structure of a PICT resource, and of a resource fork, is
available in Inside Mac.
(2) A PICT document is a data fork based file of (o/s type) PICT. This is
different from a PICT resource. There is a header on this file of 512
bytes, which can hold info, but frequently doesn't. Traditionally, MacPaint
stored a palette in the header.
So, I guess you're trying to look at #2 above; you remove the MacBinary
header, and then the PICT header, and you get the data which is the
bitmapped picture you're looking for. When this doesn't work, you are
probably looking at #1 above, which is completely different.
Bill S