// 90تحريك صورة private void btnrotate(object sender, EventArgs e) { picture.Image = Edit_Photo.Edit_Rotate(picture.Image); }
private void Resizeeee(object sender, EventArgs e) { // pictureBox1.Image = ImageMode.resizeImage(pictureBox1.Image, 25, 25); picture.Image = Edit_Photo.Resize(@"E:\برشلونة 2019-2020\79448668_224261181898793_2341877415459946496_o.jpg", int.Parse(textw.Text), int.Parse(texth.Text)); }
//نسخ الصورة private void btncopy(object sender, EventArgs e) { pictureBox2.Image = Edit_Photo.Copy(picture.Image); pictureBox2.Visible = true; }
private void btnmagenta(object sender, EventArgs e) { picture.Image = Edit_Photo.GetMagenta(img); }
private void btCombinetwopictures(object sender, EventArgs e) { picture.Image = Edit_Photo.Edit_Combine(pictureBox4.Image, pictureBox5.Image, (byte)trackBar1.Value); }
private void btncayn(object sender, EventArgs e) { picture.Image = Edit_Photo.Getcayn(img); }
private void btnyellow(object sender, EventArgs e) { picture.Image = Edit_Photo.Getyello(img); }
private void btnOpposite(object sender, EventArgs e) { picture.Image = Edit_Photo.Edit_Opposite(img); }
private void bnWhite(object sender, EventArgs e) { picture.Image = Edit_Photo.Edit_White(img); }
private void btn_Black(object sender, EventArgs e) { picture.Image = Edit_Photo.Edit_Black(img); }
private void btnGray(object sender, EventArgs e) { picture.Image = Edit_Photo.Edit_Gray(img); }
private void btnred(object sender, EventArgs e) { picture.Image = Edit_Photo.Edit_Red(img); }