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 (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 arch...@mail-archive.com

Reply via email to