UIGraphicsBeginImageContextWithOptions(image.size, NO, image.scale); [[UIBezierPath bezierPathWithRoundedRect:RECT cornerRadius:RADIUS] addClip]; [image drawInRect:RECT]; UIImage* imageNew = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext();