Show / Hide Table of Contents

Class Operation

Wrap a NetVips.Internal.VipsOperation object.

Inheritance
System.Object
System.Runtime.ConstrainedExecution.CriticalFinalizerObject
System.Runtime.InteropServices.SafeHandle
GObject
VipsObject
Operation
Implements
System.IDisposable
Inherited Members
VipsObject.GetTypeOf(String)
VipsObject.GetBlurb(String)
VipsObject.Get(String)
VipsObject.Set(IntPtr, String, Object)
VipsObject.SetString(String)
VipsObject.GetDescription()
GObject.SignalConnect(String, Delegate, IntPtr)
GObject.ReleaseHandle()
GObject.IsInvalid
GObject.RefCount
System.Runtime.InteropServices.SafeHandle.handle
System.Runtime.InteropServices.SafeHandle.Close()
System.Runtime.InteropServices.SafeHandle.DangerousAddRef(System.Boolean)
System.Runtime.InteropServices.SafeHandle.DangerousGetHandle()
System.Runtime.InteropServices.SafeHandle.DangerousRelease()
System.Runtime.InteropServices.SafeHandle.Dispose()
System.Runtime.InteropServices.SafeHandle.Dispose(System.Boolean)
System.Runtime.InteropServices.SafeHandle.SetHandle(System.IntPtr)
System.Runtime.InteropServices.SafeHandle.SetHandleAsInvalid()
System.Runtime.InteropServices.SafeHandle.IsClosed
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
Assembly: NetVips.dll
Syntax
public class Operation : VipsObject, IDisposable

Methods

| Improve this Doc View Source

Call(String, VOption, Image, Object[])

Call a libvips operation.

Declaration
public static object Call(string operationName, VOption kwargs = null, Image matchImage = null, params object[] args)
Parameters
Type Name Description
System.String operationName

Operation name.

VOption kwargs

Optional arguments.

Image matchImage

A Image used as guide.

System.Object[] args

An arbitrary number and variety of arguments.

Returns
Type Description
System.Object

A new object.

Remarks

Use this method to call any libvips operation. For example:

var blackImage = Operation.Call("black", 10, 10);

See the Introduction for notes on how this works.

| Improve this Doc View Source

Call(String, VOption, Object[])

Call a libvips operation.

Declaration
public static object Call(string operationName, VOption kwargs = null, params object[] args)
Parameters
Type Name Description
System.String operationName

Operation name.

VOption kwargs

Optional arguments.

System.Object[] args

An arbitrary number and variety of arguments.

Returns
Type Description
System.Object

A new object.

Remarks

Use this method to call any libvips operation. For example:

var blackImage = Operation.Call("black", 10, 10);

See the Introduction for notes on how this works.

| Improve this Doc View Source

Call(String, Object[])

Call a libvips operation.

Declaration
public static object Call(string operationName, params object[] args)
Parameters
Type Name Description
System.String operationName

Operation name.

System.Object[] args

An arbitrary number and variety of arguments.

Returns
Type Description
System.Object

A new object.

Remarks

Use this method to call any libvips operation. For example:

var blackImage = Operation.Call("black", 10, 10);

See the Introduction for notes on how this works.

| Improve this Doc View Source

GetFlags()

Lookup the set of flags for this operation.

Declaration
public Enums.OperationFlags GetFlags()
Returns
Type Description
Enums.OperationFlags

Flags for this operation.

| Improve this Doc View Source

NewFromName(String)

Create a new NetVips.Internal.VipsOperation with the specified nickname.

Declaration
public static Operation NewFromName(string operationName)
Parameters
Type Name Description
System.String operationName

Nickname of operation to create.

Returns
Type Description
Operation

The new operation.

Remarks

You'll need to set any arguments and build the operation before you can use it. See Call(String, VOption, Image, Object[]) for a higher-level way to make new operations.

Exceptions
Type Condition
VipsException

If the operation doesn't exist.

Implements

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