I want to create a 1-bit mask from an image file. I can create a
CGImageRef from the file, but then what? CGImageMaskCreate wants
the bitmap in memory, but apparently CGBitmapContextCreate cannot
create a 1 bit per component bitmap context.
Create an 8 bit per component grayscale bitmap context and draw the
image into that. Then create the mask from the grayscale image data.
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden