Improve gimp plugin with rotate and scale