ALX
Well-known member
I load a bitmap into a picturebox (p) using "Image.FromFile(filename.bmp)" after which I may or may not make changes to it. In case changes have been made, I try to save the bitmap back to disk by using
This generates a generic GDI exception, and I presume it is because "The image was saved to the same file it was created from". Is there simple way around this?
VB.NET:
p.Image.Save("NameofBitmap.bmp")