How to save screen from an XNA app?
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 |
Some images look different when synced to the device and read programmaticaly. Do decoders change these?
Tell me about Windows Phone Bluetooth?
What happens to isolatedstorage when app is uninstalled?
Tell me is it temporary that the control styles are included in App.xaml?
Explain Windows Phone Multitasking?
Explain how to restart or shutdown my application programmatically?
Explain how to customize front page?
What do you know about Windows Phone Media support?
What are the supported codecs for video?
How to get the geolocation data on a picture?
Tell me is it possible to run two instances of emulator on the same machine. I am doing some networking app and need two emulators to test it?
What are temporary files on my phone?