I use picture.loadfromfile to load an image.
I then save it somewhere using picture.savetofile.
Later, I might need to load the picture again from the last saved version, maybe when the application runs another time and this is where I have a problem. When the file is large (don't know what size is importatnt) I always get an error that the bmp is invalid when I try to load the saved version.
With smaller file, say 200K I have no problem. I appears that with large files savetofile causes an error.
Anyone understand this? Or more importantly, know how to solve it?