C# Class AlbLib.Imaging.AnimatedHeaderedImage

Inheritance: ImageBase, IAnimatedRenderable
Datei anzeigen Open project: IllidanS4/AlbLib

Public Methods

Method Description
AnimatedHeaderedImage ( Stream stream ) : System

Initializes new instance.

AnimatedHeaderedImage ( byte rawdata ) : System

Initializes new instance.

FromRawData ( byte data ) : AnimatedHeaderedImage

Creates new instance.

FromStream ( Stream stream ) : AnimatedHeaderedImage

Creates new instance.

GetHeight ( ) : int
GetWidth ( ) : int
Render ( RenderOptions options ) : Image

Draws the image to bitmap.

Render ( byte index, RenderOptions options ) : Image

Draws the animated image to bitmap.

ToRawData ( ) : byte[]

Converts entire image to format-influenced byte array.

Method Details

AnimatedHeaderedImage() public method

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

AnimatedHeaderedImage() public method

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

FromRawData() public static method

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

FromStream() public static method

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

GetHeight() public method

public GetHeight ( ) : int
return int

GetWidth() public method

public GetWidth ( ) : int
return int

Render() public method

Draws the image to bitmap.
public Render ( RenderOptions options ) : Image
options RenderOptions /// More rendering options. ///
return Image

Render() public method

Draws the animated image to bitmap.
public Render ( byte index, RenderOptions options ) : Image
index byte /// Zero-based frame index. ///
options RenderOptions /// More rendering options. ///
return Image

ToRawData() public method

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