I have been trying to display tiff images and write stuff on that. I could display the image once using CImg library but it's tough to overwrite the window or even create a new one with it (after removing the previous one). I am using threading as well in the project and another thread needs to be invoked for the displaying of the image.
I have tried to go through opengl as well but I haven't had any luck yet. Could anyone suggest me a way through this?