C#C
C#14mo ago
10 replies
Silme94

BAD IMAGE QUALITY (Bitmap)

Making a functionnality to add image to a page, but when i save it the quality is just horrible. It feel like on screen the image difference are the same, but there is very a big quality difference. Is there a way to make it look way better? Code :
using (Bitmap bmp = new Bitmap(pageImage.Width, pageImage.Height))
{
    pageImage.DrawToBitmap(bmp, new Rectangle(0, 0, pageImage.Width, pageImage.Height));
    bmp.Save(originalLocation);
}
save1.PNG
save2.PNG
Was this page helpful?