private void rotate_Click(object sender, EventArgs e) { chosenImage = new Bitmap(ImageFilter.RotateImage90CW(chosenImage)); pictureBox2.Image = chosenImage; }
private void Rotate90CW(object sender, EventArgs e) { UploadedImageBitmap.BM = new Bitmap(ImageFilter.RotateImage90CW(pictureBox1.Image)); pictureBox1.Image = UploadedImageBitmap.BM; }