C# Class AmaroK86.ImageFormat.ImageMipMapHandler

Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public static ConvertTo32bit ( byte buff, int w, int h ) : byte[]
buff byte
w int
h int
Résultat byte[]

CprFormat() public static méthode

public static CprFormat ( string format ) : bool
format string
Résultat bool

ImageMipMapHandler() public méthode

public ImageMipMapHandler ( string imageWithMipMaps, byte data ) : System
imageWithMipMaps string
data byte
Résultat System

SaveAll() public méthode

public SaveAll ( ) : void
Résultat void