Peter Duniho replied to MS
12-Mar-10 11:48 AM
Normally, disposing the original Bitmap instance would do that. I
have not tried, but maybe the Clone() method copies _everything_,
including the dependency on the original file. You might try instead
copying the Bitmap instance by using the Bitmap(Bitmap) constructor
overload instead, and if that does not work, by just creating a new
Bitmap the same size and copying by using Graphics.FromImage() and
Graphics.DrawImage() to draw the original into the new.
If none of that works, post a concise-but-complete code example that not
only compiles but reliably demonstrates the problem.
Pete