I try to get aspect ratio of downloaded images. For this purpose I need height and width, but everytime and everyway I try, I get only 0.0 or NaN. I tried Image and BitmapImage. I tried to set Stretch, one of the sizes in hope the other one will be filled automatically.
Both of them don't have set sizes I can read:
Image image = new Image();
image.Source = new BitmapImage(new Uri(customItem.FullURL, UriKind.Absolute));
BitmapImage bitmap = new BitmapImage(new Uri(customItem.FullURL));