C# Class Playroom.Squish

ファイルを表示 Open project: jlyonsmith/Playroom Class Usage Examples

Public Methods

Method 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 method

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
return byte[]

DecompressImage() public static method

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

GetStorageRequirements() public static method

public static GetStorageRequirements ( int width, int height, SquishMethod method ) : int
width int
height int
method SquishMethod
return int