Page 1 of 1

Vector conversion is blurry with -render in command

Posted: 2016-03-29T07:15:57-07:00
by sergey
Hi guys,

I'm trying to convert EMF to SVG file via command line in Windows (i'm using this distributive: http://www.imagemagick.org/download/bin ... 64-dll.exe) and my resuslt file is blurry like when ImageMagic render vector to raster. But according to documentation (http://www.imagemagick.org/script/comma ... php#render) I've tried to add -render attribute and still nothing.

my command line is next:

convert -render c:\temp\test\source_samples\pngtest_1.emf c:\temp\test\source_samples\pngtest_1.svg

here is archive with input and output files and also with screenshot of conversion difference.
https://drive.google.com/file/d/0B_Kows ... sp=sharing

Could someone please help me with that?
I'd really like to get result file in vector.

Thanks in advance.

Re: Vector conversion is blurry with -render in command

Posted: 2016-03-29T09:22:53-07:00
by fmw42
Imagemagick is not a good vector to vector converter (or raster to vector converter). It will rasterize between input and output. You should find a true vector to vector converter. see http://www.imagemagick.org/Usage/formats/#vector

Re: Vector conversion is blurry with -render in command

Posted: 2016-03-29T09:48:03-07:00
by magick
If your end result is to keep your vector source in the output file, use a vector utility. If you want to render your vectors as an image, you can improve the results with the -density option:
  • convert -density 400 c:\temp\test\source_samples\pngtest_1.emf -resize 25% c:\temp\test\source_samples\pngtest_1.png