feature #5516 :   Fix a bug discovered in Windows with the image resizing by its height only.