Created
January 5, 2013 16:51
-
-
Save romyilano/4462467 to your computer and use it in GitHub Desktop.
CIImage loading from a png file in objective-C
This file contains hidden or 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
| NSString *path = [[NSBundle mainBundle] pathForResource:@"kittymike_536x536" ofType:@"png"]; | |
| NSURL *fileURL = [NSURL fileURLWithPath:path]; | |
| CIImage *image = [CIImage imageWithContentsOfURL:fileURL]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment