-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Can't open SVG files (or any other vector graphics) #141
Comments
I did not add support for SVG files because browsers tend to be better at this. I would advise you to draw the svg on a canvas and then read the image from that canvas. |
Oh, ok. It comes up as one of the supported file formats in supportedFormats. Yes, that works for SVG files. I was actually mainly interested in the other vector graphics formats such as Adobe Illustrator (AI), which is listed as a supported format too. Those unfortunately aren't supported natively with the browser. :-/ |
That are listed as a format but that doesn't mean the format is supported. I should probably make this more clear by renaming the property or remove some formats. I think I will need to remove formats that support reading by using an external executable. Other vector formats are not supported because they require an external executable. And I cannot package a wasm version of Ghostscript due to licensing issue. It might be possible but not something I will invest time on anytime soon. |
@dlemstra Do you have any reference to this that I can remove the vector formats? |
I don't know what you are asking me? |
magick-wasm version
0.0.27
Description
I'm unable to open SVG files. Same problem with pretty much every other vector graphic format. Throws an error.
Steps to Reproduce
Can test it with the demo documents app.
Images
The text was updated successfully, but these errors were encountered: