1

Is there some simple way to rotate image by given angle?

I load image using TPortableNetworkGraphic and now I would like to rotate this e.g. for 11 degrees and draw on TPaintBox.

Could you help me?

Mlody87
  • 425
  • 1
  • 7
  • 19
  • 1
    Have you seen https://stackoverflow.com/questions/10633400/rotate-bitmap-by-real-angle ? However, I'm not sure the `alphachannel` in your `.png` will survive. – Tom Brunberg Apr 10 '21 at 07:41
  • I used TBitmap32 from this post: https://stackoverflow.com/questions/10633400/rotate-bitmap-by-real-angle – Mlody87 Apr 10 '21 at 17:56

0 Answers0