How to apply gmic CLI

@Zbyma72age Try this, using cmd.exe:

  1. First, add gmic in your PATH:
> setx PATH "%PATH%;C:\path_to_your_gmic_folder\gmic-3.5.3-cli-win64

Then, close and restart cmd.exe.
Then go to your folder with all your pictures, and try this:

First create a subfolder name processed:

> mkdir processed

Then run gmic.exe to process your images:

> gmic.exe v - files *.jpg files=${} repeat narg($files) { arg0 "$>,$files" file=${} v + e $file v - l[] { $file name={b} blur 10 o processed/$name.jpg,85 rm } }

where you can replace the blur 10 by any G’MIC pipeline you want (that takes one image as input, and output a single image).

3 Likes