CIContext_ImageRepresentation.WriteJpegRepresentation 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
WriteJpegRepresentation(CIContext, CIImage, NSUrl, CGColorSpace, CIImageRepresentationOptions, NSError) | |
WriteJpegRepresentation(CIContext, CIImage, NSUrl, CGColorSpace, NSDictionary, NSError) |
Applies the processing of |
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
Parameters
- This
- CIContext
- image
- CIImage
- url
- NSUrl
- colorSpace
- CGColorSpace
- options
- CIImageRepresentationOptions
- error
- NSError
Returns
- Attributes
Applies to
WriteJpegRepresentation(CIContext, CIImage, NSUrl, CGColorSpace, NSDictionary, NSError)
Applies the processing of This
to the image
and writes a JPEG image of the result to 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
Parameters
- This
- CIContext
The instance on which this extension 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.
Returns
- Attributes