SVGs for decorators - look pixelated and don't zoom well #393
Unanswered
jmenzies12
asked this question in
Q&A
Replies: 1 comment
-
I think this is because the decorators rendering does not use the same code as SVG-based nodes, and the default behavior is to render the SVG file (using Batik) at some default resolution and then use the result as a plain bitmap (so pixelated when zoomed). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
We want to swap over from using PNG's to SVG's files for our decorators(16x16 pixels), I see that this is supported in Sirius. However I'm getting some odd results, when rendered on the canvas they look quite pixelated and they don't keep their resolution when zooming in. Some of the more rounded icons also end up with jagged edges. When I open the SVG files themselves they look fine in image editors and the browser.
Is this maybe an issue with the default rendering settings used? Or do I need to specify something particular in the SVG.
Example image below shows decorators at 200% zoom.
Cheers
Jonathan
Beta Was this translation helpful? Give feedback.
All reactions