03-18-2021, 05:22 PM
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.
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.