Mobile app version of vmapp.org
Login or Join
Annie732

: SVG exported to EMF loses precision, but exported as PNG looks fine I am Windows desktop programmer that needs to convert certain SVG into EMF in order to use it for programming. My graphics

@Annie732

Posted in: #FileFormat #Inkscape #Png

I am Windows desktop programmer that needs to convert certain SVG into EMF in order to use it for programming.

My graphics design skills are at beginner level, but I have managed to convert SVG file into EMF successfully using Inkscape. However, the result is not looking as the original one, it is less "precise" so to say. If I export the SVG as PNG the result is the same as the original file. Unfortunately I need vector format that Windows recognizes and that is only EMF ( I am using pure WinAPI and C++, hence this limitation... ).

To see exactly what I mean, original SVG, and EMF and PNG that I made are here. Just click on the Download:test.rar ( see the image below ).



The problem seems to be the dimensions of the EMF file ( it should be 90 x 120 ) as the picture is crystal clear when I resize my application to bigger dimensions.

I am asking your help to get the same graphic quality of the EMF file as the original SVG.

To further help you in your efforts to solve my problem, here is a small application that will display EMF in a window. Just keep the EMF in the same place the application is, and name the EMF as test.emf.

Thank you for your time and efforts. Best regards.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Annie732

2 Comments

Sorted by latest first Latest Oldest Best

 

@Gail6891361

Corel draw has an excellent wmf and emf export engine which replicates the accuracy of the original. Curves stay as curves

10% popularity Vote Up Vote Down


 

@Steve758

EMF is something i have used a few times. From my own experience, it's not very accurate, and is an older format that doesn't support the precision level that you get with EPS or SVG.

Can you use an EPS file? What about WMF?

If not, try breaking the resulting image into smaller pieces. In other words, instead of one solid "big" shape, make it from smaller shapes "stacked" atop each other.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme