日期:2014-05-18 浏览次数:20899 次
private Bitmap to16pic(Bitmap sourceimg) { Bitmap bb = new Bitmap(sourceimg.Width, sourceimg.Height, System.Drawing.Imaging.PixelFormat.Format16bppRgb565); for (int i = 0; i < sourceimg.Height; i++) { for (int j = 0; j < sourceimg.Width; j++) { bb.SetPixel(j, i, sourceimg.GetPixel(j, i)); } } return bb; }
------解决方案--------------------
学习啊.
'
帮顶