Contents

heif10Representation(of:colorSpace:options:)

Renders the image and exports the resulting image data in HEIF10 format.

Declaration

func heif10Representation(of image: CIImage, colorSpace: CGColorSpace, options: [CIImageRepresentationOption : Any] = [:]) throws -> Data

Parameters

  • image:

    The image object to render.

  • 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