Share via


CIImage Constructors

Definition

Overloads

Name Description
CIImage(NSImageRep)
CIImage(CGLayer, NSDictionary)
CIImage(CVImageBuffer, CIImageInitializationOptions)

Initializes a CoreImage image from the contents of the specified CoreVideo image buffer.

CIImage(CVImageBuffer, NSDictionary<NSString,NSObject>)

Constructs a CIImage using the options in dict.

CIImage(CVPixelBuffer, CIImageInitializationOptions)

Constructs a CIImage using options.

CIImage(CVPixelBuffer, NSDictionary)

Constructs a CIImage from the data in buffer, applying the options specified in dict.

CIImage(NSData, CIImageInitializationOptionsWithMetadata)

Creates a new CIImage from the specified data. The image data must be premultiplied.

CIImage(NSData, NSDictionary)

Creates a new CIImage from the specified data. The image data must be premultiplied.

CIImage(NSUrl, CIImageInitializationOptions)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

CIImage(NSUrl, NSDictionary)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

CIImage(IOSurface, CIImageInitializationOptions)
CIImage(IOSurface, NSDictionary)
CIImage(IMTLTexture, NSDictionary)

Constructs a CIImage using the options.

CIImage(UIImage, CIImageInitializationOptions)

Initializes a CoreImage image from a UIKit image.

CIImage(UIImage, NSDictionary)

Initializes a CoreImage image from a UIKit image.

CIImage(CGImageSource, UIntPtr, CIImageInitializationOptionsWithMetadata)
CIImage(CGImageSource, UIntPtr, NSDictionary)
CIImage(Int32, CGSize, Boolean, CGColorSpace)
CIImage(CGLayer, CIImageInitializationOptions)
CIImage(NSData, IntPtr, CGSize, Int32, CGColorSpace)
CIImage(CGImage, NSDictionary)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

CIImage(AVSemanticSegmentationMatte, NSDictionary)
CIImage(AVDepthData)
CIImage(AVPortraitEffectsMatte)
CIImage(AVSemanticSegmentationMatte)
CIImage(CGImage)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

CIImage(CGLayer)
CIImage(CIColor)

Creates an image with infinite dimensions that is filled with the specified color.

CIImage(CVImageBuffer)

Initializes a CoreImage image from the contents of the specified CoreVideo image buffer.

CIImage(CVPixelBuffer)

Constructs a CIImage with the supplied buffer data.

