摘要: #region 原图大小Bitmap sourceBitmap = new Bitmap(picBox.Width, picBox.Height);panelImage.DrawToBitmap(sourceBitmap, new Rectangle(0, 0, picBox.Width, picBox.Height));#endregion#region 区域截取Image imageSource = sourceBitmap;或者(Image.FromFile(filepath))double orgWidth = IntDouble(imageSource.Width);double o 阅读全文
posted @ 2013-10-15 10:28 积极的码农 阅读(5008) 评论(0) 推荐(0) 编辑