Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gimp Python script file load question
#4
You have a mismatch between your command line and the code AND internally in the code.

The command line is trying to call open_add_flatten_save and the code is defining open_add_flatten_export

And in the register block you have the parameters infileA infileB x_offset y_offset outputFolder BUT the definition of the function is
image, layer, infileA, infileB, x_offset, y_offset, outputFolder


Also, you need assign image = pdb.gimp_xcf_load(infileA, infileA) and then find the active layer in image

As you're on MacOS, I can't be sure what your command line should look like, but Ofnuts will be along later to tell you what it needs to look like.
Reply


Messages In This Thread
RE: Gimp Python script file load question - by Kevin - 03-18-2021, 05:22 PM

Forum Jump: