共用方式為


CIContext_ImageRepresentation.GetPngRepresentation 方法

定義

多載

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

GetPngRepresentation(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 GetPngRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, CoreImage.CIFormat format, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageRepresentationOptions options);
static member GetPngRepresentation : CoreImage.CIContext * CoreImage.CIImage * CoreImage.CIFormat * CoreGraphics.CGColorSpace * CoreImage.CIImageRepresentationOptions -> Foundation.NSData

參數

This
CIContext
image
CIImage
format
CIFormat
colorSpace
CGColorSpace

傳回

屬性

適用於

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

[Foundation.Export("PNGRepresentationOfImage: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, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSData GetPngRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, CoreImage.CIFormat format, CoreGraphics.CGColorSpace colorSpace, Foundation.NSDictionary options);
static member GetPngRepresentation : CoreImage.CIContext * CoreImage.CIImage * CoreImage.CIFormat * CoreGraphics.CGColorSpace * Foundation.NSDictionary -> Foundation.NSData

參數

This
CIContext

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

image
CIImage
format
CIFormat
colorSpace
CGColorSpace
options
NSDictionary

傳回

屬性

適用於