I have been stuck for days on something that must be pretty simple, I’ve searched for a few days but I cant seem to get the right code to work.
I’ve two images, a background image and another image that will mask the first one. I can move the masked image with gestures. I can scale it, rotate it and move it.
http://i45.tinypic.com/dyq2k8.png
When I press the test button I want her face to get cropped/masked into another UIImage from the current location of the masked image.
Any thoughts on what I should do?
Help would be really, really nice 🙂
thanks.
😛
Funny that. I had wrote a demo application a while back which does everything you want, pinch zoom, pan photo.
You will have to provide your own image as I’ve only copied the source, but here it is: