Here is a picture of the data folder and the code. When I run this, nothing happens except that a grey rectangle appears and a white box around it.
Edit: The picture is really small in the itch app so view it in a web browser.
The code definitely looks good. Is there any chance the image isn't square? If that's the case, I can patch in a resize function, but it'll either have to auto-crop the corner or severely skew the image, if that's what's going on. I might've only tested and used this on square / uniform images and that's probably what's going on here.
Also I'm definitely not against either making an auto-crop or auto-skew function that maybe the user can switch back and forth, if that sounds useful
No problem! I'm glad it's working :)
I just uploaded a resize patch for Python mode, but I'm also working on a (hopefully more stable) Java version that'll actually spell out error messages and make debugging easier like it should be. Thanks for hanging in there and helping me make my scripts better!