Open jangooni opened 10 years ago
You want to set image's decode height and width via JetImageLoader?
You would better use native implementation from BitmapImage (I don't have my Windows PC at the moment, here is not tested example):
<Image>
<BitmapImage
SourceStream="{Binding YourImageUri, Converter={StaticResource MyAppJetImageLoaderConverter}}"
DecodePixelWidth="250"
DecodePixelHeight="300" />
</Image>
I hope it works :) If not, I'll take a look at that issue later, when I'll get my Windows workstation.
Please comment this solution after testing it and Happy New Year :)
Hey Artem thanks for the response.
BitmapImage only has a UriSource property, no SourceStream property. My plan was to continue to use Image's Source and Convertor, and set the decode property in the config.
That's sad :( ok, I'll think about how to implement that feature
Thanks! Keep up the great work!
Is it possible to get JIL to support DecodePixelHeight and Width properties?