Hi,

>echo 10 90 0 10 | icctrans  -i"CoatedFOGRA39.icc" -o*Lab -n
>
>LittleCMS ColorSpace conversion calculator - v3.3
>
>47.4525 63.8438 -7.7734

This is exactly what PhotoShop CC 2015 gives


>echo 0 100 0 0 | icctrans  -i"CoatedFOGRA39.icc" -o*sRGB -n
>
>LittleCMS ColorSpace conversion calculator - v3.3
>
>229.56 0.00 125.60

Again, exact match after proper rounding.  I don't see what is wrong in
those calculations. 

>This is all VERY different to all other calculations I have seem for
example I would think RGB would be closer to 255 0 255

Please remember this is precision color management, so if you compare with
online converters that are applying  CMYK=1-RGB or things like that, results
are obviously different. But it is not Adobe or Littlecms who is wrong. RGB
255, 0, 255 is on gamut boundary which effectively is out of gamut. I doubt
any decent CMM will give 255, 0, 255, this is not in the ICC profile. 

Regards
Marti Maria
The LittleCMS project
http://www.littlecms.com 

-----Original Message-----
From: Harald Weinhandl [mailto:hvo...@gmail.com] 
Sent: martes, 7 de junio de 2016 5:58
To: lcms-user@lists.sourceforge.net
Subject: [Lcms-user] CMYK to CieLab

Hi

I have been trying all day to convert CMYK to Lab using the basic.

hTransform = cmsCreateTransform(
hCMYKProfile,
TYPE_CMYK_DBL,
 hLab,
TYPE_Lab_DBL,
INTENT_PERCEPTUAL,
0);


I have also tried icctrans which gives the same results

echo 10 90 0 10 | icctrans  -i"CoatedFOGRA39.icc" -o*Lab -n

LittleCMS ColorSpace conversion calculator - v3.3

47.4525 63.8438 -7.7734


If I also just use a simple CMYK to RGB

echo 0 100 0 0 | icctrans  -i"CoatedFOGRA39.icc" -o*sRGB -n

LittleCMS ColorSpace conversion calculator - v3.3

229.56 0.00 125.60

This is all VERY different to all other calculations I have seem for example
I would think RGB would be closer to
255 0 255

also checking many online converters

Am I doing something very wrong, I have tried other CMYK profiles like
USWebCoatedSWOP and they are nearly the same..

Harald

----------------------------------------------------------------------------
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to