Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Way to script manual rectangle definition?
#1
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!
Reply


Messages In This Thread
Way to script manual rectangle definition? - by charlweed - 06-05-2018, 11:52 PM

Forum Jump: