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
Some images look different when synced to the device and read programmaticaly. Do decoders change these?
Explain how to enable/disable alerts?
Explain how to customize front page?
Is there any internal page notification that it receives to detect a phone call?
What is windows phone bluetooth?
Tell me where is httputility class, since there is no system.windows.browser namespace?
Can I reorder the tabs?
Explain I am getting too many mouse leaves on my custom control.?
Explain how to send suggestions on how to better the app to the ap?
Tell me are there api's to read rss/atom feeds?
In my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?
Explain starting with april ctp refresh, I can compile and debug my xna game, but it does not show up in list of applications when I am not launching it on thedebugger?
How do you know you have a virus on your phone?
Explain how to access the liveid credentials a user has entered into the device?
Explain how to restart or shutdown my application programmatically?