Поделиться через


CIContext_ImageRepresentation.WriteHeifRepresentation Метод

Определение

Перегрузки

WriteHeifRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, CIImageRepresentationOptions, NSError)
WriteHeifRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, NSDictionary, NSError)

WriteHeifRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, CIImageRepresentationOptions, NSError)

[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 bool WriteHeifRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, Foundation.NSUrl url, CoreImage.CIFormat format, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageRepresentationOptions options, out Foundation.NSError error);
static member WriteHeifRepresentation : CoreImage.CIContext * CoreImage.CIImage * Foundation.NSUrl * CoreImage.CIFormat * CoreGraphics.CGColorSpace * CoreImage.CIImageRepresentationOptions *  -> bool

Параметры

This
CIContext
image
CIImage
url
NSUrl
format
CIFormat
colorSpace
CGColorSpace
error
NSError

Возвращаемое значение

Атрибуты

Применяется к

WriteHeifRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, NSDictionary, NSError)

[Foundation.Export("writeHEIFRepresentationOfImage:toURL:format:colorSpace:options:error:")]
[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 bool WriteHeifRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, Foundation.NSUrl url, CoreImage.CIFormat format, CoreGraphics.CGColorSpace colorSpace, Foundation.NSDictionary options, out Foundation.NSError error);
static member WriteHeifRepresentation : CoreImage.CIContext * CoreImage.CIImage * Foundation.NSUrl * CoreImage.CIFormat * CoreGraphics.CGColorSpace * Foundation.NSDictionary *  -> bool

Параметры

This
CIContext

Экземпляр, с которым работает этот метод.

image
CIImage
url
NSUrl
format
CIFormat
colorSpace
CGColorSpace
options
NSDictionary
error
NSError

Будет добавлено.

Этот параметр может иметь значение null.

Возвращаемое значение

Атрибуты

Применяется к