Update an image permanently

Hello. I’m trying to reload an ofImage, but the load method seems to be only available for setup and not update, and the jpeg that I’m trying to load is being changed in real time at around 2 times a second by an external program. How can I make openframeworks to be checking for the image constantly? Thanks for your help.

You can create a loop to load image inside update() function.

Maybe ofxWatchFile can help you.

Loading an image on Update might slow your app.

1 Like