CIImage.FromData 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 |
|---|---|
| FromData(NSData) |
Creates a new image from the specified |
| FromData(NSData, CIImageInitializationOptionsWithMetadata) |
Creates a new image from the specified |
| FromData(NSData, NSDictionary) |
Creates a new image from the specified |
| FromData(NSData, IntPtr, CGSize, CIFormat, CGColorSpace) |
FromData(NSData)
Creates a new image from the specified data.
[Foundation.Export("imageWithData:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIImage? FromData(Foundation.NSData data);
[<Foundation.Export("imageWithData:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromData : Foundation.NSData -> CoreImage.CIImage
Parameters
- data
- NSData
Image data, in a format supported by the system.
Returns
- Attributes
Applies to
FromData(NSData, CIImageInitializationOptionsWithMetadata)
Creates a new image from the specified data and options.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIImage? FromData(Foundation.NSData data, CoreImage.CIImageInitializationOptionsWithMetadata? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromData : Foundation.NSData * CoreImage.CIImageInitializationOptionsWithMetadata -> CoreImage.CIImage
Parameters
- data
- NSData
Image data, in a format supported by the system.
Options to initialize the image with.
Returns
- Attributes
Applies to
FromData(NSData, NSDictionary)
Creates a new image from the specified data and d options dictionary.
[Foundation.Export("imageWithData:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreImage.CIImage? FromData(Foundation.NSData data, Foundation.NSDictionary? d);
[<Foundation.Export("imageWithData:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromData : Foundation.NSData * Foundation.NSDictionary -> CoreImage.CIImage
Parameters
- data
- NSData
Image data, in a format supported by the system.
Returns
- Attributes
Applies to
FromData(NSData, IntPtr, CGSize, CIFormat, CGColorSpace)
public static CoreImage.CIImage FromData(Foundation.NSData bitmapData, IntPtr bytesPerRow, CoreGraphics.CGSize size, CoreImage.CIFormat pixelFormat, CoreGraphics.CGColorSpace colorSpace);
static member FromData : Foundation.NSData * nativeint * CoreGraphics.CGSize * CoreImage.CIFormat * CoreGraphics.CGColorSpace -> CoreImage.CIImage
Parameters
- bitmapData
- NSData
- bytesPerRow
-
IntPtr
nativeint
- size
- CGSize
- pixelFormat
- CIFormat
- colorSpace
- CGColorSpace