]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 16 Mar 2012 01:14:48 +0000 (01:14 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 16 Mar 2012 01:14:48 +0000 (01:14 +0000)
MagickCore/channel.c

index 71acfa58d81bf5417564e2265e2b6e4c3a02de43..e7169a51b570aa94bef744c089f5f657e9fc59ff 100644 (file)
 %    =>      copy one channel to another channel (e.g. red=>green)
 %    =       assign a constant value to a channel (e.g. red=50%)
 %    ,       write new image channels in the specified order (e.g. red, green)
-%    |       extract channels from next image in the sequence (e.g.
-%              green=>red|red=>green).
-%    ;       separate each specified channel to its own image (e.g.
-%              red; green; blue)
+%    |       add a new output image for the next set of channel operations
+%    ;       move to the next input image for the source of channel data
 %
 %  For example, to create 3 grayscale images from the red, green, and blue
 %  channels of an image, use:
 %
-%  -channel-fx "red; green; blue"
+%    -channel-fx "red; green; blue"
 %
 %  A channel without an operation symbol implies separate (i.e, semicolon).
 %
@@ -349,8 +347,8 @@ MagickExport Image *ChannelFxImage(const Image *image,const char *expression,
       }
       case ExtractChannelOp:
       {
-        break;
         destination_channel++;
+        break;
       }
     }
     status=ChannelImage(destination_image,destination_channel,channel_op,