Düzenle

Aracılığıyla paylaş


CIContext_ImageRepresentation.GetJpegRepresentation Method

Definition

Overloads

GetJpegRepresentation(CIContext, CIImage, CGColorSpace, CIImageRepresentationOptions)
GetJpegRepresentation(CIContext, CIImage, CGColorSpace, NSDictionary)

Applies the processing of This to the image and returns a JPEG image of the result.

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

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

Applies to