摘要:
//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[] 阅读全文