English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to make mirror image of picture inserted in image controle. plz help me. plz visit www.santabanta.com

2006-07-27 02:11:20 · 1 answers · asked by dipak 2 in Computers & Internet Programming & Design

1 answers

System.Drawing.Image img =System.Drawing.Image.FromFile("C:\\cat.jpg");
Bitmap b = new Bitmap(img);
b.RotateFlip(RotateFlipType.Rotate270FlipY);
System.IO.File.Delete("C:\\catii.jpg");
b.Save("C:\\catii.jpg",System.Drawing.Imaging.ImageFormat.Jpeg);
img2.ImageUrl ="C:\\catii.jpg";

2006-07-27 03:50:24 · answer #1 · answered by ralphd42 2 · 0 0

fedest.com, questions and answers