Changeset 7202


Ignore:
Timestamp:
03/21/12 23:53:05 (14 months ago)
Author:
anthony
Message:

Remove "channel" as a simple operator (setting only)

Location:
ImageMagick/trunk
Files:
2 edited

Legend:

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

    r7200 r7202  
    253253    { "+cdl", 1L, DeprecateOptionFlag, MagickTrue }, 
    254254    { "-cdl", 1L, SimpleOperatorOptionFlag, MagickFalse }, 
    255     { "+channel", 0L, ImageInfoOptionFlag | SimpleOperatorOptionFlag, MagickFalse }, 
    256     { "-channel", 1L, ImageInfoOptionFlag | SimpleOperatorOptionFlag, MagickFalse }, 
     255    { "+channel", 0L, ImageInfoOptionFlag, MagickFalse }, 
     256    { "-channel", 1L, ImageInfoOptionFlag, MagickFalse }, 
    257257    { "-channel-fx", 1L, ListOperatorOptionFlag | FireOptionFlag, MagickFalse }, 
    258258    { "+charcoal", 0L, DeprecateOptionFlag, MagickTrue }, 
  • ImageMagick/trunk/MagickWand/operation.c

    r7201 r7202  
    19111911          (void) ColorDecisionListImage(_image,color_correction_collection, 
    19121912            _exception); 
    1913           break; 
    1914         } 
    1915       if (LocaleCompare("channel",option+1) == 0) 
    1916         { 
    1917           /* The "channel" setting has already been set 
    1918              FUTURE: This probably should be part of SyncImageSettings(). 
    1919              How is it applied to new images? 
    1920           SetPixelChannelMapMask(_image,_image_info->channel); 
    1921           */ 
    19221913          break; 
    19231914        } 
Note: See TracChangeset for help on using the changeset viewer.