Contents

writeOpenEXRRepresentation(of:to:options:)

Renders the image and exports the resulting image data as a file in open EXR format.

Declaration

func writeOpenEXRRepresentation(of image: CIImage, to url: URL, options: [CIImageRepresentationOption : Any] = [:]) throws

Parameters

  • image:

    The image object to render.

  • url:

    The file URL at which to write the output HEIF file.

  • options:

    A dictionary with additional options for export.

See Also

Rendering Images for Data or File Export