Indeed, GIMP defines a complete plug-in API (that G’MIC uses for its plug-in).
If you want to call the G’MIC plug-in executable with some parameters, then look at the “stand-alone” version, that can offer this possibility:
# G'MIC-Qt standalone version HOWTO
The G'MIC-Qt GUI accepts several options on its command line, thus allowing simple batch processing.
In short, command line usage is as follows:
* `gmic_qt [OPTIONS ...] [INPUT_FILES ...]`
More than basic single input file name specification, options allow batch processing using the G'MIC filters, with or without the help of the GUI.
## Command line parameters
### Option `-o --output FILE`
Instead of displaying the output image in a dialog with a "Save as..." button, the application will save the filter output in the specified file. If multiple input files are provided, it is
suggested to include one of the `%b` or `%f` placeholders in the specified filename so that all output images will be written to distinct files :
- `%b` is the input file basename, that is the filename with no extension and no path.
- `%f` is the input file filename (without path).
This file has been truncated. show original