Share via


CIContext_ImageRepresentation.WriteJpegRepresentation Method

Definition

Overloads

WriteJpegRepresentation(CIContext, CIImage, NSUrl, CGColorSpace, CIImageRepresentationOptions, NSError)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool WriteJpegRepresentation(this CoreImage.CIContext This, CoreImage.CIImage image, Foundation.NSUrl url, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageRepresentationOptions options, out Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member WriteJpegRepresentation : CoreImage.CIContext * CoreImage.CIImage * Foundation.NSUrl * CoreGraphics.CGColorSpace * CoreImage.CIImageRepresentationOptions * NSError -> bool

Parameters

This
CIContext

The instance on which this method operates.

image
CIImage
url
NSUrl
colorSpace
CGColorSpace
error
NSError

Returns

Attributes

Applies to

WriteJpegRepresentation(CIContext, CIImage, NSUrl, CGColorSpace, NSDictionary, NSError)

Applies the processing of this context to the image and writes a JPEG image of the result to url.

[Foundation.Export("writeJPEGRepresentationOfImage:toURL:colorSpace:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool WriteJpegRepresentation(this CoreImage.CIContext This, CoreImage.CIImage image, Foundation.NSUrl url, CoreGraphics.CGColorSpace colorSpace, Foundation.NSDictionary options, out Foundation.NSError? error);
[<Foundation.Export("writeJPEGRepresentationOfImage:toURL:colorSpace:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member WriteJpegRepresentation : CoreImage.CIContext * CoreImage.CIImage * Foundation.NSUrl * CoreGraphics.CGColorSpace * Foundation.NSDictionary * NSError -> bool

Parameters

This
CIContext

The instance on which this method operates.

image
CIImage

The image input to be processed.

url
NSUrl

The file URL to which the image should be written.

colorSpace
CGColorSpace

The color space to be used.

options
NSDictionary

Processing arguments.

error
NSError

To be added.

This parameter can be null.

Returns

Attributes

Applies to