Solved

Rotate a picture with any angle!

Posted on 2000-03-10
7
1,526 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
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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

856 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