Szerkesztés

Megosztás a következőn keresztül:


CIImage.FromCGImage Method

Definition

Overloads

FromCGImage(CGImage, NSDictionary)

Creates a CIImage from a CGImage with the specified metadata, d.

FromCGImage(CGImage, CIImageInitializationOptionsWithMetadata)

Creates a CIImage from a CGImage with the specified options.

FromCGImage(CGImage)

Creates an CIImage from a CGImage.

FromCGImage(CGImage, CGColorSpace)

Creates a CIImage in colorspace from a CGImage.

FromCGImage(CGImage, NSDictionary)

Creates a CIImage from a CGImage with the specified metadata, 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

Parameters

image
CGImage

CoreGraphics image.

d
NSDictionary

Extra metadata, as an NSDictionary.

This parameter can be null.

Returns

Attributes

Applies to

FromCGImage(CGImage, CIImageInitializationOptionsWithMetadata)

Creates a CIImage from a CGImage with the specified options.

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

Parameters

image
CGImage

CoreGraphics image.

options
CIImageInitializationOptionsWithMetadata

Options to initialize the image with.

Returns

Applies to

FromCGImage(CGImage)

Creates an CIImage from a CGImage.

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

Parameters

image
CGImage

CoreGraphics image.

Returns

Attributes

Applies to

FromCGImage(CGImage, CGColorSpace)

Creates a CIImage in colorspace from a CGImage.

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.

Returns

Applies to