Skip to content

Instantly share code, notes, and snippets.

@romyilano
Created January 5, 2013 16:51
Show Gist options
  • Select an option

  • Save romyilano/4462467 to your computer and use it in GitHub Desktop.

Select an option

Save romyilano/4462467 to your computer and use it in GitHub Desktop.
CIImage loading from a png file in objective-C
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