]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 21 Jan 2012 15:44:12 +0000 (15:44 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 21 Jan 2012 15:44:12 +0000 (15:44 +0000)
MagickWand/mogrify.c

index 7afe147a88aadea3a3ce79db4e9483add95354b3..c3c6c511004e66d3c189920af80ea434378227c2 100644 (file)
@@ -647,9 +647,6 @@ static Image *SparseColorOption(const Image *image,
 WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc,
   const char **argv,Image **image,ExceptionInfo *exception)
 {
-  ChannelType
-    channel;
-
   CompositeOperator
     compose;
 
@@ -714,7 +711,6 @@ WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc,
   attenuate=1.0;
   compose=(*image)->compose;
   interpolate_method=UndefinedInterpolatePixel;
-  channel=mogrify_info->channel;
   format=GetImageOption(mogrify_info,"format");
   SetGeometry(*image,&region_geometry);
   region_image=NewImageList();
@@ -1039,15 +1035,6 @@ WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc,
               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)
           {
             /*