C# Class ImageMagick.MagickImage

Inheritance: IDisposable
Afficher le fichier Open project: dlemstra/Magick.NET Class Usage Examples

Méthodes publiques

Méthode Description
MagickImage ( Bitmap bitmap ) : System

Initializes a new instance of the MagickImage class.

Read ( Bitmap bitmap ) : void

Read single image frame.

ToBitmap ( ) : Bitmap

Converts this instance to a Bitmap using ImageFormat.Bmp.

ToBitmap ( ImageFormat imageFormat ) : Bitmap

Converts this instance to a Bitmap using the specified ImageFormat. Supported formats are: Bmp, Gif, Icon, Jpeg, Png, Tiff.

ToBitmapSource ( ) : BitmapSource

Converts this instance to a BitmapSource.

Private Methods

Méthode Description
GetInstance ( MagickImage instance ) : IntPtr
IsSupportedImageFormat ( ImageFormat format ) : bool

Method Details

MagickImage() public méthode

Initializes a new instance of the MagickImage class.
Thrown when an error is raised by ImageMagick.
public MagickImage ( Bitmap bitmap ) : System
bitmap Bitmap The bitmap to use.
Résultat System

Read() public méthode

Read single image frame.
Thrown when an error is raised by ImageMagick.
public Read ( Bitmap bitmap ) : void
bitmap Bitmap The bitmap to read the image from.
Résultat void

ToBitmap() public méthode

Converts this instance to a Bitmap using ImageFormat.Bmp.
public ToBitmap ( ) : Bitmap
Résultat Bitmap

ToBitmap() public méthode

Converts this instance to a Bitmap using the specified ImageFormat. Supported formats are: Bmp, Gif, Icon, Jpeg, Png, Tiff.
public ToBitmap ( ImageFormat imageFormat ) : Bitmap
imageFormat ImageFormat The image format.
Résultat Bitmap

ToBitmapSource() public méthode

Converts this instance to a BitmapSource.
public ToBitmapSource ( ) : BitmapSource
Résultat BitmapSource