Answer Posted / diana
Texture2D has a SaveAsJpeg method and a SaveAsPng method. Be aware that Zune does not sync pngs, so saveasjpeg is recommended
In April's CTP, you could try:
MediaLibrary library = new MediaLibrary(); library.SavePicture(“My Picture”, streamToJpegData); // You can use this from inside a Silverlight app provided you have the ID_CAP_MEDIALIB capability. // You do have to make sure the Stream you pass in contains JPEG file data, but otherwise it should work for you.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Tell me is there a way to know if my code is running on emulator or device?
Where is httputility class, since there is no system.windows.browser namespace?
Tell me is it possible to use custom pixel shader in xna?
Explain how to save silverlight uielements into an image?
Explain how to edit locations for local?
Can I turn off some of my local papers?
Explain about windows phone web browser?
What is windows phone bluetooth?
Explain how to send suggestions on how to better the app to the ap?
Explain how to sniff network traffic from the emulator?
What is safety mode on my phone?
Is there any internal page notification that it receives to detect a phone call?
Suppose I have lost one of the application templates in visual studio 2010. It's available in the file system but not in visual studio... Any ideas?
Explain how to get the geolocation data on a picture?
How to play two mediaelements at once?