The docs say that just one of width or height need to be specified to resize, but the end result is not as expected. When presented with a 1024x920 image, for example, and a resize for height 90, the image gets resized to 90x81. One would certainly expect to get a 100x90 image, instead.
This patch fixes that.
Fix bug that made height x width to be sometimes inverted when one wa…