Freigeben über


CIContext_ImageRepresentation.WriteJpegRepresentation Methode

Definition

Überlädt

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

Wendet die Verarbeitung von This auf und image schreibt ein JPEG-Bild des Ergebnisses in url.

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

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool WriteJpegRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, Foundation.NSUrl url, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageRepresentationOptions options, out Foundation.NSError error);
static member WriteJpegRepresentation : CoreImage.CIContext * CoreImage.CIImage * Foundation.NSUrl * CoreGraphics.CGColorSpace * CoreImage.CIImageRepresentationOptions *  -> bool

Parameter

This
CIContext
image
CIImage
url
NSUrl
colorSpace
CGColorSpace
error
NSError

Gibt zurück

Attribute

Gilt für:

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

Wendet die Verarbeitung von This auf und image schreibt ein JPEG-Bild des Ergebnisses in url.

[Foundation.Export("writeJPEGRepresentationOfImage:toURL:colorSpace:options:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool WriteJpegRepresentation (this CoreImage.CIContext This, CoreImage.CIImage image, Foundation.NSUrl url, CoreGraphics.CGColorSpace colorSpace, Foundation.NSDictionary options, out Foundation.NSError error);
static member WriteJpegRepresentation : CoreImage.CIContext * CoreImage.CIImage * Foundation.NSUrl * CoreGraphics.CGColorSpace * Foundation.NSDictionary *  -> bool

Parameter

This
CIContext

Die Instanz, auf der diese Erweiterungsmethode ausgeführt wird.

image
CIImage

Die zu verarbeitende Bildeingabe.

url
NSUrl

Die Datei-URL, in die das Bild geschrieben werden soll.

colorSpace
CGColorSpace

Der zu verwendende Farbraum.

options
NSDictionary

Verarbeiten von Argumenten.

error
NSError

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Gibt zurück

Attribute

Gilt für: