편집

다음을 통해 공유


CGImageSource.FromData Method

Definition

Overloads

FromData(NSData)

Creates an image loader from the block of bytes.

FromData(NSData, CGImageOptions)

Creates an image loader from the block of bytes.

FromData(NSData)

Creates an image loader from the block of bytes.

public static ImageIO.CGImageSource FromData (Foundation.NSData data);
static member FromData : Foundation.NSData -> ImageIO.CGImageSource

Parameters

data
NSData

Block of bytes containing the image.

Returns

Applies to

FromData(NSData, CGImageOptions)

Creates an image loader from the block of bytes.

public static ImageIO.CGImageSource FromData (Foundation.NSData data, ImageIO.CGImageOptions options);
static member FromData : Foundation.NSData * ImageIO.CGImageOptions -> ImageIO.CGImageSource

Parameters

data
NSData

Block of bytes containing the image.

options
CGImageOptions

Image creation options.

Returns

Applies to