C# Class Imaging.DDSReader.DDSImage

Inheritance: IDisposable
ファイルを表示 Open project: andburn/dds-reader Class Usage Examples

Public Methods

Method Description
DDSImage ( Stream ddsImage, bool preserveAlpha = true ) : System
DDSImage ( byte ddsImage, bool preserveAlpha = true ) : System
Dispose ( ) : void

Private Methods

Method Description
CreateBitmap ( int width, int height, byte rawData ) : System.Drawing.Bitmap
GetFormat ( DDSStruct header, uint &blocksize ) : Utils.PixelFormat
Parse ( BinaryReader reader ) : void
ReadData ( BinaryReader reader, DDSStruct header ) : byte[]
ReadHeader ( BinaryReader reader, DDSStruct &header ) : bool

Method Details

DDSImage() public method

public DDSImage ( Stream ddsImage, bool preserveAlpha = true ) : System
ddsImage Stream
preserveAlpha bool
return System

DDSImage() public method

public DDSImage ( byte ddsImage, bool preserveAlpha = true ) : System
ddsImage byte
preserveAlpha bool
return System

Dispose() public method

public Dispose ( ) : void
return void