When importing an image, defined with a Base64 string which doesn't have its size explicitly set, it is rendered with ImageInline.DefaultImageSize instead of using its real size.
: Check the size defined in the ImageSource:
var image =
(image.Height == 10 && image.ImageSource.DecodePixelHeight == 0)
image.Height = image.ImageSource.Height;