We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm receiving this error when loading an SVG file generated by the Adobe Illustrator SVG export plug-in:
Input file is missing or of an unsupported image format
When removing the file's doctype and simply keeping <svg>...</svg>, it works fine.
<svg>...</svg>
I was wondering what's causing this, and if you have any recommendations for optimizing SVG files before loading them (e.g. using svgo).
Attached both the original and edited SVG files: svgs.zip Sharp version: 0.17.0.
thanks
The text was updated successfully, but these errors were encountered:
Hello, this is probably due to https://github.com/jcupitt/libvips/pull/543, which will be available in a forthcoming 8.5.0 release of libvips.
Until then, removing the leading <!-- Generator:... --> comment is probably your best best to bring the <svg> element back within the 200 byte limit.
<!-- Generator:... -->
<svg>
Sorry, something went wrong.
Perfect, thanks for the clarification - looking forward.
Seems that stills failing using sharp@0.20.5 here
sharp@0.20.5
Please see #1252
No branches or pull requests
I'm receiving this error when loading an SVG file generated by the Adobe Illustrator SVG export plug-in:
When removing the file's doctype and simply keeping
<svg>...</svg>
, it works fine.I was wondering what's causing this, and if you have any recommendations for optimizing SVG files before loading them (e.g. using svgo).
Attached both the original and edited SVG files: svgs.zip
Sharp version: 0.17.0.
thanks
The text was updated successfully, but these errors were encountered: