My goal is scaling an image using python-fu library for gimp in a uniform way. It means specifying width/height should be enough for scaling. Gimp should change height/width accordingly.
In Gimp GUI it's set with the marked toggle:
I'm using the following line to scale images
pdb.gimp_layer_scale(visibleLayer, 435, 100, True)
Which scales the layer to specified width and height.
Couldn't another way to do it uniformly as specified above.