摘要: //WriteableBitmaptoARGBbytearraypublicstaticbyte[]ToByteArray(thisWriteableBitmapbmp){int[]p=bmp.Pixels;intlen=p.Length*4;byte[]result=newbyte[len];//ARGBBuffer.BlockCopy(p,0,result,0,len);returnresult;}//CopyARGBbytearrayintoWriteableBitmappublicstaticvoidFromByteArray(thisWriteableBitmapbmp,byte[] 阅读全文
posted @ 2013-09-12 21:11 ゞ追忆o0ゞ 阅读(489) 评论(0) 推荐(0) 编辑