Created
November 14, 2011 21:52
-
-
Save larsacus/1365311 to your computer and use it in GitHub Desktop.
"Eager" image deserialization - not mine - not sure where I found it - or how useful it may be...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIGraphicsBeginImageContextWithOptions(size,YES,0.0); | |
[image drawInRect:CGRectMake(0, 0, size.width, size.height)]; | |
UIImage *deserializedImage = UIGraphicsGetImageFromCurrentImageContext()]; | |
UIGraphicsEndImageContext(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment