Hello Lifepower,

your sample works, but it does not what I meant.
You SET pixels, I just want to GET pixels.
I have sent you a mail with a little sample which does nothing more than:

- load bitmap from vtdb
- print bitmap on screen
- show fps
- show pixelcolor of pixel[1,1,0]

This one hangs up!

If I insert your code to get the picture red, it works!

So there has to be a difference in GET and SET pixel. My problem only occurs when GETTING pixels.

And now the confusing thing:
After changing the picture to red color using pixels[j,i,0] := .... I am able to GET pixels without problems. That's why your samples work because you always manipulate the bitmap by setting pixels.

Please try out the little sample I sent you to see what I mean, but be aware of a bluescreen, so save all your work before :lol:

Greetings,
Dirk