mmm...yes, I belive it uses max WIDTH as figuring proportions.
(in my oppinium it doesnt make sence do max width/height different sizes like 1024x800, with most image editing programs u'll get same effect, it's better restrict it to the same size 1024x1024)