解决方案 »

  1.   

       string photopath =Application.StartupPath+"\\1.png";
                System.Drawing.Image drawimage = System.Drawing.Image.FromFile(photopath); 
                //photopath表示图片的物理地址     
                drawimage.RotateFlip(RotateFlipType.Rotate270FlipNone);   
                if(File.Exists(photopath))   
                {       
                    File.SetAttributes(photopath,FileAttributes.Normal);      
                    File.Delete(photopath);   
                }    
                drawimage.Save(photopath,System.Drawing.Imaging.ImageFormat.Jpeg);   
                drawimage.Dispose(); 
      

  2.   

    你再加句:   Bitmap b = (Bitmap)this.pictureBox1.Image;
                Invert(b);
                this.pictureBox1.Image=b;