SHARE
TWEET

Untitled

a guest May 2nd, 2012 18 Never
  1. How to save image larger than device resolution in iPhone?
  2. UIGraphicsBeginImageContextWithOptions(CGSizeMake(width, height), YES, 1.0f);
  3. CGContextRef context = UIGraphicsGetCurrentContext();
  4.  
  5. //do your drawing
  6.  
  7. UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
  8. UIGraphicsEdnImageContext();
  9.  
  10. //your resultant UIImage is now stored in image variable
RAW Paste Data
Top