Beispiel #1
0
 private void Grayscale_click(object sender, EventArgs e)
 {
     pictureBox1.Image = ImageFilter.DrawAsGrayscale(DefaultImage);
 }
Beispiel #2
0
 private void Grayscale_click(object sender, EventArgs e)
 {
     UploadedImageBitmap.BM = ImageFilter.DrawAsGrayscale(UploadedImageBitmap.BM);
     pictureBox1.Image      = UploadedImageBitmap.BM;
 }