ImageFileFormat Enumeration

Note

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)

Syntax

public enum ImageFileFormat

Members

  Member name Description
Bmp Microsoft Windows bitmap file format.
Dds DirectDrawSurface file format.
Dib Microsoft Windows bitmap file format.
Hdr High dynamic-range file format.
Jpg Joint Photographic Experts Group (JPEG) compressed file format.
Pfm Portable float map file format.
Png Portable Network Graphics file format.
Ppm Portable pixmap file format.
Tga Truevision Targa image file format.

See Also

Reference

Texture.Save Method
TextureInformation.ImageFormat Property
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista