r/GIMP • • Jan 01 '19

[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

7 comments sorted by

View all comments

Show parent comment

2

u/dopplerfto Jan 02 '19

What if you use double-quotes for the outer set and single-quotes again for the inner set. My could-easily-be-completely-wrong guess is that GIMP's scheme interpreter doesn't like double-quotes for quoted strings.

1

u/3dsf Jan 05 '19

Hi, thanks for answering. I think in the end, the documentation in the procedural browser is inaccurate or misleading (but, I barely know what I'm doing.. haha). While chasing it in on the original approach, it only took 2 parameters and complained if I tried to enter an integer.

I got it working with a python script; if interested please see the reply to ofnuts