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
having trouble rendering coloured files on WPF Net Core #136
Comments
@josephwambura Please can you post the SVG file for testing and verification? |
@josephwambura Thanks for the file. Sorry, I could not reproduce the error on my system. NOTE: Using the syntax as above is trying to locally access the SVG file, not as resource file. Even in this case, the result should be that the image will not be rendered, not the darkened picture shown. I have attached sample using the image on .NETCore 3.1 project, as both local source file and as resource (setting the Build Action of the SVG file to Resource). |
Thanks lemme check what i am doing wrong. |
@paulushub I am really sorry, I was using
instead of
Your sample code really helped! Thanks |
@josephwambura Sorry, somebody created that Version 1.0.0.0, so I was forced to use different name for the Nuget package. |
From the image on the left, the colors are visible, but on the right, it is only in black! Kindly help.
...
xmlns:svgc="http://sharpvectors.codeplex.com/svgc/"
...
<Image Source="{svgc:SvgImage ../Resources/sample1.svg}" Stretch="Uniform" />
Check the question on StackOverflow
Stack Overflow
The text was updated successfully, but these errors were encountered: