Düzenle

Aracılığıyla paylaş


CIImage.FromData Method

Definition

Overloads

FromData(NSData, nint, CGSize, CIFormat, CGColorSpace)
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, nint, CGSize, CIFormat, CGColorSpace)

public static CoreImage.CIImage FromData (Foundation.NSData bitmapData, nint bytesPerRow, CoreGraphics.CGSize size, CoreImage.CIFormat pixelFormat, CoreGraphics.CGColorSpace colorSpace);
static member FromData : Foundation.NSData * nint * CoreGraphics.CGSize * CoreImage.CIFormat * CoreGraphics.CGColorSpace -> CoreImage.CIImage

Parameters

bitmapData
NSData
bytesPerRow
System.System.IntPtr System.nativeint
size
CGSize
pixelFormat
CIFormat
colorSpace
CGColorSpace

Returns

Applies to

FromData(NSData)

Creates a new image from the specified data.

[Foundation.Export("imageWithData:")]
public static CoreImage.CIImage FromData (Foundation.NSData data);
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.

public static CoreImage.CIImage FromData (Foundation.NSData data, CoreImage.CIImageInitializationOptionsWithMetadata options);
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

Applies to

FromData(NSData, NSDictionary)

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

[Foundation.Export("imageWithData:options:")]
public static CoreImage.CIImage FromData (Foundation.NSData data, Foundation.NSDictionary d);
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