CIContext_ImageRepresentation.GetPngRepresentation Method

Definition

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

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

Applies to