Resize now work for rotated image!!!