CIImage.FromCGImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| FromCGImage(CGImage, CIImageInitializationOptionsWithMetadata) |
Creates a CIImage from a CGImage with the specified |
| FromCGImage(CGImage, NSDictionary) |
Creates a CIImage from a CGImage with the specified metadata, |
| FromCGImage(CGImage) | |
| FromCGImage(CGImage, CGColorSpace) |
FromCGImage(CGImage, CIImageInitializationOptionsWithMetadata)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIImage FromCGImage(CoreGraphics.CGImage image, CoreImage.CIImageInitializationOptionsWithMetadata? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromCGImage : CoreGraphics.CGImage * CoreImage.CIImageInitializationOptionsWithMetadata -> CoreImage.CIImage
Parameters
- image
- CGImage
CoreGraphics image.
Options to initialize the image with.
Returns
- Attributes
Applies to
FromCGImage(CGImage, NSDictionary)
[Foundation.Export("imageWithCGImage:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIImage FromCGImage(CoreGraphics.CGImage image, Foundation.NSDictionary? d);
[<Foundation.Export("imageWithCGImage:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromCGImage : CoreGraphics.CGImage * Foundation.NSDictionary -> CoreImage.CIImage
Parameters
- image
- CGImage
CoreGraphics image.
Returns
- Attributes
Applies to
FromCGImage(CGImage)
[Foundation.Export("imageWithCGImage:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIImage FromCGImage(CoreGraphics.CGImage image);
[<Foundation.Export("imageWithCGImage:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromCGImage : CoreGraphics.CGImage -> CoreImage.CIImage
Parameters
- image
- CGImage
CoreGraphics image.
Returns
- Attributes
Applies to
FromCGImage(CGImage, CGColorSpace)
public static CoreImage.CIImage FromCGImage(CoreGraphics.CGImage image, CoreGraphics.CGColorSpace colorSpace);
static member FromCGImage : CoreGraphics.CGImage * CoreGraphics.CGColorSpace -> CoreImage.CIImage
Parameters
- image
- CGImage
CoreGraphics image.
- colorSpace
- CGColorSpace
Colorspace to use.