Re: Converting colorspace of a CGColor
Re: Converting colorspace of a CGColor
- Subject: Re: Converting colorspace of a CGColor
- From: edward m taffel <email@hidden>
- Date: Fri, 03 Apr 2015 21:38:55 -0400
use ColorSync.
Sent from my iPhone
> On Apr 3, 2015, at 8:35 PM, Graham Cox <email@hidden> wrote:
>
> Is there a way to convert a CGColor to a different colorspace? It's trivial with NSColor, but I want to do the same at the lower CG level to keep the code as portable as possible between iOS and Mac. I'm sure I've done this in the past but I'm just not seeing the right function!
>
> --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
_______________________________________________
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