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
FromCGImage(CGImage, NSDictionary) |
Creates a CIImage from a CGImage with the specified metadata, |
FromCGImage(CGImage, CIImageInitializationOptionsWithMetadata) |
Creates a CIImage from a CGImage with the specified |
FromCGImage(CGImage) | |
FromCGImage(CGImage, CGColorSpace) |
FromCGImage(CGImage, NSDictionary)
[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.
Returns
- Attributes
Applies to
FromCGImage(CGImage, CIImageInitializationOptionsWithMetadata)
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 to initialize the image with.
Returns
Applies to
FromCGImage(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)
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.