writeHEIF10Representation(of:to:colorSpace:options:)
Renders the image and exports the resulting image data as a file in HEIF10 format.
Declaration
func writeHEIF10Representation(of image: CIImage, to url: URL, colorSpace: CGColorSpace, options: [CIImageRepresentationOption : Any] = [:]) throwsParameters
- image:
The image object to render.
- url:
The file URL at which to write the output HEIF file.
- colorSpace:
The color space in which to render the output image.
- options:
A dictionary with additional options for export.
See Also
Rendering Images for Data or File Export
tiffRepresentation(of:format:colorSpace:options:)jpegRepresentation(of:colorSpace:options:)pngRepresentation(of:format:colorSpace:options:)heifRepresentation(of:format:colorSpace:options:)heif10Representation(of:colorSpace:options:)openEXRRepresentation(of:options:)writeTIFFRepresentation(of:to:format:colorSpace:options:)writeJPEGRepresentation(of:to:colorSpace:options:)writePNGRepresentation(of:to:format:colorSpace:options:)writeHEIFRepresentation(of:to:format:colorSpace:options:)writeOpenEXRRepresentation(of:to:options:)CIImageRepresentationOption