Board index » delphi » How can I rotate a JPG/GIF image?

How can I rotate a JPG/GIF image?

In response to my question:

Quote
>I am using the TGifImage and TImage with JPG and GIF images and >I need to rotate some of them 90deg without modifing the
>original image.  Is there anyway to do this?

There was a response: (thanks, by the way)

Quote
>Assign them to a Tbitmap and show,rotate the TBitmap instead.

I've investigated and am still unsure of how to go about doing this.  I've been able (using TBitmap) to display a BMP image, but not JPG or GIF.  And I can't find any way to actually "Rotate" the image.

Any more help or suggestions would be greatly appreciated.
Thanks again,
Scott

 

Re:How can I rotate a JPG/GIF image?


Quote
> I've investigated and am still unsure of how to go about doing this.  I've been able (using TBitmap) to display a BMP image, but not JPG or GIF.  And I can't find any way to actually "Rotate" the image.

> Any more help or suggestions would be greatly appreciated.

Here's the best site all Delphi graphics/images questions.
http://www.efg2.com/Lab/Library/Delphi/Graphics/index.html

Jan Derk

Other Threads