c-koi/gmic-qt

Use Gimp / gmic-qt filters on commandline

Opened this issue · 1 comments

Not sure if this is the right place, but I will give it a try:

I have installed G'Mic Gimp plugin and found the nice filter "Artistic -> Sketch" but can't find a way to use it on the command line.

How to use it?

$gmic -input source.jpg -fx_sketch
[gmic]-0./ Start G'MIC interpreter.
[gmic]-0./ Input file 'source.jpg' at position 0 (1 image 3245x3245x1x3).
[gmic]-1./ Input file '-fx_sketch' at position 1
[gmic]-1./ *** Error *** Unknown command or filename '-fx_sketch'; did you mean 'fx_sketchbw'?

But fx_sketchbw is a completly different filter?

edit: downloaded new version from here: http://www.gmic.eu/download.html
and installed, everything working fine now.

Some filters available in GIMP / GMIC QT don't seem to be available from command line, like wavelet sharpen.

this old experience probably relates to the version that installs by default from Ubuntu software center:

There seems no easy way to list installed filters/commands. Even some examples at GMIC's main page don't work:
http://www.gmic.eu/gallery/filtering.html

gmic image.png -fx_mighty_details 25,1,25,1,11,0
[gmic]-1./ *** Error *** Unknown filename 'fx_mighty_details'

This works:
gmic image.png -blur 5 -sharpen 300

-glow
-normalize_local
-jeje_normalize_local_variance 50,5,5,1,0,0
-equalize 256

it seems that anything starting with fx doesn't work

by calling gmic -h it says all commands are listed below then it says "Total number of commands: 0"