Locked Graphics Demo?

BlitzPlus Forums/BlitzPlus Programming/Locked Graphics Demo?

I'm pretty impressed by the fast pixel writing capabilities in Mark's lock_graphics demo, but I'd like to actually do something more useful than write the color red all over the screen.

Can anybody around here whip up a short demo would show how to do the same thing, but with an existing image (like a rock or a tree or a spaceship, or whatever)?

BTW, I'm not talking about writing on an existing image, though that would be interesting, too. I'm talking about writing the image to the backbuffer using Mark's method rather than DrawImage.