Am developing jigsaw puzzle for iphone. Here I have done the enough googling but i couldn’t find any idea and code for How to crop the uiimage in irregular shap. for example pls check the below URL.
http://www.jigzone.com/puzzles/AA055D504773?z=1
If Any sample code and suggestion would be appreciated.
Cheers.
Using
bezier pathsyou can create apathof any shape you like and apply that as theclipping pathfor part of the image, so if you put the result into another image with a transparent background you would have created one piece of your puzzle. You have to come up with a way to create lots of pieces that fit together, but then of course that is the whole point of your app, so I think it is fair that you figure that one out yourself 🙂