• 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: Debugging "CGImageCreate: invalid image provider: NULL"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging "CGImageCreate: invalid image provider: NULL"?


  • Subject: Re: Debugging "CGImageCreate: invalid image provider: NULL"?
  • From: Izak van Langevelde <email@hidden>
  • Date: Sun, 31 Jul 2011 21:51:18 -0400

On 2011-07-31, at 9:28 PM, Graham Cox wrote:

>
> On 01/08/2011, at 11:25 AM, Izak van Langevelde wrote:
>
>>> Are you passing the bytes (or CFData) to the 'data provider' parameter? If so, that's wrong - you need to pass a CGDataProviderRef. Create one using CGDataProviderCreateWithData or CGDataProviderCreateWithCFData, depending on what form your bytes are in.
>>
>> I'm creating one with  CGDataProviderCreateSequential, using callbacks.
>>
>
>
> Seems like a lot of work for your situation. Does it work if you use one of the others?

I am now using  CGDataProviderCreateWithData which seems to work: thanks!
(I'll put to rest the question why CGDataProviderCreateSequential gives an error)

---
Grinnikend door het leven...

_______________________________________________

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

References: 
 >Debugging "CGImageCreate: invalid image provider: NULL"? (From: Izak van Langevelde <email@hidden>)
 >Re: Debugging "CGImageCreate: invalid image provider: NULL"? (From: Graham Cox <email@hidden>)
 >Re: Debugging "CGImageCreate: invalid image provider: NULL"? (From: Izak van Langevelde <email@hidden>)
 >Re: Debugging "CGImageCreate: invalid image provider: NULL"? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Debugging "CGImageCreate: invalid image provider: NULL"?
  • Next by Date: Re: Ticker tape display
  • Previous by thread: Re: Debugging "CGImageCreate: invalid image provider: NULL"?
  • Next by thread: OSX/iOS OpenID client library?
  • Index(es):
    • Date
    • Thread