Skip to content

SVG images cannot be displayed #17511

Answered by morning4coffe-dev
intzaaa asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @intzaaa, when you add an SVG to your project, it is automatically converted via our Resizetizer for best performance. Using the PNG is the recommended way for consistent image rendering across all platforms. You should be able to use it with just ms-appx:///Assets/copyleft.png.

If you still want to display the SVG image directly, you can set the build action of the SVG file to Content, and you should be able to reference the SVG. Here are our docs for more details: https://platform.uno/docs/articles/external/uno.resizetizer/doc/using-uno-resizetizer.html?tabs=singleproject%2CAndroid#using-svg-images-vs-png-images-with-svg-underneath

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@intzaaa
Comment options

Answer selected by intzaaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants