Hi All,

I tried to use tificc v6.2 [LittleCMS 2.08] to convert an sRGB image to 
XYZ and got this error message:

[tificc fatal error]: Unsupported color space of 9 channels

One possibility is that the XYZ profile is defective, but it seems to 
produce exactly correct conversions with test images.

So I'm wondering if there might be a problem in tificc itself. Does 
tificc actually support conversions to XYZ?

Here's the command line I used with a sample image called 
"red-no-alpha.tif":

tificc -w32 -i sRGB-elle-V4-srgbtrc.icc -o XYZ-D50-Identity-elle-V4.icc 
red-no-alpha.tif red-tificc.tif

The two profiles can be downloaded here: 
https://github.com/ellelstone/elles_icc_profiles and are located in the 
"profiles" folder.

The code snippet that generates the XYZ profile is as follows:

profile = cmsCreateXYZProfile();
cmsWriteTag(profile, cmsSigCopyrightTag, copyright);
description = cmsMLUalloc(NULL, 1);
cmsMLUsetASCII(description, "en", "US", "XYZ-D50-Identity-elle-V4.icc");
                              filename = 
"../profiles/XYZ-D50-Identity-elle-V4.icc";
cmsSaveProfileToFile(profile, filename);
cmsMLUfree(description);


Thanks! for any help in figuring out what the issue is, whether in 
tificc or in the profile (or both?).

Best,
Elle
-- 
http://ninedegreesbelow.com
Color management and free/libre photography

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to