rotate Images


Again a message from me...
How can I rotate Images or other components??? I often searched a component for that but I never found once!
Please help?!!



PS: My english is bad!! - I know! - Sorry!!
I am very new in Delphi so I ask lots of questions... ;-)

PPS: What are pints?? Do I need this??? I don't know how to do that!
Who is Participating?

Improve company productivity with a Business Account.Sign Up

rene100Connect With a Mentor Commented:
Hallo Robert! ;-)

Schau mal unter nach, (da findest du den Code um ein Bitmap um 90 oder 180 Grad zu rotieren......(Punkt 29.8 - Graphics)

oder halt, noch besser ist

you can buy points to ask questions with.
they are experts-exchange "currency" to ask questions with.
generally if you ask a question for 0 points it will not be answered unless someone is feeling generous ;-)

when someone leaves a comment that is helpful (or is good enough for answer) you can select the "accept comment as answer" button on top right of appropriate comment box.
you should see here for details of how experts-exchange works:

Regards Barry
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

rowisoftAuthor Commented:
Adjusted points from 0 to 50
rowisoftAuthor Commented:
Hello again from me!

The Question have points, now! Please give answers to "rotate Images" and you'll get the points...

Points: I filled out any form! then I hav 250 Points! How to get more, now??

The TImage, TPicture and TBitmap components don't have (that I know of) any innate ability to rotate - however, there are packages which give this ability.  Leadtools VCL is one example.  In general, rotating a bitmap, is done by mapping every point to another point where (x,y) is multiplied by the conversion matrix

    cos a      sin a
  - sin a      cos a

(where a is the angle of rotation in radians) to give its new location.

This oversimplifies in a lot of cases, however, because this doesn't take into account things like resizing the canvas, etc.
I looked at the question again, you mentioned images 'or other components'.  On the companion disk which comes with Delphi, there are the LMD and ABC components, which, among other things, have rotated labels and, I believe, other things like rotated button bars, etc.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.