• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSColor (RGB) from Lab values?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSColor (RGB) from Lab values?


  • Subject: NSColor (RGB) from Lab values?
  • From: b UND d <email@hidden>
  • Date: Thu, 17 Jun 2004 18:13:26 +0200

I want to have colors with given Lab values correctly displayed (= converted to RGB NSColors).

As far as i know NSColor does not support Lab color space. Is there a convenient way to convert the Lab values to RGB?
I thought of ColorSync but i found only 'CMConvertLabToXYZ' and no way further to RGB.

I found some math for converting Lab -> XYZ -> RGB at www.easyRGB.com - but the results of this formula slightly differ from what PhotoShop sais (all calculated colors are too bright).

Many thanks in advance for any help


Dominik
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: NSColor (RGB) from Lab values?
      • From: Glenn Andreas <email@hidden>
  • Prev by Date: sin(4*pi^2*t) 0 >= t <= pi/3, can you read this ?
  • Next by Date: / two questions /
  • Previous by thread: Re: sin(4*pi^2*t) 0 >= t <= pi/3, can you read this ?
  • Next by thread: Re: NSColor (RGB) from Lab values?
  • Index(es):
    • Date
    • Thread