loading
 
refreshing image
Roland from South Africa  [97 posts]
2 years

If I use the 'load image' function, it seems that it only loads the image once.

I have this image being updated to file by another program, so I want to refresh the loaded image on cue, but I see no way to do this from a program point of view.

If I put the 'load image' within an if-loop, it simply reads the same buffer.

Is there a way?

Regards
Roland
Steven Gentner from United States  [1371 posts] 2 years
If you download the latest you will see a new "Reload file on change" checkbox just below the filename field. If that is selected, it will check the date/time stamp and reload if that changes.

Note this has a 1 second resolution so if your file changes more than once a second it will only reload the file at most once a second regardless of fps.

STeven.
Roland from South Africa  [97 posts] 2 years
Thanks STeven

Works great.

Regards
Roland

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index