N-Channel ICC profile conversions

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Locked
NeilLynne
Posts: 1
Joined: 2020-02-20T03:28:14-07:00
Authentication code: 1152

N-Channel ICC profile conversions

Post by NeilLynne »

Hi I am trying to convert RGB images into n-channel Hexachrome space. I have downloaded profiles from Pantone site: https://www.pantone.com/pages/pantone/p ... 2&pg=20338&

The following command give an error:

Code: Select all

convert \
rose: \
-profile ./profiles/sRGB_Profile.icc \
-profile ./profiles/CTPUctdMed.icc \
./output/test.tif

convert: color profile operates on another colorspace `icc' @ error/profile.c/ProfileImage/1054.
Version: ImageMagick 7.0.9-21 Q16 x86_64 2020-02-13
Mac OSX 10.12.6
Installed through Homebrew 2.2.5

Other conversions with RGB or CMYK profile are working without error. It looks like the support for n-channel profiles doesn't exist at the moment, although I cannot find anything to suggest this limit. Any help would be great.
Thanks
Neil

snibgo
Posts: 13034
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: N-Channel ICC profile conversions

Post by snibgo »

The ICC Profile Inspector says CTPCtdMed.icc will convert from 3 channels to 6 channels, or from 6 to 3. Perhaps this is for a 6-channel printer.

As far as I know, ImageMagick cannot yet cope with 6-channel images, or create them. A developer may comment.
snibgo's IM pages: im.snibgo.com

Locked