- 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();
- //your resultant UIImage is now stored in image variable
a guest May 2nd, 2012 19 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data