Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG image gets pixelated when using with PhotoView #59

Open
rao-subba-venkata opened this issue Jan 3, 2024 · 0 comments
Open

SVG image gets pixelated when using with PhotoView #59

rao-subba-venkata opened this issue Jan 3, 2024 · 0 comments

Comments

@rao-subba-venkata
Copy link

rao-subba-venkata commented Jan 3, 2024

While using this package with PhotoView package as follows and then we zoom in a little, the SVG image gets pixelated.

PhotoView( imageProvider: Svg("assets/1223-1920x1080.svg"), ),

The image is proper and confirmed that it can zoom without pixelated using external tool. To further identify problematic part, used the following code. flutter_svg was used in place of flutter_svg_provider.

Transform.scale( scale: 30, child: SvgPicture.asset('assets/1223-1920x1080.svg'), )

This time the image did not pixelate this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant