This topic has not yet been rated - Rate this topic

ImageFileFormat Enumeration

Bb197431.note(en-us,XNAGameStudio.31).gifNote
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 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.
Windows XP SP2, Windows Vista
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