C# Class DroidExplorer.Core.Adb.RawImage

Data representing an image taken from a device frame buffer.
Afficher le fichier Open project: camalot/droidexplorer Class Usage Examples

Méthodes publiques

Méthode Description
GetHeaderSize ( int version ) : int
GetRotated ( ) : RawImage
RawImage ( ) : System

Initializes a new instance of the RawImage class.

ReadHeader ( int version, BinaryReader buf ) : bool
ToImage ( ) : Image

Converts this raw image to an Image

ToImage ( PixelFormat format ) : Image

Converts this raw image to an Image

ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Méthode Description
Swap ( byte b ) : byte[]

Method Details

GetHeaderSize() public static méthode

public static GetHeaderSize ( int version ) : int
version int
Résultat int

GetRotated() public méthode

public GetRotated ( ) : RawImage
Résultat RawImage

RawImage() public méthode

Initializes a new instance of the RawImage class.
public RawImage ( ) : System
Résultat System

ReadHeader() public méthode

public ReadHeader ( int version, BinaryReader buf ) : bool
version int
buf System.IO.BinaryReader
Résultat bool

ToImage() public méthode

Converts this raw image to an Image
public ToImage ( ) : Image
Résultat Image

ToImage() public méthode

Converts this raw image to an Image
public ToImage ( PixelFormat format ) : Image
format PixelFormat The format.
Résultat Image

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( ) : string
Résultat string