Can I get a new UIImage object from clipping an image using CGMutablePathRef ?
- by Noodle3D
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.