Changeset 7125


Ignore:
Timestamp:
03/15/12 21:08:01 (14 months ago)
Author:
cristy
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/MagickCore/channel.c

    r7100 r7125  
    7070% 
    7171%    <=>     exchange two channels (e.g. red<=>blue) 
    72 %    =>      transfer a channel to another (e.g. red=>green) 
    73 %    =       assign a constant (e.g. red=50%) 
    74 %    ,       separate channel operations (e.g. red, green) 
    75 %    |       read channels from next input image (e.g. red | green) 
    76 %    ;       write channels to next output image (e.g. red; green; blue) 
    77 % 
    78 %  A channel without a operation symbol implies extract. For example, to create 
    79 %  3 grayscale images from the red, green, and blue channels of an image, use: 
    80 % 
    81 %    -channel-fx "red; green; blue" 
     72%    =>      copy one channel to another channel (e.g. red=>green) 
     73%    =       assign a constant value to a channel (e.g. red=50%) 
     74%    ,       write new image channels in the specified order (e.g. red, green) 
     75%    |       extract channels from next image in the sequence (e.g. 
     76%              green=>red|red=>green). 
     77%    ;       separate each specified channel to its own image (e.g. 
     78%              red; green; blue) 
     79% 
     80%  For example, to create 3 grayscale images from the red, green, and blue 
     81%  channels of an image, use: 
     82% 
     83%  -channel-fx "red; green; blue" 
     84% 
     85%  A channel without an operation symbol implies separate (i.e, semicolon). 
    8286% 
    8387%  The format of the ChannelFxImage method is: 
     
    345349      } 
    346350      case ExtractChannelOp: 
     351      { 
    347352        break; 
    348      } 
     353        destination_channel++; 
     354      } 
     355    } 
    349356    status=ChannelImage(destination_image,destination_channel,channel_op, 
    350357      source_image,source_channel,ClampToQuantum(pixel),exception); 
Note: See TracChangeset for help on using the changeset viewer.