I always loved GMIC going way back to when it was still just doing NR as GREYC’s. Of course I use the Gimp plugin but the last year I’ve really started to integrate GMIC from the CLI into bash scripts and right-click context menus in KDE.
As a plugin, I often had the output to layers box ticked so I could vary the opacity of the layers to create a more/less harsh illustration look. I had been searching for a way to do so from my bash script as well and I just added a copy to the ~/.config/gmic/updatexxx.gmic text file with a small change and called it fx_illustration_look33 (actually, since, I also added a 20, 50 and 66 version) with only these two lines changed (opacity from 100 to 33):
The difference is quite pleasing and I have now adjusted my bash script to select either option. The edited fx_illustration_script takes the image and results in:
you should use the .gmic file in your home folder for this. Just copy the filter script there.
The updatexxx.gmic file might be replaced the next time you update your filters and you would lose your modification.
Then i’m sorry , i thought you didn’t.
But in any case it was just to say it’s easier to copy the script from this file, which is more readable, than edit update.gmic.
No harm done but I loaded update.gmic into Kate which allows me to search relevant bits fairly easily. Nevertheless, your advice to put it in ~/.gmic was very much appreciated as I did realize any update would wipe out my edits.
@Mike_Bing thanks for the kind words.
What I propose is to add a Strength slider to the filter, going from 0 to 100.
I’ve made a filter update that does this change.
I think it’s indeed a great idea to be able to set the strength of the effect.
The only drawback I see is that you’ll need to change your scripts to take this new parameter into account.
In the new script the $1 variable seems to impact only the base layer but in my version it left the base layer as-is and effected both the [detail_layer] as well as the [graphicnovel_layer] like this: