I’m new to this forum so please redirect me to another topic or forum if this is not the right place to ask.
Over the last 2 years I’ve used update1582.gmic regularly in bash sh files to filter png and jpegs,
with very few problems.
Now after updating to 179 I’m encountering issues with nearly every bash call I make to update179.gmic.
Here is an example.
#!/bin/bash
gmic IN.JPG update179.gmic -gimp_adjust_colors -100,100,-3.82716,0,19.7531,0 -o OUT.JPG
This command returns the following error.
*** Error in ./gimp_adjust_colors/adjust_colors/*repeat#4214/*local#4214/ (file ‘update179.gmic’, line #4215) *** Item substitution ‘{0==255 && 0==0?[im,iM]:[min(0,255),max(0,255)]}’: Invalid item ‘[im,iM]’ in expression ‘…&& 0==0?[im,iM]:[min(0,255),max(0,255)]…’.
Now if I go back to the GIMP interface I can clearly see that the parameters in the successfully generated output verbose layer as
[G’MIC] Basic adjustments: -gimp_adjust_colors -100,100,-3.82716,0,19.7531,0
This is not only isolated to gimp_adjust_colors but has also occured with emboss, gradient, and other gmic filters in 179.
Any suggestions appreciated.
Thanks