摘要:
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
阅读(1628)
评论(1)
推荐(0)
浙公网安备 33010602011771号