I need a script that acts as a shortcut for:
- making a selection
- setting the selection property "Fixed" to value "Aspect ratio" (that is: proportions of selection should be fixed)
The following line does the selection part:
gimp.pdb.gimp_rect_select(img,20,20,80,80,2,0,0)
But I couldn't find the way to set the selection properties and so it just keep the properties of the last selection done.
Is there a way to accomplish this?