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 detect if application is idle?
What are temporary files on my phone?
How to get the geolocation data on a picture?
Explain how to get the geolocation data on a picture?
How the volume work between apps and hardware buttons on the device?
Explain I am getting too many mouse leaves on my custom control.?
Explain how to edit location for weather?
What happened to toplevelnavigationservice, it is not there on april ctp refresh?
What is windows phone?
How do I find my downloads on this phone?
Explain how to pin an app on the emulator?
On april ctp refresh, splashscreen appears for 3 seconds and disappears (even if my page is not fully loaded)?
How to sniff network traffic from the emulator?
How to manage my isolated storage quota?
What is safety mode on my phone?