C# 클래스 Imaging.DDSReader.DDS

This is the main class of the library. All static methods are contained within.
파일 보기 프로젝트 열기: andburn/dds-reader

공개 메소드들

메소드 설명
LoadImage ( Stream stream, bool alpha = true ) : Bitmap

Loads a DDS image from a Stream, and returns a Bitmap object of the image.

LoadImage ( byte data, bool alpha = true ) : Bitmap

Loads a DDS image from a byte array, and returns a Bitmap object of the image.

LoadImage ( string file, bool alpha = true ) : Bitmap

Loads a DDS image from a file, and returns a Bitmap object of the image.

메소드 상세

LoadImage() 공개 정적인 메소드

Loads a DDS image from a Stream, and returns a Bitmap object of the image.
public static LoadImage ( Stream stream, bool alpha = true ) : Bitmap
stream Stream The stream to read the image data from.
alpha bool Preserve the alpha channel or not. (default: true)
리턴 System.Drawing.Bitmap

LoadImage() 공개 정적인 메소드

Loads a DDS image from a byte array, and returns a Bitmap object of the image.
public static LoadImage ( byte data, bool alpha = true ) : Bitmap
data byte The image data, as a byte array.
alpha bool Preserve the alpha channel or not. (default: true)
리턴 System.Drawing.Bitmap

LoadImage() 공개 정적인 메소드

Loads a DDS image from a file, and returns a Bitmap object of the image.
public static LoadImage ( string file, bool alpha = true ) : Bitmap
file string The image file.
alpha bool Preserve the alpha channel or not. (default: true)
리턴 System.Drawing.Bitmap