Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python plugin: point in selection?
#4
(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.
Reply


Messages In This Thread
RE: Python plugin: point in selection? - by Ofnuts - 01-23-2021, 04:31 PM

Forum Jump: