HTML file to Bitmap image
<p>I am trying to convert the local HTML file to bitmap image using C# Windows Form Application. For that I am reading the HTML file by using memory stream. But after passing the memory stream to Bitmap object it saying "Parameter is not valid". </p>

<p>Below is the sample code </p>

<p>MemoryStream stm = new MemoryStream(data);
 Bitmap f_Bitmap = (Bitmap)Image.FromStream(stm);</p>

<p>Please provide the solution for how can i covert the HTML file to bitmap image.</p>

<p>Thanks.</p>
