Language

CIImage.FromData Method

Definition

Overloads

Name Description
FromData(NSData)

Creates a new image from the specified data.

FromData(NSData, CIImageInitializationOptionsWithMetadata)

Creates a new image from the specified data and options.

FromData(NSData, NSDictionary)

Creates a new image from the specified data and d options dictionary.

FromData(NSData, IntPtr, CGSize, CIFormat, CGColorSpace)

Creates a CIImage from raw bitmap data with the specified pixel format and color space.

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
CIImageInitializationOptionsWithMetadata

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.

d
NSDictionary

Extra configuration options, as an NSDictionary.

This parameter can be null.

Returns

Attributes

Applies to

FromData(NSData, IntPtr, CGSize, CIFormat, CGColorSpace)

Creates a CIImage from raw bitmap data with the specified pixel format and color space.

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

The raw bitmap data for the image.

bytesPerRow
IntPtr

nativeint

The number of bytes per row in bitmapData.

size
CGSize

The dimensions of the image in pixels.

pixelFormat
CIFormat

The pixel format of the bitmap data.

colorSpace
CGColorSpace

The color space for the resulting image.

Returns

Applies to