WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc,
const char **argv,Image **image,ExceptionInfo *exception)
{
- ChannelType
- channel;
-
CompositeOperator
compose;
attenuate=1.0;
compose=(*image)->compose;
interpolate_method=UndefinedInterpolatePixel;
- channel=mogrify_info->channel;
format=GetImageOption(mogrify_info,"format");
SetGeometry(*image,®ion_geometry);
region_image=NewImageList();
exception);
break;
}
- if (LocaleCompare("channel",option+1) == 0)
- {
- if (*option == '+')
- channel=DefaultChannels;
- else
- channel=(ChannelType) ParseChannelOption(argv[i+1]);
- SetPixelChannelMapMask(*image,channel);
- break;
- }
if (LocaleCompare("charcoal",option+1) == 0)
{
/*