Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rotating an image, omg I cant !!!
01-03-2013, 10:54 AM
Post: #6
RE: Rotating an image, omg I cant !!!
Try this:

procedure TForm1.TrackBar1Change(Sender: TObject);
begin
VLRotate1.Angle := TrackBar1.Position;
VLRotate1.ProcessBitmap(img,img);
VLDSImageDisplay1.DisplayBitmap(img);

You'd probably want to re-assign the original image to img once you did this. If it still fails i can have a look at the project tommorow. Is the original image 121x121 btw?

Regards,
Dave
Quote this message in a reply
Post Reply 


Messages In This Thread
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: 4 Guest(s)