P
Paul J. Lucas
Daniele said:Yeah, that's how it goes. Work on a temporary copy if you're concerned
about that.
Needlessly copying around very large images is a non-starter.
By the way, how come you're so much concerned about deleting
a file when your program is actually working on it?
It may be working on it at time T1. At some later time T2 > T1, the user may
decide this image is rubbish and delete it. Users are fickle.
Also, are you sure you open the file in read-only mode?
Windows doesn't care.
Not if you do it properly.
But you may also forget about the timeout, load the file/image metadata
once, and remaining data on-demand.
But I still have to keep the file open in that case.
- Paul