Is CGColorSpaceCreateWithName supported?

35 views
Skip to first unread message

Fritz Anderson

unread,
Jan 3, 2012, 1:40:16 PM1/3/12
to quartz-dev list
iOS 5.0 SDK, Xcode 4.2

I'd like to use CGColorSpaceCreateWithName(), which I assume lets me choose among a repertoire of valid spaces, but I can't find the eligible names. The documentation directs me to some article or section called "Color Space Names," but there's no link, and searching the docset turns up nothing. I've looked in the header file, and there are no string externs in it.

The availability macros say CGColorSpaceCreateWithName has been in iOS since 2.0, and has not been deprecated, but it's of no use without the keys. Dead API?

— F

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (Quart...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/quartz-dev-garchive-50095%40googlegroups.com

This email sent to quartz-dev-g...@googlegroups.com

Sandy McGuffog

unread,
Jan 3, 2012, 2:06:09 PM1/3/12
to Fritz Anderson, quartz-dev list
Yes, dead API.

In fact, color management as a whole is pretty much unimplemented on iOS.

Sandy


On Jan 3, 2012, at 8:40 PM, Fritz Anderson wrote:

> iOS 5.0 SDK, Xcode 4.2
>
> I'd like to use CGColorSpaceCreateWithName(), which I assume lets me choose among a repertoire of valid spaces, but I can't find the eligible names. The documentation directs me to some article or section called "Color Space Names," but there's no link, and searching the docset turns up nothing. I've looked in the header file, and there are no string externs in it.
>
> The availability macros say CGColorSpaceCreateWithName has been in iOS since 2.0, and has not been deprecated, but it's of no use without the keys. Dead API?
>
> — F
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartz-dev mailing list (Quart...@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:

> http://lists.apple.com/mailman/options/quartz-dev/mcguffogl%40gmail.com
>
> This email sent to mcgu...@gmail.com

Ryan Britton

unread,
Jan 3, 2012, 6:53:44 PM1/3/12
to quartz-dev list
File an enhancement request as a duplicate of #7685385 if you'd like color management support in iOS. That's the one mine was marked as a duplicate for.

> http://lists.apple.com/mailman/options/quartz-dev/enigma0%40mac.com
>
> This email sent to eni...@mac.com

Reply all
Reply to author
Forward
0 new messages