How to increase DPI in PngExporter call to get higher quality image?

Oystein Bjorke il y a 6 ans 0
This discussion was imported from CodePlex

ambrein2 wrote at 2014-04-11 12:59:


I am using PngExporter to export PlotModel to am image. By default dpi is 96 but that leaves some "jaggies" in the image so I want to increase dpi for better quality image. But when I increase dpi and try to use PngExporter the image that get's created is a zoomed in image. I don't want this, I want the height and width of the image to be same as that of the original height and width of the PlotModel. Any ideas how I can do that?

tibel wrote at 2014-05-15 09:57:

I have the same issue,
seems that PNG export does not work with different DPI (resolution) settings.

objo wrote at 2014-05-15 10:39:

Yes, I see there is a bug. I have added a test and

objo wrote at 2014-05-15 21:19:

this should be fixed now