Condividi tramite


CIContext_ImageRepresentation.WriteJpegRepresentation Metodo

Definizione

Overload

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

Applica l'elaborazione di This all'oggetto image e scrive un'immagine JPEG del risultato 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

Parametri

This
CIContext
image
CIImage
url
NSUrl
colorSpace
CGColorSpace
error
NSError

Restituisce

Attributi

Si applica a

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

Applica l'elaborazione di This all'oggetto image e scrive un'immagine JPEG del risultato 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

Parametri

This
CIContext

Istanza in cui funziona questo metodo di estensione.

image
CIImage

Input dell'immagine da elaborare.

url
NSUrl

URL del file in cui deve essere scritta l'immagine.

colorSpace
CGColorSpace

Spazio dei colori da usare.

options
NSDictionary

Elaborazione di argomenti.

error
NSError

Da aggiungere.

Questo parametro può essere null.

Restituisce

Attributi

Si applica a