{ "7", 7, UndefinedOptionFlag, MagickFalse },
{ "8", 8, UndefinedOptionFlag, MagickFalse },
{ "9", 9, UndefinedOptionFlag, MagickFalse },
+ { "10", 10, UndefinedOptionFlag, MagickFalse },
+ { "11", 11, UndefinedOptionFlag, MagickFalse },
+ { "12", 12, UndefinedOptionFlag, MagickFalse },
+ { "13", 13, UndefinedOptionFlag, MagickFalse },
+ { "14", 14, UndefinedOptionFlag, MagickFalse },
+ { "15", 15, UndefinedOptionFlag, MagickFalse },
+ { "16", 16, UndefinedOptionFlag, MagickFalse },
+ { "17", 17, UndefinedOptionFlag, MagickFalse },
+ { "18", 18, UndefinedOptionFlag, MagickFalse },
+ { "19", 19, UndefinedOptionFlag, MagickFalse },
+ { "20", 20, UndefinedOptionFlag, MagickFalse },
+ { "21", 21, UndefinedOptionFlag, MagickFalse },
+ { "22", 22, UndefinedOptionFlag, MagickFalse },
+ { "23", 23, UndefinedOptionFlag, MagickFalse },
+ { "24", 24, UndefinedOptionFlag, MagickFalse },
+ { "25", 25, UndefinedOptionFlag, MagickFalse },
+ { "26", 26, UndefinedOptionFlag, MagickFalse },
+ { "27", 27, UndefinedOptionFlag, MagickFalse },
+ { "28", 28, UndefinedOptionFlag, MagickFalse },
+ { "29", 29, UndefinedOptionFlag, MagickFalse },
+ { "30", 30, UndefinedOptionFlag, MagickFalse },
+ { "31", 31, UndefinedOptionFlag, MagickFalse },
{ (char *) NULL, UndefinedChannel, UndefinedOptionFlag, MagickFalse }
},
ClassOptions[] =
for (i=0; i < (ssize_t) image->number_channels; i++)
{
char
+ channel_name[MagickPathExtent],
traits[MagickPathExtent];
const char
PixelChannel
channel;
- switch (GetPixelChannelChannel(image,i))
+ channel=GetPixelChannelChannel(image,i);
+ switch (channel)
{
case RedPixelChannel:
{
default:
name="undefined";
}
- channel=GetPixelChannelChannel(image,i);
+ if (image->colorspace == UndefinedColorspace)
+ {
+ (void) FormatLocaleString(channel_name,MagickPathExtent,"%.20g",
+ (double) channel);
+ name=(const char *) channel_name;
+ }
*traits='\0';
if ((GetPixelChannelTraits(image,channel) & UpdatePixelTrait) != 0)
(void) ConcatenateMagickString(traits,"update,",MagickPathExtent);