C# Class AlbLib.Imaging.TinyImage

Inheritance: ImageBase
Show file Open project: IllidanS4/AlbLib Class Usage Examples

Public Methods

Method Description
FromRawData ( byte data ) : TinyImage

Creates new instance.

FromStream ( Stream stream ) : TinyImage

Creates new instance.

GetHeight ( ) : int
GetWidth ( ) : int
TinyImage ( Stream stream ) : System

Initializes new instance.

TinyImage ( byte rawdata ) : System

Initializes new instance.

TinyImage ( short width, short height, byte data ) : System

Initializes new instance.

ToRawData ( ) : byte[]

Converts entire image to format-influenced byte array.

Method Details

FromRawData() public static method

Creates new instance.
public static FromRawData ( byte data ) : TinyImage
data byte
return TinyImage

FromStream() public static method

Creates new instance.
public static FromStream ( Stream stream ) : TinyImage
stream Stream
return TinyImage

GetHeight() public method

public GetHeight ( ) : int
return int

GetWidth() public method

public GetWidth ( ) : int
return int

TinyImage() public method

Initializes new instance.
public TinyImage ( Stream stream ) : System
stream Stream
return System

TinyImage() public method

Initializes new instance.
public TinyImage ( byte rawdata ) : System
rawdata byte
return System

TinyImage() public method

Initializes new instance.
public TinyImage ( short width, short height, byte data ) : System
width short
height short
data byte
return System

ToRawData() public method

Converts entire image to format-influenced byte array.
public ToRawData ( ) : byte[]
return byte[]