I found a function
 function RotateBitmap(var hDIB: HGlobal;
 radang: Double; clrBack: TColor): Boolean;
that rotates an image. But I don't know how to call this function. What parameters I can pass to this function. I don't know how to use this func at all.
 
     
    