I have an image in a rectangular shape, but I want to crop this star shape image in my iphone application. so please anyone can suggest how i do this? Plz suggest. thanks
See a comment on a related question on how to hide an image. The magic part of CGContextClipToMask .
CGContextClipToMask