SVG support on Mac (without Inkscape) does not work
See original GitHub issuePrerequisites
- I have written a descriptive issue title
- I have verified that I am using the latest version of Magick.NET
- I have searched open and closed issues to ensure it has not already been reported
Description
On macOS my code never returns from the following line:
ImageMagick.MagickImage img = new ImageMagick.MagickImage(imgBytes);
where imgBytes is the byte array with my svg image (note that on Windows it works)
I haven’t installed Inkscape nor RSVG but I read that it should work also without these two software.
Am I correct?
System Configuration
- Magick.NET version: 7.17.0.1
- Environment (Operating system, version and so on): macOS 10.13.6
- Additional information:
Issue Analytics
- State:
- Created 3 years ago
- Comments:25 (11 by maintainers)
Top Results From Across the Web
SVG compatibility with Mac and Windows
Hello,. I would like to sell my vector files in SVG, DXF, and EPS format, but I am uncertain if they will be...
Read more >macOS Mojave doesn't display .SVGs in preview
I recently updated to macOS Mojave and it seems it doesn't generate previews to any of the .SVGs I am working with. For...
Read more >.svg file created in Inkscape failing to open. Can someone ...
I have created and been editing an . svg file in inkscape and then one day it said "Failed to open from [location...
Read more >Can not open svg file on Mac - InkscapeForum.com
Sorry for stupid questions. I'm new to Inkscape and am working with Image for a few days. Go to the morning office and...
Read more >Mac IOS Catalina Issues? Can't access Inkscape after new ...
I was able to download the beta on my iMac (with Catalina) and have been using Inkscape without a problem. I did have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have no idea if they do but I am happy that you got your issue resolved.
The fix for
fontconfig
appears to be setting the font directory. In the next release you will be able to do thisMagickNET.SetFontConfigDirectory("/opt/X11/lib/X11/fontconfig");
You should do this call before you call any other Magick.NET methods.