I use the following code block with some more code inside the using block:
using (System.Drawing.Bitmap tempImg = (System.Drawing.Bitmap)tempObj.GetDa
I was facing the same issue, by changing image type ".bmp" to ".png" its work form me