Batch coloring lineart?

Some time ago I’ve been searching the solution myself.
So, it is in the attached .zip archive with user.gmic and .bat file included.
There are also 2 wiki-articles from sourceforge.net which are not available now.
Additional links and description on how to manage everything is in the ReadMe file.

If a long reply is welcome, here it is then…

Instructions

Use GIMP or Krita to preview and apply filter effects.
In G’MIC Settings → Other choose “Verbose (log file)” in Output messages.
Browse to G’MIC log file in %AppData%\Roaming\gmic folder.
Create a user.gmic file inside %AppData%\Roaming\ folder.
Write down commands to execute inside this file.
Make a batch file with input images, command name from user.gmic file and output images.

user.gmic file

test_com:
fx_lylejk_painting 10,2,4,10,0,50,50

.bat file

mkdir D:\135_frames\new
cd /d D:\Downloads\gmic-2.9.0-cli-win64
for %%a in (D:\135_frames\*.png) do gmic -i %%a -test_com -o {0,f}new\\{0,b}.png
pause

Some helpful articles

G’MIC CLI Batch Processing.zip (912.4 KB)

1 Like