Technical Collection
Blog Technical Collection
Thursday, June 14, 2012
Export UIImage to file
Export to file:
- (void) exportImageToFile:(NSString*) path image:(UIImage*) image {
NSData *imageData = [NSData dataWithData:UIImagePNGRepresentation(image)];
[imageData writeToFile:path atomically:YES];
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment