I use the following code block with some more code inside the using block:
using (System.Drawing.Bitmap tempImg = (System.Drawing.Bitmap)tempObj.GetDa
In my case, i was saving the bitmap file on the same location as the source, So that's the problem. I save the bitmap to the new location and all fine now.