C# Class AmaroK86.ImageFormat.ImageMipMapHandler

Datei anzeigen Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Methods

Method Description
ConvertTo32bit ( byte buff, int w, int h ) : byte[]
CprFormat ( string format ) : bool
ImageMipMapHandler ( string imageWithMipMaps, byte data ) : System
SaveAll ( ) : void

Private Methods

Method Description
ImageDataSize ( ImageSize imgsize, string format, float BytesPerPixel ) : long
ImageMipMapDataSize ( ImageSize imgsize, bool compressed, float BytesPerPixel ) : long
ShrinkImage ( byte imageData, ImageSize imgsize, float BytesPerPixel ) : byte[]

Method Details

ConvertTo32bit() public static method

public static ConvertTo32bit ( byte buff, int w, int h ) : byte[]
buff byte
w int
h int
return byte[]

CprFormat() public static method

public static CprFormat ( string format ) : bool
format string
return bool

ImageMipMapHandler() public method

public ImageMipMapHandler ( string imageWithMipMaps, byte data ) : System
imageWithMipMaps string
data byte
return System

SaveAll() public method

public SaveAll ( ) : void
return void