06-05-2018, 11:52 PM
(This post was last modified: 06-05-2018, 11:53 PM by charlweed.
Edit Reason: specify version.
)
I want my script to have the user use the mouse to define a rectangle, then the script continues. It's less good to make my user create a rectangular selection, then start the script.
I am trying to avoid the situation where the user must
start script A
use the rectangle tool/shortcut to get a selection
start script B to convert selection into rectangle and continue.
Is there a way to do this?
Basically, I have a large number of full length portraits with many different poses. Each portrait needs to be hand-cropped into a Square bust portrait. I've figured out most everything except how to tell the GIMP: "Here, the user defines a rectangle with the mouse."
I'm using GIMP 2.10.2, and python scripting, on Linux and Windows.
Thanks!
I am trying to avoid the situation where the user must
start script A
use the rectangle tool/shortcut to get a selection
start script B to convert selection into rectangle and continue.
Is there a way to do this?
Basically, I have a large number of full length portraits with many different poses. Each portrait needs to be hand-cropped into a Square bust portrait. I've figured out most everything except how to tell the GIMP: "Here, the user defines a rectangle with the mouse."
I'm using GIMP 2.10.2, and python scripting, on Linux and Windows.
Thanks!