回転するビットマップがあり、回転したビットマップを渡して処理したいのですが、私のコードからは、回転したビットマップではなく元のビットマップを渡しているようです。
これを調整する方法はありますか?
using (var fullImg = new Bitmap(workGif))
{
try
{
RectangleF cloneRect = new RectangleF(0,0, fullImg.Width,fullImg.Height);
PixelFormat format = fullImg.PixelFormat;
Bitmap result = fullImg.Clone(cloneRect, format);
result.RotateFlip(RotateFlipType.Rotate180FlipNone);
string QRinfo = Process(result);
MessageBox.Show(QRinfo);
}
}