C# Class AlbLib.Imaging.RawImage

Inheritance: ImageBase
Afficher le fichier Open project: IllidanS4/AlbLib Class Usage Examples

Méthodes publiques

Méthode Description
FromBitmap ( Bitmap bmp, ImagePalette palette ) : RawImage

Creates new instance.

FromRawData ( byte data ) : RawImage

Creates new instance.

FromStream ( Stream stream, int length ) : RawImage

Creates new instance.

GetHeight ( ) : int
GetWidth ( ) : int
RawImage ( Stream stream, int length ) : System

Initializes new instance.

RawImage ( Stream stream, int width, int height ) : System

Initializes new instance.

RawImage ( byte rawdata ) : System

Initializes new instance.

RawImage ( byte data, int width ) : System

Initializes new instance.

RawImage ( byte data, int width, int height ) : System

Initializes new instance.

ToRawData ( ) : byte[]

Converts entire image to format-influenced byte array.

Method Details

FromBitmap() public static méthode

Creates new instance.
public static FromBitmap ( Bitmap bmp, ImagePalette palette ) : RawImage
bmp System.Drawing.Bitmap
palette ImagePalette
Résultat RawImage

FromRawData() public static méthode

Creates new instance.
public static FromRawData ( byte data ) : RawImage
data byte
Résultat RawImage

FromStream() public static méthode

Creates new instance.
public static FromStream ( Stream stream, int length ) : RawImage
stream Stream
length int
Résultat RawImage

GetHeight() public méthode

public GetHeight ( ) : int
Résultat int

GetWidth() public méthode

public GetWidth ( ) : int
Résultat int

RawImage() public méthode

Initializes new instance.
public RawImage ( Stream stream, int length ) : System
stream Stream
length int
Résultat System

RawImage() public méthode

Initializes new instance.
public RawImage ( Stream stream, int width, int height ) : System
stream Stream
width int
height int
Résultat System

RawImage() public méthode

Initializes new instance.
public RawImage ( byte rawdata ) : System
rawdata byte
Résultat System

RawImage() public méthode

Initializes new instance.
public RawImage ( byte data, int width ) : System
data byte
width int
Résultat System

RawImage() public méthode

Initializes new instance.
public RawImage ( byte data, int width, int height ) : System
data byte
width int
height int
Résultat System

ToRawData() public méthode

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