Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rotating an image, omg I cant !!!
01-03-2013, 01:11 AM
Post: #1
Rotating an image, omg I cant !!!
Please people help me to rotate a simple image. I´m using Delphi.

My code is working. In my form i have one TVLDSImageDisplay and one TLVRotate. I dont know how to rotate the image after display. Inside the "TLVRotate.InpuPin" property, there is nothing to select.

This is my code:
Code:
procedure TForm1.Button1Click(Sender: TObject);
var
img : TBitmap;
jpg : TPicture;
begin

jpg := TPicture.Create;
jpg.LoadFromFile('D:\jucerun\delphi\MidiDelphi\VolumeKnob.jpg');

img := TBitmap.Create;
img.Width := 121;
img.Height := 121;
img.Canvas.Draw(0,0,jpg.Graphic);

VLRotate1.Angle := 90;
VLDSImageDisplay1.DisplayBitmap(img);
end;


Pleaseeeeee !!!
thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Rotating an image, omg I cant !!! - oliveiracarlos - 01-03-2013 01:11 AM
RE: Rotating an image, omg I cant !!! - Dave - 01-03-2013, 01:26 AM
RE: Rotating an image, omg I cant !!! - Dave - 01-03-2013, 05:10 AM
RE: Rotating an image, omg I cant !!! - Dave - 01-03-2013, 10:54 AM
RE: Rotating an image, omg I cant !!! - Dave - 01-04-2013, 09:16 AM
RE: Rotating an image, omg I cant !!! - Dave - 01-05-2013, 06:07 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)