CIContext_ImageRepresentation.GetPngRepresentation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- This
- CIContext
- image
- CIImage
- format
- CIFormat
- colorSpace
- CGColorSpace
- options
- CIImageRepresentationOptions
Returns
- Attributes
Applies to
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
Parameters
- This
- CIContext
The instance on which this method operates.
- image
- CIImage
- format
- CIFormat
- colorSpace
- CGColorSpace
- options
- NSDictionary
Returns
- Attributes