摘要: void SetBrightness(int brightness) { brightness = brightness * 255 / 100; WriteableBitmap wb = new WriteableBitmap(this.ImgViewBak.Source as BitmapSource); uint[] PixelData = new uint[wb.PixelWidth * wb.PixelHeight]; wb.CopyPixels(PixelData, 4 * wb.PixelWidth, 0); for (uint y = 0; y < wb.PixelHei 阅读全文
posted @ 2012-06-20 17:38 dreamzgj 阅读(1582) 评论(2) 推荐(0) 编辑