Solved

Rotate a picture with any angle!

Posted on 2000-03-10
7
1,517 Views
Last Modified: 2008-03-04
i want to rotate a picture of 64x64 like in Paint but i don't want only rotate from 90,180,270 degres i want a precise rotation like 10degres! I just want keep a good picture image but the size of the picture can change.
0
Comment
Question by:powlin
7 Comments
 
LVL 9

Accepted Solution

by:
Ruchi earned 100 total points
Comment Utility
0
 
LVL 9

Expert Comment

by:Ruchi
Comment Utility
the above answer
0
 
LVL 1

Author Comment

by:powlin
Comment Utility
It's seem to be good, but i was expecting maybe some API call not resizing it pixel by pixel i want it for a fast moving picture so this is quite too slow... If you have another solution post it, if nobody can give me a better answer I will give you the points!
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 9

Expert Comment

by:samopal
Comment Utility
Another good example how to rotate picture, but only in WMF format - very fast!

http://www.planet-source-code.com/vb/ftp/CODE_UPLOAD2768172000.zip
0
 
LVL 9

Expert Comment

by:Ruchi
Comment Utility
0
 
LVL 1

Author Comment

by:powlin
Comment Utility
Same code as samopal
0
 
LVL 12

Expert Comment

by:pjknibbs
Comment Utility
powlin: There's no API call which will let you rotate a bitmap through an arbitrary angle, at least not which will work on any version of Windows. (It might be possible under Windows NT/2000, but I'm not certain).
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now