Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
WinChart image DPI
posted

Hi,

I'm trying to save the ultra winchart with 300DPI like so:

FileStream fs = File.Create(fileName); ultraChart.SaveTo(fs, System.Drawing.Imaging.ImageFormat.Gif, ultraChart.Size, new SizeF(301, 301));

('fs' above is a file stream) But, when I read the same image back (thru code), it shows the DPI as 96.  How can I save the chart in 300DPI?

(BTW, how do I insert an image from a folder in this post?  Clicking the above image icon asks for an URL)

Thanks

Parents
  • 17605
    posted

    I've tried this and when I save the image in Gif format it shows 96, but when I save the image in Png for example it seems ok. I'm not sure what is the problem with Gif format, but this is something related to .NET framework.

    You can upload image - click "Reply" button (not "Quick Reply") - Options - Add/Update button, after that just post the message.

Reply Children