Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 writeablebitmap 对象,我想在 silverlight 中保存为 JPG,我该怎么做?
我还将 writeablebitmap 对象转换为图像
WriteableBitmap bitmap = new WriteableBitmap(Width,Height);
//在位图上绘制的一些操作
进而
Image imageFHR = new Image(); imageFHR.Source = bitmap; imageFHR.Height = Height; imageFHR.Width = Width; myCanvas.Children.Add(imageFHR);