Thank you, Ofnuts. It works now.
One question, though. It seems the script chooses arbitrary brush size rather than default or current size (picture below)
No option for brush size, because script intends to go with the current brush settings, but it's not happening. Why?
ofnuts wrote:
Actually there is a subtle difference in Windows in the way the "print" instructions I use for debugging are handled. In Linux they are ignored, but in Windows the script crashes if the cumulated output goes above some size (4K or 8K, I don't remember).
I've looked up the changes to the script. I don't get it. I was under impression that all python scripts are supposed to work regardless of OS, with only stipulation being PyGTK, pycairo, pygobject, etc. installed. Well, at least in Plugin Registry there is no python script versions offered for different Os's. One of the Linux specific Python scripts I previously mentioned is
Nuvola Tools. Is that a peculiarity of some of YOUR scripts containing "print" strings or there are some other scripts too? All of your paths and layer scripts that I have work just fine on Windows.
Thank you for quick response and updating the script!