Hi, i’m using gmic Version 2.2.1 from the command line on Ubuntu 17.10-artful x64.
I’m trying to learn more about the use of gmic from the command line and i was trying the command:
I got the error:
[gmic]-0./ Start G’MIC interpreter.
[gmic]-0./ Input file ‘–gimp_mix_lab’ at position 0
[gmic]-0./ *** Error *** Unknown command or filename ‘–gimp_mix_lab’.
It happens with some other commands that begin with the --gimp flag
What am I missing here?
Today, there are no more commands in G’MIC that start with -gimp_.
Hence, the command you invoke is not recognized and G’MIC thinks you want to input an image with such a name, which is obviously not the case If you got this command from the G’MIC plug-in, then you are probably running a very old version of the plug-in (<2.0.0).
Maybe you should try updating your plug-in version to be able to get the right command to apply
(for Lab curbve, I guess it’s now called fx_mix_lab).
@yield65 Welcome to the forum! G’MIC has a reference page with examples: http://gmic.eu/reference.shtml. The command you are looking at would be written this way:
Take blur e.g., from the reference page. There are two argument combinations possible. They are in separate rows. Arguments that start with _ are optional. Those that don’t must be entered. Hope this makes sense. I learned G’MIC not long ago. It could be confusing at first.
I don’t want to use the mix_lab, I want to know if it’s possible to use the set of instructions from GIMP, because i read that gmic was like a bridge to those commands, the gimp_mix_lab was just an example, i want to use some others but apparently they are not available anymore as --gimp_* if that is true then i believe my only alternative is to code some script-fu, am I correct?
script-fu is a GIMP thing. Basically, it uses a series of GIMP commands, etc.
G’MIC is a separate app and a plug-in in GIMP. Try using the New layer(s) + Verbose (layer name) combination in the G’MIC plug-in window as follows:
It would name the new output layer with the correct command, provided that the plug-in is also >2.0.0, from which you would copy-paste the command as I have above.
Thank you! That helped me a lot, also I found out that Local Contrast Enhancement works better than my method of using overlay layer effect to try to improve some details and colors.