Open PavloLukianets opened 3 weeks ago
Easy quick fix - not set the scale if data resolver is SvgDataResolver<UIImage>
. But i think a better way to fix this is to make the code not enter the if (scale > 1)
in the first place, since i don't think this code is valid for SVG images. What are your thoughts?
@PavloLukianets Can you provide the sample screen shots for the blurry images on iOS? It seems OK on my devices.
Here you are, i've made them smaller so the difference is more noticeable. Note this only affects images coming from Raw folder since they are in the app bundle, that's why the code that doesn't need to be triggered is triggered
Fixed by version 1.2.1 https://www.nuget.org/packages/FFImageLoading.Maui/1.2.1
Thanks very much for reporting this issue! It is really difficult to figure this issue.
Description
Because of this added line SVGs became blurry on iOS in our project after lib update:
https://github.com/microspaze/FFImageLoading.Maui/blob/d2164a4b1eb65d313e12308ebdd46add683eda0d/source/FFImageLoading.Maui/Platforms/iOS/Foundations/DataResolvers/BundleDataResolver.cs#L98