Hi Pixelsearch. I am looking into incorporating image zooming feature into one of my GUIs and your approach is a very easy and elegant way of doing it. But my experiments with your code are not entirely successful (at this stage I am just using my own image, no other changes to your code were made). The problem is that flickering is not entirely gone. Generally the GUI doesn't flicker when I change zoom level whith mouse wheel. But there are two cases the problem still shows up in my experiments. First is when I drag the image whith my left mouse button pressed (but this one is mild). And the second is when I minimize the window to tray and later unfurl it back. After that it starts flickering like hell when I adjust zoom level whith my mose wheel.
Would you or UEZ be so kind as to provide some advice on how it would be possible to get rid of this nasty little problem?