Rendering stream
Posted: 2017-04-12T13:39:42-07:00
Hello,
I am new to Magick++ and would appreciate your guidance.
My goal is to render a stream on the screen, reading frames from the memory each time.
I am able to display the first image, however, I noticed once I do image.display() it just blocks there.
My question is whether I should draw the content in the same window (and run the display() in a separate thread?) or close the display window after rendering each frame?
I tried searching the board for similar questions but couldn't find any.
Thanks in advance,
Lei
I am new to Magick++ and would appreciate your guidance.
My goal is to render a stream on the screen, reading frames from the memory each time.
I am able to display the first image, however, I noticed once I do image.display() it just blocks there.
My question is whether I should draw the content in the same window (and run the display() in a separate thread?) or close the display window after rendering each frame?
I tried searching the board for similar questions but couldn't find any.
Thanks in advance,
Lei