摘要:
Image image = Image.FromFile(@"c:/fp.bmp"); Bitmap bmp = new Bitmap(image); image.Dispose(); //释放文件占用,这句话很重要 pictureBox1.Image = Rotate(bmp, RotateFlipType.Rotate180FlipNone);//旋转 private Bitmap Rotate(Bitmap source, RotateFlipType rotateFlipType) { Rectangle rect = new Rectangle(0, 0, sou 阅读全文