No 2.9.X environment.
Not too surprised that something as low-level as tiles is broken (or works differently) on 2.9.x (what is the bit depth of the image)?
First thing to do is add messages/print statements to see where the script breaks (does it crash, or it is just ending early?).
If there is a Python exception thrown, you can catch it and display it like this:
Not too surprised that something as low-level as tiles is broken (or works differently) on 2.9.x (what is the bit depth of the image)?
First thing to do is add messages/print statements to see where the script breaks (does it crash, or it is just ending early?).
If there is a Python exception thrown, you can catch it and display it like this:
Code:
import traceback
try
# Code with suspected Python exception goes here
except Exception as e:
pdb.gimp_message(e.args[0])
pdb.gimp_message(traceback.format_exc())
print traceback.format_exc()