loading
 
refreshing image
Roland from South Africa  [107 posts]
9 year

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  [1446 posts] 9 year
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  [107 posts] 9 year
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