07-26-2021, 01:21 PM
(07-26-2021, 12:57 PM)Histone Wrote: ➤ rich2005
Yes I'm using the one dated 2021-05-08 which I believe the latest.
➤ programmer_ceds
Thanks a lot for your reply! glad to have a comment from the script author!
I'd gotten "GimpObjectArray" errors with 2.99.6 but not with 2.99.7 nightly.
Instead of that error I got an errors mentioned above.
Anyways, I really appreciate you have develped this useful script which GIMP's missing for a long time.
Hope that it works on 2.99.xx soon, I will keep eye on the latest nightly and test it.
@Histone - I think I've been out in the sun too long! Ignore the bit about Python. The GimpObjectArray error relates to Script-fu and it looks as though it has been fixed - the issue has been closed anyway. So once I get 2.99.8 the problem should go away (and I would see the problem that you report).
I will fix the error that you report later and upload a revised version of the script. The change is slightly more complicated since gimp-image-width is the function that has to be used in V2.10 but this changes to gimp-image-get-width in V2.99 - so the script will have to decide which version of GIMP it is running under and use the appropriate function (then I can just have the one version of the script to maintain)
In the meantime you could make a temporary edit to your copy of the script. Just use a text editor to search for gimp-image-width and replace it with gimp-image-get-width. In the next line change gimp-image-height to gimp-image-get-height then save the file. This should make it work for V2.99.7 (or at least let us stumble on to find the next problem!.