Hi all,
Newbie here so please be gentle. :-)
I've written some code to do some very basic edge detection. I can load the bitmap file successfully using
BitMap1 := Graphics.TBitMap.create;
Bitmap1.Loadfromfile(Edit1.Text);
I then process the image and save to a file using
BitMap1.SaveToFile(Edit2.Text);
I then exit the program. Problem is, when I try to delete the saved image file from Windows, I'm unable to. Any ideas? I think it's something to do with the file still being open, but not sure. Thanks!