Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Convert SVG to PNG (or any other format) does not apply preserveAspectRatio

$
0
0
Thanks for quick replay.

I have tried inkscape and it works fine (with preserveAspectRatio).
I have installed ImageMagick-6.8.6-Q16 x64 and Inkscape and when I run convert test.svg test.png from command line in ImageMagick folder the resulting raster image is good. I know that ImageMagick will use Inkscape for reading SVG if it is installed and it use it indeed but only from ImageMagick command line.

I thought that Magick.NET API will also use Inkscape for reading SVG, but when I run code that use Magick.NET to convert SVG to raster image, the result is the same - no preserveAspectRatio.

Am I wrong and Magick.NET will not use Inkscape for reading SVG or I'm doing something wrong in code?

Viewing all articles
Browse latest Browse all 3693

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>