Solved

Rotate a picture with any angle!

Posted on 2000-03-10
7
1,529 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: 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!

 
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

717 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