by DANNY van der Ark (2 Submissions)
Category: Graphics
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(8 Votes)

I've seen many Image Rotation functions and this code might already be on VBC in some other shape or form, but most others rotate pixels by pixel wich is super duper slow. This function uses PlgBlt and hit 114 frames per second on my (1GHz) machine! CHECK SCREENSHOT for example. Code is pretty simple and commented. Have fun. Danny,--
Download Realtime Image Rotation 114 frames / sec using PlgBlt (152 KB)