(void) SetImageProperty(image,keyword,options,exception);
break;
}
+ case 'n':
+ case 'N':
+ {
+ if (LocaleCompare(keyword,"number-channels") == 0)
+ {
+ image->number_channels=StringToUnsignedLong(options);
+ break;
+ }
+ if (LocaleCompare(keyword,"number-meta-channels") == 0)
+ {
+ image->number_meta_channels=StringToUnsignedLong(options);
+ break;
+ }
+ break;
+ }
case 'o':
case 'O':
{
CommandOptionToMnemonic(MagickPixelTraitOptions,(ssize_t)
image->alpha_trait));
(void) WriteBlobString(image,buffer);
+ (void) FormatLocaleString(buffer,MagickPathExtent,
+ "number-channels=%.20g number-meta-channels=%.20g\n",
+ (double) image->number_channels,(double) image->number_meta_channels);
+ (void) WriteBlobString(image,buffer);
(void) FormatLocaleString(buffer,MagickPathExtent,
"columns=%.20g rows=%.20g depth=%.20g\n",(double) image->columns,
(double) image->rows,(double) image->depth);