Hi all, I was having this problem: We have an image uploaded by the client to the webserver, and saved to the HD. and in the same page ... I load it from the filesystem, chop of the corners using graphics api, try to re-save it... and i keep getting either an IOException "file is in use by another process." or a GDI+ External process caused an error I tracked it down to the save command. It happens if trying to save to the file I just read.
after some messing around I've got it working like this... I'm sure there's a better way!!!!!!! <code> Bitmap im = new Bitmap(fileName); Bitmap b = new Bitmap(im); im.Dispose(); <snip>.........image manipulation .........</snip> b.Save(fileName,b.RawFormat); </code> Cheers. Murray. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.