CIContext_ImageRepresentation.GetJpegRepresentation 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
GetJpegRepresentation(CIContext, CIImage, CGColorSpace, CIImageRepresentationOptions) | |
GetJpegRepresentation(CIContext, CIImage, CGColorSpace, NSDictionary) |
Applies the processing of |
GetJpegRepresentation(CIContext, CIImage, CGColorSpace, CIImageRepresentationOptions)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSData GetJpegRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageRepresentationOptions options);
static member GetJpegRepresentation : CoreImage.CIContext * CoreImage.CIImage * CoreGraphics.CGColorSpace * CoreImage.CIImageRepresentationOptions -> Foundation.NSData
Parameters
- This
- CIContext
- image
- CIImage
- colorSpace
- CGColorSpace
- options
- CIImageRepresentationOptions
Returns
- Attributes
Applies to
GetJpegRepresentation(CIContext, CIImage, CGColorSpace, NSDictionary)
Applies the processing of This
to the image
and returns a JPEG image of the result.
[Foundation.Export("JPEGRepresentationOfImage:colorSpace:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSData GetJpegRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, CoreGraphics.CGColorSpace colorSpace, Foundation.NSDictionary options);
static member GetJpegRepresentation : CoreImage.CIContext * CoreImage.CIImage * CoreGraphics.CGColorSpace * Foundation.NSDictionary -> Foundation.NSData
Parameters
- This
- CIContext
The instance on which this extension method operates.
- image
- CIImage
The image input to be processed.
- colorSpace
- CGColorSpace
The color space to be used.
- options
- NSDictionary
Processing arguments.
Returns
- Attributes