共用方式為


CIContext_ImageRepresentation.GetHeifRepresentation 方法

定義

多載

GetHeifRepresentation(CIContext, CIImage, CIFormat, CGColorSpace, CIImageRepresentationOptions)
GetHeifRepresentation(CIContext, CIImage, CIFormat, CGColorSpace, NSDictionary)

GetHeifRepresentation(CIContext, CIImage, CIFormat, CGColorSpace, CIImageRepresentationOptions)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSData GetHeifRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, CoreImage.CIFormat format, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageRepresentationOptions options);
static member GetHeifRepresentation : CoreImage.CIContext * CoreImage.CIImage * CoreImage.CIFormat * CoreGraphics.CGColorSpace * CoreImage.CIImageRepresentationOptions -> Foundation.NSData

參數

This
CIContext
image
CIImage
format
CIFormat
colorSpace
CGColorSpace

傳回

屬性

適用於

GetHeifRepresentation(CIContext, CIImage, CIFormat, CGColorSpace, NSDictionary)

[Foundation.Export("HEIFRepresentationOfImage:format:colorSpace:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSData GetHeifRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, CoreImage.CIFormat format, CoreGraphics.CGColorSpace colorSpace, Foundation.NSDictionary options);
static member GetHeifRepresentation : CoreImage.CIContext * CoreImage.CIImage * CoreImage.CIFormat * CoreGraphics.CGColorSpace * Foundation.NSDictionary -> Foundation.NSData

參數

This
CIContext

這個方法運作所在的 實例。

image
CIImage
format
CIFormat
colorSpace
CGColorSpace
options
NSDictionary

傳回

屬性

適用於