Thanks, that fixes that strange offset.
I do try and fix the deprecated procedures, only 4 in this but gimp-(drawable)-curves-spline which used integers in the array, now uses float. I can change the array but now get a black layermask, so I am doing something wrong. Life is too short, the attached is the same old script with that one line altered. Therefore, still relying on using legacy mode.
OK, gave up on the array and put the values straight into gimp-drawable-curves-spline parameters.
attached working in Gimp 2.10.6 linux I assume it works in Windows.
Edit: and you can find a python version by dinasset here: http://gimpchat.com/viewtopic.php?f=9&t=...18#p232297
I do try and fix the deprecated procedures, only 4 in this but gimp-(drawable)-curves-spline which used integers in the array, now uses float.
OK, gave up on the array and put the values straight into gimp-drawable-curves-spline parameters.
attached working in Gimp 2.10.6 linux I assume it works in Windows.
Edit: and you can find a python version by dinasset here: http://gimpchat.com/viewtopic.php?f=9&t=...18#p232297