Hi Elle,
After checking the sample, there is a small glitch in tifficc which I will fix in next release. The glitch is the "of 9 channels" part of error message. The error diagnostic should be only "unsupported color space". You got this because TIFF files does not support, at least not directly, XYZ spaces. See https://www.itu.int/itudoc/itu-t/com16/tiff-fx/docs/tiff6.pdf Thanks for reporting Regards Marti On 01/03/2017 0:52, Elle Stone wrote: > On 02/28/2017 04:20 PM, Marti wrote: >> Hi Elle, >> >> Profiles seems ok, and tifficc and other programs read them just fine. >> May I have the " red-no-alpha.tif" tiff file? It seems to me this is the >> source of trouble. > > Hi Marti, and thanks! for checking into this. Here's a link to the file: > > http://ninedegreesbelow.com/files/test-images/red-no-alpha.tif > > Best, > Elle > >> >> Regards >> Marti >> >> -----Original Message----- >> From: Elle Stone [mailto:ellest...@ninedegreesbelow.com] >> Sent: Tuesday, February 28, 2017 8:21 PM >> To: Lcms Liste <lcms-user@lists.sourceforge.net> >> Subject: [Lcms-user] tificc reports "Unsupported color space of 9 >> channels" >> with XYZ profile >> >> 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 >> > > ------------------------------------------------------------------------------ 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