CIContext_ImageRepresentation.WritePngRepresentation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
WritePngRepresentation(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 WritePngRepresentation (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 WritePngRepresentation : CoreImage.CIContext * CoreImage.CIImage * Foundation.NSUrl * CoreImage.CIFormat * CoreGraphics.CGColorSpace * CoreImage.CIImageRepresentationOptions * -> bool
參數
- This
- CIContext
- image
- CIImage
- url
- NSUrl
- format
- CIFormat
- colorSpace
- CGColorSpace
- options
- CIImageRepresentationOptions
- error
- NSError
傳回
- 屬性
適用於
WritePngRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, NSDictionary, NSError)
[Foundation.Export("writePNGRepresentationOfImage: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, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool WritePngRepresentation (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 WritePngRepresentation : 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
傳回
- 屬性