摘要: 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 阅读全文
posted @ 2011-12-11 17:09 meetrice 阅读(266) 评论(0) 推荐(0) 编辑