Open VirtualAstronaut opened 1 year ago
Hello, facing same issue here, pixelated images on ios only.
@vscmaster You can try disabling impeller for iOS with a flag tho. seems fine for now maybe when it is fixed we can enable it again. try flutter run with this flag
--no-enable-impeller
I'm experiencing the same issue!
I using flutter_svg: ^2.0.7
and facing this issue too.
You can try wrapping SvgPicture
widget with Transform.scale(scale: 0.9999, child: child)
Hi @VirtualAstronaut, would you consider my investigation about another point that might cause the issue?
Some icons those have bigger size other than physical look pixelated.
Like this <svg width="72" height="72" viewBox="0 0 72 72" fill="none"
and this <svg width="37" height="40" viewBox="0 0 37 40" fill="none"
will look differently, the first one will have pixelated.
Hello @vscmaster, so what are you saying is my SVG's dimension should be less than viewBox constraints? if i am not mistaken.
Should this issue potentially also be reported to the Flutter team? It could end up being related to Impeller and not so much an issue on the part of this package.
Looks like the issue is already fixed on Flutter master branch.
I think not, because when I version 3.13.0-0.1.pre is with me, the error nevertheless. But if I set the flag --no-enable-impeller it works.
@pavlo-zin I have tested this on - as seen in my report. Flutter 3.12.0-11.0.pre.32 • channel master • https://github.com/flutter/flutter.git Framework • revision 7dbdacff46 (10 hours ago) • 2023-06-26 22:05:23 -0400 Engine • revision f320b8c36f Tools • Dart 3.1.0 (build 3.1.0-246.0.dev) • DevTools 2.24.0 It was working as intended.
When upgrading today from 3.10.6 to 3.13.0 the issue still exists.
Hello, I just want to raise up again this issue because it still exists after almost 1 year, even it seems more rare then before. In my experience it still present on some svg, I can give another example
This svg has the problem
But this one not
Its still occuring
Hello, I am facing artifacts on iOS when using impeller and changed colours of SVG. One interesting is that when you use some height like 200 it does not show artifacts.
flutter_svg version - ^2.0.5
With Impeller
Without Impeller
SVG:
Flutter Doctor:
here is sample code. Code: