[comp.sys.mac.misc] PICT format

ewm@mdavcr.UUCP (Eric W. Mitchell) (09/16/90)

Anyone know where I can get the PICT specification?  I need to convert
some PICT pictures to our proprietary format.

Thanks,

Eric

kw1r+@andrew.cmu.edu (Kevin Whitley) (09/19/90)

You can find specs for the PICT format in Inside Mac Vol V (pages
97-105).  Note that there are both old fashioned PICTs and new (color)
PICTs.

But if you want to translate the PICT to another format, the easiest
thing to do is to install your own drawing primitives into Quickdraw
using the routine SetStdProcs (Inside Mac Vol I, page 197-198) and then
draw the PICT normally - your routines will then get called to draw the
lines, etc. and you can write out to file your proprietary format.

This method was suggested to me by some kind person on the
mac.programmer bulletin board (when I asked the PICT format question,
seems like everybody asks it at some point) and it works like a charm.

Kevin Whitley
kw1r@andrew.cmu.edu