C# Class Playroom.Squish

Afficher le fichier Open project: jlyonsmith/Playroom Class Usage Examples

Méthodes publiques

Méthode Description
CompressImage ( byte rgba, int width, int height, SquishMethod method, SquishFit fit, SquishMetric metric, SquishExtra extra ) : byte[]
DecompressImage ( int width, int height, byte blocks, SquishMethod method ) : byte[]
GetStorageRequirements ( int width, int height, SquishMethod method ) : int

Method Details

CompressImage() public static méthode

public static CompressImage ( byte rgba, int width, int height, SquishMethod method, SquishFit fit, SquishMetric metric, SquishExtra extra ) : byte[]
rgba byte
width int
height int
method SquishMethod
fit SquishFit
metric SquishMetric
extra SquishExtra
Résultat byte[]

DecompressImage() public static méthode

public static DecompressImage ( int width, int height, byte blocks, SquishMethod method ) : byte[]
width int
height int
blocks byte
method SquishMethod
Résultat byte[]

GetStorageRequirements() public static méthode

public static GetStorageRequirements ( int width, int height, SquishMethod method ) : int
width int
height int
method SquishMethod
Résultat int