[MonoTouch] CGImageSource from file
Jason Awbrey
jason at awbrey.net
Thu Mar 1 17:56:27 UTC 2012
I need to create a CGImageSource from a file. Seems simple, but is driving
me nuts
// this works, I get a data object with the correct length
NSData data = NSDate.FromFile("image.jpg");
// this returns a null object
CGImageSource source = CGImageSource.FromData(data);
What am I doing wrong?
thanks - Jason1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120301/14a8ceb6/attachment.html>
More information about the MonoTouch
mailing list