Can I get a new UIImage object from clipping an image using CGMutablePathRef ?

Posted by Noodle3D on Stack Overflow See other posts from Stack Overflow or by Noodle3D
Published on 2010-05-06T05:22:33Z Indexed on 2010/05/06 5:28 UTC
Read the original article Hit count: 440

Filed under:

I encountered a problem which in a word is clipping an image using user's path I know there are many code about drawing a clipped image, however that can not solve my problem, I want to get the clipped image object using the provided path. I am using CGMutablePathRef to get the path, but what next? to generate a mask? can anyone give me some advice, and direction will be greatly appreciated.

© Stack Overflow or respective owner

Related posts about image-clipping