Show / Hide Table of Contents

Class BitmapConverter

Static class which provides conversion between System.Drawing.Bitmap and Image.

Inheritance
System.Object
BitmapConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NetVips.Extensions
Assembly: NetVips.Extensions.dll
Syntax
public static class BitmapConverter

Methods

| Improve this Doc View Source

ToBitmap(Image)

Converts Image to System.Drawing.Bitmap.

Declaration
public static Bitmap ToBitmap(this Image src)
Parameters
Type Name Description
Image src

Image to be converted.

Returns
Type Description
System.Drawing.Bitmap

A new System.Drawing.Bitmap.

| Improve this Doc View Source

ToVips(Bitmap)

Converts System.Drawing.Bitmap to Image.

Declaration
public static Image ToVips(this Bitmap src)
Parameters
Type Name Description
System.Drawing.Bitmap src

System.Drawing.Bitmap to be converted.

Returns
Type Description
Image

A new Image.

| Improve this Doc View Source

ToVips(Image)

Converts System.Drawing.Image to Image.

Declaration
public static Image ToVips(this Image src)
Parameters
Type Name Description
System.Drawing.Image src

System.Drawing.Image to be converted.

Returns
Type Description
Image

A new Image.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX