(01-23-2021, 03:02 PM)Ottia Tuota Wrote: Thank you. That also lead me to find it in pdb too:
value = pdb.gimp_selection_value(image, x, y)
In my Gimp it is 127. Is this limit going to change in the future? If so, then the plugin should check the version.
There are places where things are 0-255 integers, and others where they are 0.-1. floats. As parameters some calls accept either.