afre
(Alan)
April 5, 2017, 3:25am
1
gmic -sp lena --apply_channels "-equalize -blur 2",ycbcr_cbcr
[gmic]-0./ Start G'MIC interpreter.
[gmic]-1./ Input sample image 'lena' (1 image 512x512x1x3).
[gmic]-1./apply_channels/ *** Error *** Command '-_apply_channels': Undefined argument '$2', in expression '$2' (for 3 arguments specified).
[gmic] Command '-_apply_channels' has the following description:
[gmic] Command '_apply_channels' has no description (did you mean '-apply_channels' ?). Try 'gmic -h' for global help.
Version 2.0.0 (pre-release #022117 )
Have you tried with a single dash for the apply_channels
command as the error says? It should be -apply_channels
not --apply_channels
.
afre
(Alan)
April 5, 2017, 4:19am
3
It is as it should be. This example is taken straight out of the reference [page] (http://gmic.eu/reference.shtml#apply_channels ).
FYI: βA GβMIC command starting with a double hyphen βββ (instead of a single hyphen β-β) does not act βin-placeβ but inserts its result as one or several new images at the end of the image list.β
KaRo
(Karsten R)
April 5, 2017, 5:21am
4
Hi, its basically a bash behavior ! Try to quote or put the command into a gmic file!
gmic image.jpg --apply_channels β-equalize -blur 2β,ycbcr_cbcr
1 Like
Yes, escaping the quotes works for me. Thanks.