Good day. Guys, I need help with uploading the schedule without losing quality. My program creates graphs in the MS Chart component with a lot of data. I need to upload the plotted image into vector format.

SaveFileDialog SD = new SaveFileDialog(); SD.FileName = "test"; if (SD.ShowDialog() == DialogResult.OK) { string path = SD.FileName + ".emf"; SaveImage(path, ImageFormat.Emf); } 

The graph is uploaded to the created file, but the quality of the graph leaves much to be desired. This is what I see in the program:

enter image description here

This is getting in the emf file when opening in Paint:

enter image description here

This is getting in the emf file, when opened in CorelDraw:

enter image description here

What to do?

  • but in my opinion it is quite worthy .. what exactly bothers you? - 4per
  • @ 4per because the grid is different for me in the program, and here everything is in one style - Naf
  • But this can not be a consequence of the limitations of the emf-format itself? just a guess - rdorn
  • one
    Wiki claims ru.wikipedia.org/wiki/Windows_Metafile that EMF is more sophisticated, but what do you discover the result? Many programs pre-rasterize EMF and display the result. Maybe this is the problem - rdorn
  • one
    Well, of course, Paint is a raster editor, so it first does rasterization. Try to insert an image too, but with a high resolution, you will get clearer results, but it is better to open the vector with a special software. Try InkScape from Free - rdorn

0