我已经从RGBA像素列表创建了BitMapSource:BitmapSourcebmp=BitmapSource.Create(imageStrideInPixels,height,96,96,PixelFormats.Bgra32,null,imageData,imageStrideInPixels*pixelWidth);然后我从BitMapSource创建一个图像://createimageandsetimageassourceImageBmpImg=newImage();BmpImg.SetValue(Canvas.ZIndexProperty,0);BmpImg.Width=