python fu - gimp preset "fixed: aspect ratio" property for a selection -


i need script acts shortcut for:

  • making selection
  • setting selection property "fixed" value "aspect ratio" (that is: proportions of selection should fixed)

enter image description here

the following line selection part:

gimp.pdb.gimp_rect_select(img,20,20,80,80,2,0,0) 

but couldn't find way set selection properties , keep properties of last selection done.

is there way accomplish this?

no can't, because design scripts cannot interfere ui (and "fixed" setting humans, script can compute this).

but, if want have quick way make specific selection, use diskette icon @ bottom save tool settings name (and, later, folder icon, restore it).


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -