2.99.2 Python API, transform_scale Bug with Selections
GIMP 2.99.2, Windows 8.
transform_scale
function producing incorrect result with selections.
steps to reproduce bug:
- create a 100 * 100 px selection at 0, 0 coordinates.
- reference current selection ...
sel = image.get_selection()
- attempt to scale selection ...
sel.transform_scale(0, 0, 200, 200)
result ... 29 * 41 selection ... instead of 200 * 200 selection
transform_scale
function working ok with other items, like layer, etc:
- create a 100 * 100 px layer.
- attempt to scale layer ...
layer.transform_scale(0, 0, 200, 200)
result ... as expected, a 200 * 200 layer