CIImage.FromCGImage 方法

定义

重载

FromCGImage(CGImage, NSDictionary)

CIImageCGImage具有指定元数据 d的 创建 。

FromCGImage(CGImage, CIImageInitializationOptionsWithMetadata)

CIImage使用指定的 optionsCGImage 创建 。

FromCGImage(CGImage)

CIImage 创建一个 CGImage

FromCGImage(CGImage, CGColorSpace)

CIImage从 在 colorspace 中创建 。CGImage

FromCGImage(CGImage, NSDictionary)

CIImageCGImage具有指定元数据 d的 创建 。

[Foundation.Export("imageWithCGImage:options:")]
public static CoreImage.CIImage FromCGImage (CoreGraphics.CGImage image, Foundation.NSDictionary d);
static member FromCGImage : CoreGraphics.CGImage * Foundation.NSDictionary -> CoreImage.CIImage

参数

image
CGImage

CoreGraphics 图像。

d
NSDictionary

作为 NSDictionary 的额外元数据。

此参数可以为 null

返回

属性

适用于

FromCGImage(CGImage, CIImageInitializationOptionsWithMetadata)

CIImage使用指定的 optionsCGImage 创建 。

public static CoreImage.CIImage FromCGImage (CoreGraphics.CGImage image, CoreImage.CIImageInitializationOptionsWithMetadata options);
static member FromCGImage : CoreGraphics.CGImage * CoreImage.CIImageInitializationOptionsWithMetadata -> CoreImage.CIImage

参数

image
CGImage

CoreGraphics 图像。

options
CIImageInitializationOptionsWithMetadata

用于初始化映像的选项。

返回

适用于

FromCGImage(CGImage)

CIImage 创建一个 CGImage

[Foundation.Export("imageWithCGImage:")]
public static CoreImage.CIImage FromCGImage (CoreGraphics.CGImage image);
static member FromCGImage : CoreGraphics.CGImage -> CoreImage.CIImage

参数

image
CGImage

CoreGraphics 图像。

返回

属性

适用于

FromCGImage(CGImage, CGColorSpace)

CIImage从 在 colorspace 中创建 。CGImage

public static CoreImage.CIImage FromCGImage (CoreGraphics.CGImage image, CoreGraphics.CGColorSpace colorSpace);
static member FromCGImage : CoreGraphics.CGImage * CoreGraphics.CGColorSpace -> CoreImage.CIImage

参数

image
CGImage

CoreGraphics 图像。

colorSpace
CGColorSpace

要使用的颜色空间。

返回

适用于