If a bitmap is larger than 2500x2500 it does not rotate, otherwise it does.
The return value is always true. Are there any settings to set to increase size limit?   
 pts[0].x := dynamicBMP.height;
 pts[0].y := 0; 
 pts[1].x := dynamicBMP.height;
 pts[1].y := dynamicBMP.width; 
 pts[2].x := 0; 
 pts[2].y := 0;
  y := plgblt(TempBmp.canvas.Handle,
              pts,
              dynamicBMP.canvas.Handle,
              0,
              0,
              dynamicBMP.width,
              dynamicBMP.height,
              0,
              0,
              0);
if y = false then
  raise Exception.Create('Plgblt failed');
