Search code examples
c#screenshot

How can I control the quality of a screenshot in c#


I made a small windows form app that takes screenshots, but the final image looks a bit blurry compared to screenshots using other screenshot softwares. I mean like the pixel density on screenshots from my app is lower than the density of screenshots from other apps. I used this tutorial: http://www.developerfusion.com/code/4630/capture-a-screen-shot/

How can I control the pixel density or quality of the screenshots my app takes, without resizing the images?


Solution

  • The problem was just the image format. Probably jpeg format has lower quality than png when taking screenshot. Saving the image as png gave me a real sharp and high quality screenshot.