VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Very Fast Rotate Picture with Anti-Alias

by ¿?¿? (5 Submissions)
Category: Graphics
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (29 Votes)

You Gotta Check This Out! Rotate a picture any angle -359.999° to 359.999° with or without Anti-Alias effect. I have coded it 3 different ways to show you the advantages and disadvantages of various graphics routines. First example rotates from 1 picture to another using Point and Pset. The second one uses GetPixel and SetPixel APIs. The third, a very fast technique using GetDiBits and SetDiBits (The fastest way to rotate a picture using API). Also includes my CodeTimer class which is useful for benchmarking your code. It is returns values in milliseconds accurate to 2 decimal places (10 nanoseconds). I have put in TONS of comments and optimized the code to its fullest potential. It is even possible to rotate a picture in realtime! Update - Point/Pset and GetPixel/SetPixel are now even faster.

Rate Very Fast Rotate Picture with Anti-Alias

Download Very Fast Rotate Picture with Anti-Alias

Download Very Fast Rotate Picture with Anti-Alias (53 KB)

Very Fast Rotate Picture with Anti-Alias Comments

No comments have been posted about Very Fast Rotate Picture with Anti-Alias. Why not be the first to post a comment about Very Fast Rotate Picture with Anti-Alias.

Post your comment

Subject:
Message:
0/1000 characters