I did it once for 90 degrees you could use http://stackoverflow.com/questions/848025/rotating-bitmaps-in-codeA newer, lazarus compilable version of this code is in http://forum.lazarus.freepascal.org/index.php/topic,30556.msg194612.html#msg194612but it is not for tlazintfimage, but for an own (included) imagetype.