Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to save image larger than device resolution in iPhone?
- UIGraphicsBeginImageContextWithOptions(CGSizeMake(width, height), YES, 1.0f);
- CGContextRef context = UIGraphicsGetCurrentContext();
- //do your drawing
- UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
- UIGraphicsEdnImageContext();
- //your resultant UIImage is now stored in image variable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement