編輯

共用方式為


CIContext_ImageRepresentation Class

Definition

Extension methods for CIContext that can generate common image formats.

public static class CIContext_ImageRepresentation
type CIContext_ImageRepresentation = class
Inheritance
CIContext_ImageRepresentation

Methods

GetHeifRepresentation(CIContext, CIImage, CIFormat, CGColorSpace, CIImageRepresentationOptions)
GetHeifRepresentation(CIContext, CIImage, CIFormat, CGColorSpace, NSDictionary)
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.

GetPngRepresentation(CIContext, CIImage, CIFormat, CGColorSpace, CIImageRepresentationOptions)
GetPngRepresentation(CIContext, CIImage, CIFormat, CGColorSpace, NSDictionary)
GetTiffRepresentation(CIContext, CIImage, CIFormat, CGColorSpace, CIImageRepresentationOptions)
GetTiffRepresentation(CIContext, CIImage, CIFormat, CGColorSpace, NSDictionary)

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

WriteHeifRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, CIImageRepresentationOptions, NSError)
WriteHeifRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, NSDictionary, NSError)
WriteJpegRepresentation(CIContext, CIImage, NSUrl, CGColorSpace, CIImageRepresentationOptions, NSError)
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.

WritePngRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, CIImageRepresentationOptions, NSError)
WritePngRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, NSDictionary, NSError)
WriteTiffRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, CIImageRepresentationOptions, NSError)
WriteTiffRepresentation(CIContext, CIImage, NSUrl, CIFormat, CGColorSpace, NSDictionary, NSError)

Applies the processing of This to the image and writes a TIFF image of the result to url.

Applies to