Re: How to create a CGColorSpaceRef with DeviceN model?
Re: How to create a CGColorSpaceRef with DeviceN model?
- Subject: Re: How to create a CGColorSpaceRef with DeviceN model?
- From: David Duncan <email@hidden>
- Date: Mon, 28 Feb 2011 13:10:54 -0800
On Feb 24, 2011, at 1:23 AM, Graham Cox wrote:
> How do you create a CGColorSpaceRef using the DeviceN model? It appears as if would allow spot colours to be specified, but I can't see how to create such a colorspace.
I haven't tried this, but I think you have to provide your own DeviceN color profile to CGColorSpaceCreateICCBased(). Quartz will fall back to the alternate colorspace that you provide for drawing to the screen but I think the ICC data and colors should still make it into PDFs.
Again, I haven't tried this myself, this is simply my recollection from having investigated this pathway in the past.
--
David Duncan
_______________________________________________
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