[argyllcms] Re: Detecting if a point is in or out of gamut

  • From: Klaus Karcher <lists@xxxxxxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 18 Aug 2007 22:49:01 +0200

John Weissberg wrote:
We are building printer profiles. We are searching for a method to detect whether a given point in is in or out of the printer's gamut.

[...]

Do any of the existing functions/methods in argyll cms do this?


xicclu -fif -ia works reliable on my experience, e.g.:

klaus$ xicclu -ff -ia ~/Library/ColorSync/Profiles/ISOcoated.icc
0 100 100 0
0.000000 100.000000 100.000000 0.000000 [CMYK] -> Lut -> 47.262251 68.630662 44.935377 [Lab] (clip)

klaus$ xicclu -fif -ia ~/Library/ColorSync/Profiles/ISOcoated.icc
47.2 68.5 44.8
47.200000 68.500000 44.800000 [Lab] -> Lut -> 0.000000 0.999724 0.998905 0.002262 [CMYK]
47.2 69.0 45
47.200000 69.000000 45.000000 [Lab] -> Lut -> 0.000000 1.000000 1.000000 0.000000 [CMYK] (clip)
49.0 68.5 44.8
49.000000 68.500000 44.800000 [Lab] -> Lut -> 0.000000 0.987024 0.987596 0.000000 [CMYK] (clip)

Klaus

Other related posts: