code: public static Bitmap rotate(Bitmap bmp, float angle) {
          Matrix matrixRotateLeft = new Matrix();
          matrixRotateLeft.setRotate(angle);
          return Bitmap.createBitmap(bmp, 0, 0, bmp.getWidth(), bmp.getHeight(), matrixRotateLeft, true);
      }
docs: 旋转图片
  
  @param bmp   原始图片
  @param angle 旋转的角度
  @return