private void button20_Click(object sender, EventArgs e) { pictureBox1.Image = Origin; Color c = Color.Orange; pictureBox1.Image = ImageFilters.ApplyFilterMega(new Bitmap(pictureBox1.Image), 230, 110, c); }
private void button19_Click_1(object sender, EventArgs e) { pictureBox1.Image = Origin; pictureBox1.Image = ImageFilters.RainbowFilter(new Bitmap(pictureBox1.Image)); }
private void button22_Click(object sender, EventArgs e) { pictureBox1.Image = Origin; pictureBox1.Image = ImageFilters.ApplyFilterMega(new Bitmap(pictureBox1.Image), 230, 110, SecondPicBrush); }
private void button21_Click(object sender, EventArgs e) { Color c = Color.Pink; pictureBox1.Image = ImageFilters.ApplyFilterMega(new Bitmap(pictureBox1.Image), 230, 110, c); }
private void button17_Click(object sender, EventArgs e) { pictureBox1.Image = Origin; System.Drawing.Image te = ImageFilters.ApplyFilterSwapDivide(new Bitmap(pictureBox1.Image), 1, 1, 2, 1); pictureBox1.Image = ImageFilters.ApplyFilterSwap(new Bitmap(te)); }
private void button15_Click(object sender, EventArgs e) { pictureBox1.Image = Origin; pictureBox1.Image = ImageFilters.ApplyFilterSwap(new Bitmap(pictureBox1.Image)); }
private void button16_Click(object sender, EventArgs e) { pictureBox1.Image = Origin; pictureBox1.Image = ImageFilters.BlackWhite(new Bitmap(pictureBox1.Image)); }
private void button12_Click(object sender, EventArgs e) { pictureBox1.Image = ImageFilters.ApplyFilter(new Bitmap(pictureBox1.Image), 1, 1, 10, 15); }
private void button8_Click(object sender, EventArgs e) { pictureBox1.Image = Origin; pictureBox1.Image = ImageFilters.DivideCrop(new Bitmap(pictureBox1.Image)); }