Hi,
Thank you for considering Aspose.
I have checked your problem and found that if you change the scale level then both Width and Height of the image is changed and aspect ratio is maintained. For example by default the scale is 1, you can change it to 0-1 any value to reduce the size and more than 1 to increase the size of the image:
img.setImageScale(0.5f);
About the FixWidth, you can set only width and the height remains as it is. I will discuss this problem of getWidth = 0 and to add another function to set the FixHeight to calculate the aspect ratio and scale of the image.
Thanks.
Adeel Ahmad
Support Developer
Aspose Changsha Team
http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/ContactChangsha.html