Beispiel #1
0
        private void btRotate_Right_Click(object sender, RoutedEventArgs e)
        {
            mainImage = new RotateImage(mainImage, RotateFlipType.Rotate90FlipNone);
            Bitmap dd = mainImage.ApplyEffect();

            imgDisplayImage.Source = ImageOperations.Bitmap2ImageSource(dd);
        }
Beispiel #2
0
        private void blackAndWhite_Button_Click(object sender, RoutedEventArgs e)
        {
            mainImage = new BlackWhiteImage(mainImage);
            Bitmap dd = mainImage.ApplyEffect();

            imgDisplayImage.Source = ImageOperations.Bitmap2ImageSource(dd);
        }