Answer / 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|
How to pin an app on the emulator?
Tell me are there api's to read rss/atom feeds?
How to save screen from an XNA app?
Tell me where is the best recommended place to store both static and user-specified configuration information?
Explain I am getting too many mouse leaves on my custom control.?
What are the supported codecs for video?
Explain about windows phone user interface?
In my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?
Suppose when I deployed my xna app to the xde, the orientation is in portrait mode, but when I deploy it to a device, it's in landscape mode.?
How to edit location for weather?
Explain how to access the liveid credentials a user has entered into the device?
Explain how to edit locations for local?