Solved

rotate Images

Posted on 2000-04-30
7
498 Views
Last Modified: 2010-04-04
Hello!

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?!!

Bye

Robert

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!
0
Comment
Question by:rowisoft
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 17

Expert Comment

by:inthe
ID: 2764485
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.

http://www.efg2.com/lab/imageprocessing/RotateScanline.htm
0
 
LVL 17

Expert Comment

by:inthe
ID: 2764496
you should see here for details of how experts-exchange works:

http://www.experts-exchange.com/info/howto.htm

Regards Barry
0
 
LVL 1

Author Comment

by:rowisoft
ID: 2765305
Adjusted points from 0 to 50
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Author Comment

by:rowisoft
ID: 2765311
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??

Robert
0
 
LVL 3

Expert Comment

by:sburck
ID: 2765405
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.
0
 
LVL 3

Expert Comment

by:sburck
ID: 2765406
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.
0
 
LVL 2

Accepted Solution

by:
rene100 earned 50 total points
ID: 2765469
Hallo Robert! ;-)

Schau mal unter http://www.gnomehome.demon.nl/uddf/index.htm 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
http://www.efg2.com/Lab/ImageProcessing/RotateScanline.htm

René
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

20 Experts available now in Live!

Get 1:1 Help Now