[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Rotate a picture with any angle!

Posted on 2000-03-10
7
Medium Priority
?
1,534 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 300 total points
ID: 2605595
0
 
LVL 9

Expert Comment

by:Ruchi
ID: 2605641
the above answer
0
 
LVL 1

Author Comment

by:powlin
ID: 2605688
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 9

Expert Comment

by:samopal
ID: 2605809
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
ID: 2605845
0
 
LVL 1

Author Comment

by:powlin
ID: 2606592
Same code as samopal
0
 
LVL 12

Expert Comment

by:pjknibbs
ID: 2607760
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

829 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