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
Latest Nuget version can not load images - BUG #1101
Comments
What platform and framework are you using? |
@mrbean-bremen - Windows 10 x64 and .Net 7 |
@H1Gdev - please also have a look. I will check if I can reproduce the problem later tonight, but given that all tests have been passing I doubt it - so currently I have no real idea what went wrong. Also, I have no idea where thisa 'image/svg+xml' comes from. |
I made a simple Console app to reproduce it. As it can see on this image, the "output"-window shows the error. Note the output svg.png is just black. |
I will make another bugfix release soon, as this was a regression. |
…ildProcessTemplates CONTRIBUTING.md Generators Nuget README.md Samples Source Svg.Custom Tests doc docfx.json index.md license.txt fixes #1101
The new release is online. |
Can confirm its working with latest nuget package. Thanks for fast actions 👍 |
Description
After upgrading from Nuget v. 3.4.4 to 3.4.5 SVG can not load images. It has been working in ALL other nuget versions.
It fails with message:
Error: 0 : Error loading image: 'https://www.w3.org/Icons/SVG/svg-logo-v.png', error: The header name 'image/svg+xml' has an invalid format.
Example data
SVG
Code:
Used Versions
Nuget version: 3.4.5 - FAILS with - "Error: 0 : Error loading image: 'https://www.w3.org/Icons/SVG/svg-logo-v.png', error: The header name 'image/svg+xml' has an invalid format."
Nuget version: 3.4.4 - Working
The text was updated successfully, but these errors were encountered: