I have tried ImageEnProc.Rotate procedure, but i receive message "Floating point division by zero" in module ImageEnProc on row: per := 100 / (dst.Height);
Problem was solved independently. It was not working, because wrong image was loaded in the ImageEnProc.
But now there's another problem: I can not change the background color of the rotated image. I put the value of: 0, 255, 1, clWhite, but background is always black.
If you want to change the background of the image then there are other options, depending by the image (has it alpha channel? has it a specific previous background color?).