Accessing and modifying .png file on disk
in
Programming Questions
•
2 years ago
What is the best way to access and modify a .png file on disk while several sketches are accessing the same file.
The only thing I can think of is create a queuing algorithm where each sketch is assigned an id and these modifications are queued, but that does not solve the problem if multiple access to the file, once the file has changed how do I update the rest of the sketches after loadImage() has been called ?
The only thing I can think of is create a queuing algorithm where each sketch is assigned an id and these modifications are queued, but that does not solve the problem if multiple access to the file, once the file has changed how do I update the rest of the sketches after loadImage() has been called ?
1
