|
-
Dec 7th, 1999, 04:26 PM
#1
Thread Starter
Lively Member
I was wondering is there a way of rotating an image through a given angle.
90, 180, 270, I can do these by swaping X & Y locations...
But something like 23.8 Degrees, how do you do that?
Steve.
-
Dec 7th, 1999, 09:29 PM
#2
New Member
If you are using images that can be viewed with the free Wang/Kodak Image Edit control, there is a Rotate_Right and Rotate_Left method that can be called to rotate in 45 degree increments.
What type image?
-
Dec 8th, 1999, 10:34 AM
#3
Thread Starter
Lively Member
The image type is not important.
I actually need to be able to rotate images with code. I need to have an image in a form, picture box etc... and by pressing a key, have the image rotate.
The image is quite small, 128x128 pixels. So a routine to do this would probably be fast enough.
Anyone who knows of an algorithm to carry out such a transformation. Please Help!
Steve.
-
Dec 8th, 1999, 11:32 AM
#4
Fanatic Member
There is a tip on Vb-World about it: Rotating Image Through Any Angle
Hope this will help
------------------
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|