C# 클래스 Playroom.Squish

파일 보기 프로젝트 열기: jlyonsmith/Playroom 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

CompressImage() 공개 정적인 메소드

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
리턴 byte[]

DecompressImage() 공개 정적인 메소드

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

GetStorageRequirements() 공개 정적인 메소드

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