Changing scale is a good shortcut to keep things in aspect. However, if you need to know the width and height of a scaled image, they are the original size.
So to get the width and height you need to first do another set of calculations for the scale of the image.
Is there a good reason that the width and height aren't updated to reflect the current width and height?
Perhaps this is a feature request since if you need originalwidths they are in the last versions.