Hi,

I have a strange issue when using absolute intent with tificc and 
jpgicc, which looks like a slightly too early clipping. As the results 
between tificc and jpgicc seem identical, I'll only talk about tificc.

Eg. if converting this image:
http://hoech.net/files/lcms-chad-test/chad-test.tif
with these sRGB profiles (one has a D50 whitepoint, the other D65):
http://hoech.net/files/lcms-clipping/sRGB_profiles_D50_D65.zip

Using tifficc:

tificc -n -i "sRGB Color Space Profile (D50 Whitepoint).icc" -t3 -d0 -o 
"sRGB Color Space Profile.icm" -e "chad-test.tif" 
"tificc2.2.sRGB_D50_ICCv2.sRGB_D65_ICCv2.abscol.d0.0.tif"

Then the red patch which had RGB=240 0 0 in the original image (2nd row, 
2nd patch from the right) is RGB=255 0 0 in the resulting image:
http://hoech.net/files/lcms-clipping/tificc2.2.sRGB_D50_ICCv2.sRGB_D65_ICCv2.abscol.d0.0.tif

transicc tells another value which I think is correct:

transicc -i "sRGB Color Space Profile (D50 Whitepoint).icc" -t3 -d0 -o 
"sRGB Color Space Profile.icm"
LittleCMS ColorSpace conversion calculator - 4.0 [LittleCMS 2.02]

Enter values, 'q' to quit
R? 240
G? 0
B? 0

R=246.6732 G=0.0000 B=0.0000

If reversing the order of the profiles, the effect occurs in the blue 
channel as expected:

tificc -n -i "sRGB Color Space Profile.icm" -t3 -d0 -o "sRGB Color Space 
Profile (D50 Whitepoint).icc" -e "chad-test.tif" 
"tificc2.2.sRGB_D65_ICCv2.sRGB_D50_ICCv2.abscol.d0.0.tif"

The blue patch which had RGB=0 0 220 in the original image (6th row, 4th 
patch from the right) is RGB=0 0 252 in the resulting image:
http://hoech.net/files/lcms-clipping/tificc2.2.sRGB_D65_ICCv2.sRGB_D50_ICCv2.abscol.d0.0.tif

But transicc gives another (imho correct) value:

transicc -i "sRGB Color Space Profile.icm" -t3 -d0 -o "sRGB Color Space 
Profile (D50 Whitepoint).icc"
LittleCMS ColorSpace conversion calculator - 4.0 [LittleCMS 2.02]

Enter values, 'q' to quit
R? 0
G? 0
B? 220

R=0.0000 G=0.0000 B=249.7471

I verified the results against Argyll's cctiff which gives the correct 
values in the output tiffs:
http://hoech.net/files/lcms-clipping/cctiff.sRGB_D50_ICCv2.sRGB_D65_ICCv2.abscol.tif
http://hoech.net/files/lcms-clipping/cctiff.sRGB_D65_ICCv2.sRGB_D50_ICCv2.abscol.tif

Any idea what's going on?

Regards

Florian

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to