Reputation: 93
I have a writeablebitmap object that I would like to save to JPG in silverlight , how can I do that?
Upvotes: 0
Views: 2207
Reputation: 2174
I am also converting writeablebitmap object into image as
WriteableBitmap bitmap = new WriteableBitmap(Width,Height);
//Some operation of drawing on bitmap
and then
Image imageFHR = new Image();
imageFHR.Source = bitmap;
imageFHR.Height = Height;
imageFHR.Width = Width;
myCanvas.Children.Add(imageFHR);
Upvotes: 2