Thursday, 8 August 2013

C#: Dispose() a Bitmap object after call Bitmap.save()?

C#: Dispose() a Bitmap object after call Bitmap.save()?

I have this:
Bitmap bmp = new Bitmap(image);
//image processing
bmp.Save(path + fileName);
and I want to know if I need to call bmp.Dispose() after this code. Thanks
in advance.

No comments:

Post a Comment