源动力

程序在于积累和思考
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年6月5日

摘要: publicbyte[] GetStrongPictureData(string fileName) { byte[] bmpData = null; if (File.Exists(fileName)) { Bitmap bitmap = (Bitmap)(Image.FromFile(fileName)); int width = bitmap.Width; //长度像素值 int height = bitmap.Height; //高度像素值 Rectangle rect = new Rectangle(0, 0, width, height); BitmapData bitmapDa. 阅读全文

posted @ 2012-06-05 14:22 老K的幸福生活 阅读(261) 评论(0) 推荐(0) 编辑