I don't know how you'd get a CGPath from a JPEG image; since JPEG
images don't have alpha channels, they're all rectangular. On second
thought, I guess I DO know how you'd get the path: just create a
For a PNG, I'm afraid you're going to have to do some interesting
image processing and curve fitting.
On Apr 18, 2005, at 9:28 AM, Nima Tiran wrote:
Does anybody know how we can get a CGPath from an image, the idea is
that I want to add a shape of an image into a CGContext for creating a
custom window shape.
Thanks for any help,
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden