CIContext_ImageRepresentation.GetPngRepresentation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- options
- CIImageRepresentationOptions
傳回
- 屬性
適用於
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
傳回
- 屬性