How can I get a CGImageRef from a file?
- by OTisler
So I know you can get a CGImage from a file using UIImage...
UIImage *img = [UIImage imageNamed:@"name.bmp"];
[img CGImage];
But, is there a way to get a CGImageRef without using a UIImage?
(I am trying this in a static library which doesn't have access to UIKit