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 |
What happened to toplevelnavigationservice, it is not there on april ctp refresh?
In my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?
Is it possible to use custom pixel shader in xna?
How to change language settings?
Why did my phone go into safe mode?
Explain how to access the liveid credentials a user has entered into the device?
How to deserialize json from a rest call?
What is safety mode on my phone?
Explain about windows phone web browser?
Explain how to dismiss the sip programmatically?
Can I turn off some of my local papers?
Some images look different when synced to the device and read programmaticaly. Do decoders change these?