C# Class AlbLib.Imaging.HeaderedImage

Inheritance: ImageBase
ファイルを表示 Open project: IllidanS4/AlbLib Class Usage Examples

Public Methods

Method Description
FromRawData ( byte data ) : HeaderedImage

Creates new instance.

FromStream ( Stream stream ) : HeaderedImage

Creates new instance.

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

Initializes new instance.

HeaderedImage ( byte rawdata ) : System

Initializes new instance.

HeaderedImage ( 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 ) : HeaderedImage
data byte
return HeaderedImage

FromStream() public static method

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

GetHeight() public method

public GetHeight ( ) : int
return int

GetWidth() public method

public GetWidth ( ) : int
return int

HeaderedImage() public method

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

HeaderedImage() public method

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

HeaderedImage() public method

Initializes new instance.
public HeaderedImage ( 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[]