CIImage.FromProvider 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.
Creates a new image that lazily obtains its data from the specified provider.
public static CoreImage.CIImage FromProvider(CoreImage.ICIImageProvider provider, UIntPtr width, UIntPtr height, CoreImage.CIFormat pixelFormat, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageProviderOptions options);
public static CoreImage.CIImage FromProvider(CoreImage.ICIImageProvider provider, UIntPtr width, UIntPtr height, CoreImage.CIFormat pixelFormat, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageProviderOptions? options);
static member FromProvider : CoreImage.ICIImageProvider * unativeint * unativeint * CoreImage.CIFormat * CoreGraphics.CGColorSpace * CoreImage.CIImageProviderOptions -> CoreImage.CIImage
Parameters
- provider
- ICIImageProvider
The provider that supplies the image data on demand.
- width
-
UIntPtr
unativeint
The width of the image, in pixels.
- height
-
UIntPtr
unativeint
The height of the image, in pixels.
- pixelFormat
- CIFormat
The pixel format of the image data supplied by provider.
- colorSpace
- CGColorSpace
The color space of the image.
- options
- CIImageProviderOptions
Options that control how the image is created, or null to use the default options.
Returns
A new CIImage backed by provider.