111,093
社区成员




pictureBox1.ImageLocation.= BitmapSource.Create(data.Width, data.Height, 96, 96, PixelFormats.Bgr32, null, coloredFrame, data.Width * PixelFormats.Bgr32.BitsPerPixel / 8);
encoder.Frames.Add(BitmapFrame.Create(BitmapFrame.Create(pictureBox1.ImageLocation as BitmapSource)));
using (MemoryStream ms = new MemoryStream())
{
encoder.Save(ms);
}