Well, apparently it's not a framework problem since I can use:
CGImageSourceRef source =
CGImageSourceCreateWithData((CFDataRef)tempData, NULL);
without a problem...
Any other reasons why CGImageSourceCreateWithURL would yield an error
code -15???
On 18-Nov-08, at 3:18 AM, Jean-Nicolas Jolivet wrote:
What framework has to be linked/imported to use CGImages? I tried
<Quartz/Quartz.h> but when I try to load an image using:
CGImageSourceRef source =
CGImageSourceCreateWithURL( (CFURLRef)imgUrl, NULL);
I get the following error:
<Error>: CGImageSourceCreateWithURL failed with error code -15.
I am already importing <QuartzCore/QuartzCore.h> because I'm using
CIImag, however, now I need to use CGImage and for some reason I
can't get it to work...
Jean-Nicolas Jolivet
[EMAIL PROTECTED]
http://www.silverscripting.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/silvertab%40videotron.ca
This email sent to [EMAIL PROTECTED]
Jean-Nicolas Jolivet
[EMAIL PROTECTED]
http://www.silverscripting.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]