C# Class MPTagThat.Core.Common.Picture

Mostrar archivo Open project: MediaPortal/MPTagThat Class Usage Examples

Public Methods

Method Description
ImageFromData ( byte data ) : Image

Creates an Image from a Taglib Byte structure

ImageToByte ( Image img ) : byte[]

Returns the Byte array from an image to be used in Taglib.Picture

Picture ( ) : System

Standard ctor

Picture ( string fileName ) : System

Create a Picture out of the given filename

Resize ( int width ) : void

Method Details

ImageFromData() public static method

Creates an Image from a Taglib Byte structure
public static ImageFromData ( byte data ) : Image
data byte
return Image

ImageToByte() public static method

Returns the Byte array from an image to be used in Taglib.Picture
public static ImageToByte ( Image img ) : byte[]
img Image
return byte[]

Picture() public method

Standard ctor
public Picture ( ) : System
return System

Picture() public method

Create a Picture out of the given filename
public Picture ( string fileName ) : System
fileName string
return System

Resize() public method

public Resize ( int width ) : void
width int
return void