CIImage(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

CIImage(NSData)

Creates a new CIImage from the specified data. The image data must be premultiplied.

CIImage(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

CIImage(NSUrl)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

CIImage(IOSurface)
CIImage(NativeHandle)

A constructor used when creating managed representations of unmanaged objects. Called by the runtime.

CIImage(UIImage)

Initializes a CoreImage image from a UIKit image.

CIImage(AVDepthData, NSDictionary)
CIImage(AVPortraitEffectsMatte, NSDictionary)
CIImage(CGImage, CIImageInitializationOptionsWithMetadata)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

CIImage(ICIImageProvider, UIntPtr, UIntPtr, CIFormat, CGColorSpace, CIImageProviderOptions)

CIImage(NSImageRep)

[Foundation.Export("initWithBitmapImageRep:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(AppKit.NSImageRep imageRep);
[<Foundation.Export("initWithBitmapImageRep:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : AppKit.NSImageRep -> CoreImage.CIImage

Parameters

imageRep
NSImageRep
Attributes

Applies to

CIImage(CGLayer, NSDictionary)

[Foundation.Export("initWithCGLayer:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreGraphics.CGLayer layer, Foundation.NSDictionary? d);
[<Foundation.Export("initWithCGLayer:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreGraphics.CGLayer * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

layer
CGLayer
Attributes

Applies to

CIImage(CVImageBuffer, CIImageInitializationOptions)

Initializes a CoreImage image from the contents of the specified CoreVideo image buffer.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreVideo.CVImageBuffer imageBuffer, CoreImage.CIImageInitializationOptions? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreVideo.CVImageBuffer * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

imageBuffer
CVImageBuffer

CoreVideo image buffer.

options
CIImageInitializationOptions

Options to initialize the image with.

Attributes

Applies to

CIImage(CVImageBuffer, NSDictionary<NSString,NSObject>)

Constructs a CIImage using the options in dict.

[Foundation.Export("initWithCVImageBuffer:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreVideo.CVImageBuffer imageBuffer, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>? dict);
[<Foundation.Export("initWithCVImageBuffer:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreVideo.CVImageBuffer * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> CoreImage.CIImage

Parameters

imageBuffer
CVImageBuffer

Holds the data that is the basis of the image.

dict
NSDictionary<NSString,NSObject>

Dictionary of strings to objects, holding the options to be applied during construction. (See CIImageInitializationOptions)

This parameter can be null.

Attributes

Applies to

CIImage(CVPixelBuffer, CIImageInitializationOptions)

Constructs a CIImage using options.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreVideo.CVPixelBuffer buffer, CoreImage.CIImageInitializationOptions? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreVideo.CVPixelBuffer * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

buffer
CVPixelBuffer

Holds the data that is the basis of the image.

options
CIImageInitializationOptions

The options to be applied during initialization.

Attributes

Applies to

CIImage(CVPixelBuffer, NSDictionary)

Constructs a CIImage from the data in buffer, applying the options specified in dict.

[Foundation.Export("initWithCVPixelBuffer:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreVideo.CVPixelBuffer buffer, Foundation.NSDictionary? dict);
[<Foundation.Export("initWithCVPixelBuffer:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreVideo.CVPixelBuffer * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

buffer
CVPixelBuffer

The data that forms the basis of the image.

dict
NSDictionary

A dictionary of strings to objects defining the options to be applied during construction. (See CIImageInitializationOptions).

This parameter can be null.

Attributes

Applies to

CIImage(NSData, CIImageInitializationOptionsWithMetadata)

Creates a new CIImage from the specified data. The image data must be premultiplied.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(Foundation.NSData data, CoreImage.CIImageInitializationOptionsWithMetadata? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : Foundation.NSData * CoreImage.CIImageInitializationOptionsWithMetadata -> CoreImage.CIImage

Parameters

data
NSData

Image data, in a format supported by the system.

options
CIImageInitializationOptionsWithMetadata

Options to initialize the image with.

Attributes

Applies to

CIImage(NSData, NSDictionary)

Creates a new CIImage from the specified data. The image data must be premultiplied.

[Foundation.Export("initWithData:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(Foundation.NSData data, Foundation.NSDictionary? d);
[<Foundation.Export("initWithData:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : Foundation.NSData * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

data
NSData

Image data, in a format supported by the system.

d
NSDictionary

Extra configuration options, as an NSDictionary.

This parameter can be null.

Attributes

Applies to

CIImage(NSUrl, CIImageInitializationOptions)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(Foundation.NSUrl url, CoreImage.CIImageInitializationOptions? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : Foundation.NSUrl * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

url
NSUrl

Location of the image data.

options
CIImageInitializationOptions

Options to initialize the image with.

Attributes

Applies to

CIImage(NSUrl, NSDictionary)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

[Foundation.Export("initWithContentsOfURL:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(Foundation.NSUrl url, Foundation.NSDictionary? d);
[<Foundation.Export("initWithContentsOfURL:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : Foundation.NSUrl * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

url
NSUrl

Location of the image data.

d
NSDictionary

Extra configuration options, as an NSDictionary.

This parameter can be null.

Attributes

Applies to

CIImage(IOSurface, CIImageInitializationOptions)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(IOSurface.IOSurface surface, CoreImage.CIImageInitializationOptions? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : IOSurface.IOSurface * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

surface
IOSurface
Attributes

Applies to

CIImage(IOSurface, NSDictionary)

[Foundation.Export("initWithIOSurface:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(IOSurface.IOSurface surface, Foundation.NSDictionary? options);
[<Foundation.Export("initWithIOSurface:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : IOSurface.IOSurface * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

surface
IOSurface
options
NSDictionary

To be added.

This parameter can be null.

Attributes

Applies to

CIImage(IMTLTexture, NSDictionary)

Constructs a CIImage using the options.

[Foundation.Export("initWithMTLTexture:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(Metal.IMTLTexture texture, Foundation.NSDictionary? options);
[<Foundation.Export("initWithMTLTexture:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : Metal.IMTLTexture * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

texture
IMTLTexture

The IMTLTexture that is the basis for the CIImage.

options
NSDictionary

A dictionary of strings to objects that hold the configuration options.

This parameter can be null.

Attributes

Applies to

CIImage(UIImage, CIImageInitializationOptions)

Initializes a CoreImage image from a UIKit image.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(UIKit.UIImage image, CoreImage.CIImageInitializationOptions? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : UIKit.UIImage * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

image
UIImage

UIKit image.

options
CIImageInitializationOptions

Options to initialize the image with.

Attributes

Applies to

CIImage(UIImage, NSDictionary)

Initializes a CoreImage image from a UIKit image.

[Foundation.Export("initWithImage:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(UIKit.UIImage image, Foundation.NSDictionary? options);
[<Foundation.Export("initWithImage:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : UIKit.UIImage * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

image
UIImage

UIKit image.

options
NSDictionary

Extra configuration options, as an NSDictionary.

This parameter can be null.

Attributes

Applies to

CIImage(CGImageSource, UIntPtr, CIImageInitializationOptionsWithMetadata)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(ImageIO.CGImageSource source, UIntPtr index, CoreImage.CIImageInitializationOptionsWithMetadata options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : ImageIO.CGImageSource * unativeint * CoreImage.CIImageInitializationOptionsWithMetadata -> CoreImage.CIImage

Parameters

source
CGImageSource
index
UIntPtr

unativeint

Attributes

Applies to

CIImage(CGImageSource, UIntPtr, NSDictionary)

[Foundation.Export("initWithCGImageSource:index:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(ImageIO.CGImageSource source, UIntPtr index, Foundation.NSDictionary? options);
[<Foundation.Export("initWithCGImageSource:index:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : ImageIO.CGImageSource * unativeint * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

source
CGImageSource
index
UIntPtr

unativeint

options
NSDictionary
Attributes

Applies to

CIImage(Int32, CGSize, Boolean, CGColorSpace)

[Foundation.Export("initWithTexture:size:flipped:colorSpace:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(int glTextureName, CoreGraphics.CGSize size, bool flipped, CoreGraphics.CGColorSpace? colorSpace);
[<Foundation.Export("initWithTexture:size:flipped:colorSpace:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : int * CoreGraphics.CGSize * bool * CoreGraphics.CGColorSpace -> CoreImage.CIImage

Parameters

glTextureName
Int32
size
CGSize
flipped
Boolean
colorSpace
CGColorSpace

To be added.

This parameter can be null.

Attributes

Applies to

CIImage(CGLayer, CIImageInitializationOptions)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreGraphics.CGLayer layer, CoreImage.CIImageInitializationOptions? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreGraphics.CGLayer * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

layer
CGLayer
Attributes

Applies to

CIImage(NSData, IntPtr, CGSize, Int32, CGColorSpace)

[Foundation.Export("initWithBitmapData:bytesPerRow:size:format:colorSpace:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(Foundation.NSData d, IntPtr bytesPerRow, CoreGraphics.CGSize size, int pixelFormat, CoreGraphics.CGColorSpace? colorSpace);
[<Foundation.Export("initWithBitmapData:bytesPerRow:size:format:colorSpace:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : Foundation.NSData * nativeint * CoreGraphics.CGSize * int * CoreGraphics.CGColorSpace -> CoreImage.CIImage

Parameters

d
NSData
bytesPerRow
IntPtr

nativeint

size
CGSize
pixelFormat
Int32
colorSpace
CGColorSpace

To be added.

This parameter can be null.

Attributes

Applies to

CIImage(CGImage, NSDictionary)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

[Foundation.Export("initWithCGImage:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreGraphics.CGImage image, Foundation.NSDictionary? d);
[<Foundation.Export("initWithCGImage:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreGraphics.CGImage * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

image
CGImage

CoreGraphics image.

d
NSDictionary

Metadata to initialize with, as an NSDictionary.

This parameter can be null.

Attributes

Applies to

CIImage(AVSemanticSegmentationMatte, NSDictionary)

[Foundation.Export("initWithSemanticSegmentationMatte:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(AVFoundation.AVSemanticSegmentationMatte matte, Foundation.NSDictionary? options);
[<Foundation.Export("initWithSemanticSegmentationMatte:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : AVFoundation.AVSemanticSegmentationMatte * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

options
NSDictionary
Attributes

Applies to

CIImage(AVDepthData)

[Foundation.Export("initWithDepthData:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(AVFoundation.AVDepthData data);
[<Foundation.Export("initWithDepthData:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : AVFoundation.AVDepthData -> CoreImage.CIImage

Parameters

Attributes

Applies to

CIImage(AVPortraitEffectsMatte)

[Foundation.Export("initWithPortaitEffectsMatte:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(AVFoundation.AVPortraitEffectsMatte matte);
[<Foundation.Export("initWithPortaitEffectsMatte:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : AVFoundation.AVPortraitEffectsMatte -> CoreImage.CIImage

Parameters

Attributes

Applies to

CIImage(AVSemanticSegmentationMatte)

[Foundation.Export("initWithSemanticSegmentationMatte:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(AVFoundation.AVSemanticSegmentationMatte matte);
[<Foundation.Export("initWithSemanticSegmentationMatte:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : AVFoundation.AVSemanticSegmentationMatte -> CoreImage.CIImage

Parameters

Attributes

Applies to

CIImage(CGImage)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

[Foundation.Export("initWithCGImage:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreGraphics.CGImage image);
[<Foundation.Export("initWithCGImage:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreGraphics.CGImage -> CoreImage.CIImage

Parameters

image
CGImage

CoreGraphics image.

Attributes

Applies to

CIImage(CGLayer)

[Foundation.Export("initWithCGLayer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreGraphics.CGLayer layer);
[<Foundation.Export("initWithCGLayer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreGraphics.CGLayer -> CoreImage.CIImage

Parameters

layer
CGLayer
Attributes

Applies to

CIImage(CIColor)

Creates an image with infinite dimensions that is filled with the specified color.

[Foundation.Export("initWithColor:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreImage.CIColor color);
[<Foundation.Export("initWithColor:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreImage.CIColor -> CoreImage.CIImage

Parameters

color
CIColor

Color to use for the image.

Attributes

Applies to

CIImage(CVImageBuffer)

Initializes a CoreImage image from the contents of the specified CoreVideo image buffer.

[Foundation.Export("initWithCVImageBuffer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreVideo.CVImageBuffer imageBuffer);
[<Foundation.Export("initWithCVImageBuffer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreVideo.CVImageBuffer -> CoreImage.CIImage

Parameters

imageBuffer
CVImageBuffer

CoreVideo image buffer.

Attributes

Applies to

CIImage(CVPixelBuffer)

Constructs a CIImage with the supplied buffer data.

[Foundation.Export("initWithCVPixelBuffer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreVideo.CVPixelBuffer buffer);
[<Foundation.Export("initWithCVPixelBuffer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreVideo.CVPixelBuffer -> CoreImage.CIImage

Parameters

buffer
CVPixelBuffer

The pixel buffer that supplies the data for the image.

Attributes

Applies to

CIImage(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.DesignatedInitializer]
public CIImage(Foundation.NSCoder coder);
[<Foundation.Export("initWithCoder:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.DesignatedInitializer>]
new CoreImage.CIImage : Foundation.NSCoder -> CoreImage.CIImage

Parameters

coder
NSCoder

The unarchiver object.

Attributes

Remarks

This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the NSCoding protocol.

If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type NSCoder and decorate it with the [Export("initWithCoder:"] attribute.

The state of this object can also be serialized by using the EncodeTo(NSCoder) companion method.

Applies to

CIImage(NSData)

Creates a new CIImage from the specified data. The image data must be premultiplied.

[Foundation.Export("initWithData:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(Foundation.NSData data);
[<Foundation.Export("initWithData:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : Foundation.NSData -> CoreImage.CIImage

Parameters

data
NSData

Image data, in a format supported by the system.

Attributes

Applies to

CIImage(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected CIImage(Foundation.NSObjectFlag t);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : Foundation.NSObjectFlag -> CoreImage.CIImage

Parameters

t
NSObjectFlag

Unused sentinel value, pass NSObjectFlag.Empty.

Attributes

Remarks

This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the NSObject. This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object. When developers invoke this constructor, they take advantage of a direct path that goes all the way up to NSObject to merely allocate the object's memory and bind the Objective-C and C# objects together. The actual initialization of the object is up to the developer.

This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place. Once the allocation has taken place, the constructor has to initialize the object. With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.

It is the developer's responsibility to completely initialize the object if they chain up using this constructor chain.

In general, if the developer's constructor invokes the corresponding base implementation, then it should also call an Objective-C init method. If this is not the case, developers should instead chain to the proper constructor in their class.

The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic NSObject allocation and runtime type registration. Typically the chaining would look like this:

//
// The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary.
// No actual initXxx method is invoked, that is done later in the constructor
//
// This is taken from the iOS SDK's source code for the UIView class:
//
[Export ("initWithFrame:")]
public UIView (CGRect frame) : base (NSObjectFlag.Empty)
{
    // Invoke the init method now.
    var initWithFrame = new Selector ("initWithFrame:").Handle;
    if (IsDirectBinding) {
        Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
    } else {
        Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
    }
}

Applies to

CIImage(NSUrl)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

[Foundation.Export("initWithContentsOfURL:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(Foundation.NSUrl url);
[<Foundation.Export("initWithContentsOfURL:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : Foundation.NSUrl -> CoreImage.CIImage

Parameters

url
NSUrl

Location of the image data.

Attributes

Applies to

CIImage(IOSurface)

[Foundation.Export("initWithIOSurface:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(IOSurface.IOSurface surface);
[<Foundation.Export("initWithIOSurface:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : IOSurface.IOSurface -> CoreImage.CIImage

Parameters

surface
IOSurface
Attributes

Applies to

CIImage(NativeHandle)

A constructor used when creating managed representations of unmanaged objects. Called by the runtime.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected internal CIImage(ObjCRuntime.NativeHandle handle);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : ObjCRuntime.NativeHandle -> CoreImage.CIImage

Parameters

handle
NativeHandle

Pointer (handle) to the unmanaged object.

Attributes

Remarks

This constructor is invoked by the runtime infrastructure (GetNSObject(IntPtr)) to create a new managed representation for a pointer to an unmanaged Objective-C object. Developers should not invoke this method directly, instead they should call GetNSObject(IntPtr) as it will prevent two instances of a managed object pointing to the same native object.

Applies to

CIImage(UIImage)

Initializes a CoreImage image from a UIKit image.

[Foundation.Export("initWithImage:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(UIKit.UIImage image);
[<Foundation.Export("initWithImage:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : UIKit.UIImage -> CoreImage.CIImage

Parameters

image
UIImage

UIKit image.

Attributes

Applies to

CIImage(AVDepthData, NSDictionary)

[Foundation.Export("initWithDepthData:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(AVFoundation.AVDepthData data, Foundation.NSDictionary? options);
[<Foundation.Export("initWithDepthData:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : AVFoundation.AVDepthData * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

options
NSDictionary
Attributes

Applies to

CIImage(AVPortraitEffectsMatte, NSDictionary)

[Foundation.Export("initWithPortaitEffectsMatte:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(AVFoundation.AVPortraitEffectsMatte matte, Foundation.NSDictionary? options);
[<Foundation.Export("initWithPortaitEffectsMatte:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : AVFoundation.AVPortraitEffectsMatte * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

options
NSDictionary
Attributes

Applies to

CIImage(CGImage, CIImageInitializationOptionsWithMetadata)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CIImage(CoreGraphics.CGImage image, CoreImage.CIImageInitializationOptionsWithMetadata? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CIImage : CoreGraphics.CGImage * CoreImage.CIImageInitializationOptionsWithMetadata -> CoreImage.CIImage

Parameters

image
CGImage

CoreGraphics image.

options
CIImageInitializationOptionsWithMetadata

Options to initialize the image with.

Attributes

Applies to

CIImage(ICIImageProvider, UIntPtr, UIntPtr, CIFormat, CGColorSpace, CIImageProviderOptions)

public CIImage(CoreImage.ICIImageProvider provider, UIntPtr width, UIntPtr height, CoreImage.CIFormat pixelFormat, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageProviderOptions options);
new CoreImage.CIImage : CoreImage.ICIImageProvider * unativeint * unativeint * CoreImage.CIFormat * CoreGraphics.CGColorSpace * CoreImage.CIImageProviderOptions -> CoreImage.CIImage

Parameters

provider
ICIImageProvider
width
UIntPtr

unativeint

height
UIntPtr

unativeint

pixelFormat
CIFormat
colorSpace
CGColorSpace

Applies to