image - WritableImage to BitmapImage for Windows Phone -


i have problem writeableimage conversion.

i create writeableimage process pixcel, want create bitmapimage writeableimage data, not success... functions not support windows phone.

any ideas, 1 ?

bitmapimage not read-only version of writeablebitamp, expect. (from bitmapimage documentation: "the bitmapimage can used reference images in jpeg , png file formats." http://msdn.microsoft.com/en-us/library/windowsphone/develop/system.windows.media.imaging.bitmapimage(v=vs.105).aspx)

so, way make "conversion" use writeablebitmap.savejpeg save on memory stream , load bitmapimage via setsource. not practice, if possible use writablebitmaps way , avoid conversion.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -