Luc Pattyn wrote:
- I had some trouble with Image.FromFile keeping the file open (although the entire image has been loaded in memory). So I decided to immediately copy the image and dispose of the one returned by FromFile.
Yes, this is a known issue, a wrapper method that copies and closes the original is a good idea, if you may want to save over an image you've loaded and edited.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert