apply_channels
Arguments:
- "command",color_channels,_value_action={ 0=none | 1=cut | 2=normalize }
Description:
Apply specified command on the chosen color channel(s) of each selected images.
(equivalent to shortcut command ac).
Argument
color_channels refers to a colorspace, and can be basically one of
{ all | rgba | [s]rgb | ryb | lrgb | ycbcr | lab | lch | hsv | hsi | hsl | cmy | cmyk | yiq }.
You can also make the processing focus on a few particular channels of this colorspace,
by setting
color_channels as
colorspace_channel (e.g.
hsv_h for the hue).
All channel values are considered to be provided in the [0,255] range.
Default values:
value_action=0.
Example of use:
$ gmic
image.jpg +apply_channels "equalize blur 2",ycbcr_cbcr

Command:
image.jpg +apply_channels "equalize blur 2",ycbcr_cbcr

Command:
image.jpg +apply_channels "equalize blur 2",ycbcr_cbcr