• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Which framework to use CGImage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which framework to use CGImage?


  • Subject: Re: Which framework to use CGImage?
  • From: Jean-Nicolas Jolivet <email@hidden>
  • Date: Tue, 18 Nov 2008 03:29:05 -0500

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@hidden http://www.silverscripting.com

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden

Jean-Nicolas Jolivet email@hidden http://www.silverscripting.com

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Which framework to use CGImage?
      • From: Roland King <email@hidden>
References: 
 >Which framework to use CGImage? (From: Jean-Nicolas Jolivet <email@hidden>)

  • Prev by Date: Re: Opening Ports in Leopard
  • Next by Date: Re: Which framework to use CGImage?
  • Previous by thread: Which framework to use CGImage?
  • Next by thread: Re: Which framework to use CGImage?
  • Index(es):
    • Date
    • Thread