Hi i want to convert HTML to an image using HTMLRenderer. I am able to convert the HTML to an image but the fonts are appearing bold and blurred. It seems the resolution breaks while converting.
Bitmap m_Bitmap = new Bitmap(850,700);
PointF point = new PointF(0, 0);
SizeF maxSize = new System.Drawing.SizeF(850, 700);
string stylesshet = "";
HtmlRenderer.HtmlRender.Render(
Graphics.FromImage(m_Bitmap),
"<table><tr><td> 123 </td><td>456</td></tr><tr><td> 123 </td><td>456</td></tr></table>",
point,
maxSize);
m_Bitmap.Save(ImagePath, ImageFormat.Png);