Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Texture2D.SaveAsJpeg Method

Saves texture data as a .jpg.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public void SaveAsJpeg (
         Stream stream,
         int width,
         int height
)

Parameters

stream
Type: Stream
Data stream number.
width
Type: Int32
Image width.
height
Type: Int32
Image height.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

Show:
© 2015 Microsoft