Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

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

Version: 1.0

Posted: 2003-10-27

Build Requirements: N/A

Runtime Requirements: Carbon (both 9 and X) Color QuickDraw, CarbonLib

View Source Code:

Download Sample (“PixMap2PixPat2ppat.zip”, 49.7K)
Download Sample (“PixMap2PixPat2ppat.dmg”, 106.2K)


This sample has been updated for the Carbon API. PixMap2PixPat2Ppat has been updated to use GetPixRowBytes() and not leak a PixMap. This sample shows how to convert a 'icl8' image to a PixMap image and then to a PixPat and then finally to a 'ppat' resource. In this example, the 'ppat' resource is saved-off into a resource file. Requirements: Color QuickDraw, CarbonLib Keywords: QuickDraw PixMap PixPat ppat GetPixRowBytes, Carbon

Document Revision History

Date Notes
2003-10-27First Version

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.