C# Class AlbLib.Imaging.ImageBase

Inheritance: IRenderable
Datei anzeigen Open project: IllidanS4/AlbLib Class Usage Examples

Public Methods

Method Description
Assemble ( byte arr, int width, int height ) : ].byte[
Disassemble ( byte arr ) : byte[]
ExtractLight ( ) : RawImage
ExtractLight ( RawImage &exported ) : bool
GetHeight ( ) : int
GetWidth ( ) : int
Render ( ImagePalette palette ) : Image

Draws the image to bitmap.

Render ( RenderOptions options ) : Image
Render ( int palette ) : Image

Draws the image to bitmap.

ToRawData ( ) : byte[]

Converts entire image to format-influenced byte array.

Method Details

Assemble() public static method

public static Assemble ( byte arr, int width, int height ) : ].byte[
arr byte
width int
height int
return ].byte[

Disassemble() public static method

public static Disassemble ( byte arr ) : byte[]
arr byte
return byte[]

ExtractLight() public method

public ExtractLight ( ) : RawImage
return RawImage

ExtractLight() public method

public ExtractLight ( RawImage &exported ) : bool
exported RawImage
return bool

GetHeight() public abstract method

public abstract GetHeight ( ) : int
return int

GetWidth() public abstract method

public abstract GetWidth ( ) : int
return int

Render() public method

Draws the image to bitmap.
public Render ( ImagePalette palette ) : Image
palette ImagePalette /// Palette. ///
return Image

Render() public method

public Render ( RenderOptions options ) : Image
options RenderOptions
return Image

Render() public method

Draws the image to bitmap.
public Render ( int palette ) : Image
palette int /// Palette ID. ///
return Image

ToRawData() public abstract method

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