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 |
Explain how the volume work between apps and hardware buttons on the device?
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 to customize front page?
What is the latest version of windows?
Tell me is there a way to detect if application is idle?
How to detect if my application is exiting so I can save state?
Are there canned mvvm "data behaviors" planned for wp7?
The MarketPlace Launchers overloads for Show has parameters, what are these?
Explain how to customize front page?
How to send suggestions on how to better the app to the AP?
Can we control the web browser controls zoom?
How do I find my downloads on this phone?