How can the quality of the svg file not be lost by zooming and it can be seen sharp #9617
saraOrkide
started this conversation in
General
Replies: 1 comment 1 reply
-
SVGs in Pixi are not infinitely scalable. GPU needs to rasterize the SVG. There are a few options: you can re-rasterize the SVG whenever you scale it, you can not use Pixi and use the DOM directly, or there are a few plugins that convert SVG into Graphics (https://www.npmjs.com/package/pixi-svg, https://www.npmjs.com/package/@pixi-essentials/svg) these are worth trying but the antialiasing isn't great and complex Graphics and lead to slowdown. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My photo svg with assets.load
I loaded it, I want the quality of the photo not to decrease with zoom in and zoom out and it is always shown sharp
Beta Was this translation helpful? Give feedback.
All reactions