Ejemplo n.º 1
0
 private void UpdatedGamma(object sender, SliderDialog.ValueChangedEventArgs e)
 {
     System.Drawing.Image image = ImageHelper.AdjustGamma(originalImage, (float)e.NewValue * 0.005f);
     if (image != null)
     {
         imageList[imageIndex] = image;
         this.imageMain.Source = ImageConverter.BitmapToImageSource(image);
     }
 }