[HELP] Batch Image linux cmd: make-seamless
I'm having a bit of trouble getting this working. The current command I am trying is
gimp -i -b '(plug-in-make-seamless 1 'foo.png' 0 )' -b '(gimp-quit 0)'
GIMP-Message: Some fonts failed to load:
- /usr/share/gimp/2.0/fonts/
batch command experienced an execution error:
Error: eval: unbound variable: foo.png
I've completed what I wanted to do by installing BIMP, but it would be helpful for me to be able to call this command.
Thx :)
Edit
GEGL alternative solution
gegl -i in.png -o out.png -- tile-seamless
see r/GIMP/.../here_are_some_gegl_command_line_examples [batch examples]
2
Upvotes
View all comments
Show parent comment
2
u/ofnuts Jan 02 '19
make-seamlesssdoesn't take a file name. The second ('Image") argument is a Gimp image (the id of an mage that is already opened in Gimp) and is ignored. The third argument is the layer that you want to make seamless.So you have to encapsulate the call to
make-seamlessin a script that:make-seamlesson its only layer,See an example of such script here. It is in Python, but Python is easier to master than script-fu.