ADC Home > Reference Library > Technical Q&As > Carbon > Graphics & Imaging >

Not Recommended Documentclose button

Important: The information in this document is Not Recommended and should not be used for new development.

Current information on this Reference Library topic can be found here:

Parsing the PICT File Format


Q: I am looking for the PICT file format, but I can't find it anywhere. Can you help?

A: The PICT file format is documented in Appendix A of " Inside Macintosh: Imaging with QuickDraw," which is available on Apple's Developer World web site.

Apple does not recommend reading or writing PICTs directly -- instead, use the usual documented QuickDraw routines (e.g. OpenCPicture, ClosePicture, DrawPicture). For example, if you wanted to parse a PICT for PicComments, you could define a commentProc and patch out the QuickDraw bottlenecks. This is guaranteed to work, while parsing PICTs directly requires writing and testing a fair amount of code, and is likely to break in the future.

[Feb 10 1998]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.