Switching to the next image makes the screen flicker. It looks like the window (or screen, if in full screen mode) is first filled black, then the next image is draw over it. Apart from looking ugly, dated and restless, the continuous flicker is a nuisance to my colleagues.

I understand that sometimes (e.g. when the new image is smaller than the window) the "background" should be black and initializing the window to black is the easiest way to accomplish that. But it's not necessary when the new image is equal or larger that the previous one (both horizontally and vertically).

Could the flicker perhaps be removed in that situation?
Or is there any other way around this?