Thanks for the help Garry!
I opened up Gimp and the G'Mic plugin and updated the plugin using the update button. Then I closed Gimp and tried the following commands.
I tried running this command:
for i in *jpg do gmic $i -gimp_montage 4,"V(H(0,1),H(2,V(3,4)))",1,0.5,3,0,0,0,0,255,0,0,0,0 -o processed_$i done
It returned the error:
[gmic] *** Error in ./ *** Unknown command or filename '-gimp_montage'.
Then i ran the command:
for i in *jpg do gmic $i -gimp_montage 4,"V(H(0\1)\H(2\V(3\4)))",1,0.5,3,0,0,0,0,255,0,0,0,0 -o processed_$i done
And it returned the same error as above.
EDIT: I just ran this command:
for i in *jpg do gmic $HOME/.update1610.gmic $i -gimp_montage 4,"V(H(0\1)\H(2\V(3\4)))",1,0.5,0,2,0,0,0,255,0,0,0,0 -o processed_$i done
And it just made copies of all the pics in the folder. It didn't convert them to a montage.
This command just made a copy of one of the pictures in the folder, but no montage.
for i in *jpg do gmic $HOME/.update1610.gmic $i -gimp_montage 4,"V(H(0\1)\H(2\V(3\4)))",1,0.5,0,2,0,0,0,255,0,0,0,0 -o processed.jpg done
Of course, I don't need the update1610 file, as you said, but I wonder why it at least gives me some output, whereas when I don't use it (or the 1582 update file) I just get errors.
|