ImageFileFormat Enumeration
Collapse the table of content
Expand the table of content

ImageFileFormat Enumeration

This enumeration is available only when developing for Windows.
Defines supported image file formats that may be used for textures.

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

public enum ImageFileFormat

 Member nameDescription
BmpMicrosoft Windows bitmap file format.
DdsDirectDrawSurface file format.
DibMicrosoft Windows bitmap file format.
HdrHigh dynamic-range file format.
JpgJoint Photographic Experts Group (JPEG) compressed file format.
PfmPortable float map file format.
PngPortable Network Graphics file format.
PpmPortable pixmap file format.
TgaTruevision Targa image file format.

Windows XP SP2, Windows Vista

Community Additions

© 2015 Microsoft