Re: Debugging "CGImageCreate: invalid image provider: NULL"?
Re: Debugging "CGImageCreate: invalid image provider: NULL"?
- Subject: Re: Debugging "CGImageCreate: invalid image provider: NULL"?
- From: Graham Cox <email@hidden>
- Date: Mon, 01 Aug 2011 11:28:05 +1000
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?
--Graham
_______________________________________________
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