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
返回
- 属性