Image
component uses BitmapImage
internally: Image.imageDisplay
.
If BitmapImage
works fine, manually setting maxWidth
and maxHeight
of Image.imageDisplay
might fix the bug.
Added:
When you manually setting the maxWidth
and maxHeight
of imageDisplay
, I recommend using a custom Skin to set them. Or they could be set after the image is loaded and scaled already.
Additional Information:
The default value of BitmapImage.scaleMode
is stretch
, but the default value of Image.scaleMode
is letterbox
. So, if you see BitmapImage
works fine but Image
scales differently, check this property.