Version:
1.2
Date:
Wednesday, August 16, 2000
Description:
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
Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
|