Contents

dictionaryRepresentation(forAuxiliaryDataType:)

Returns a dictionary of primitive map information to use when writing an image file with a semantic segmentation matte.

Declaration

func dictionaryRepresentation(forAuxiliaryDataType outAuxDataType: AutoreleasingUnsafeMutablePointer<NSString?>?) -> [AnyHashable : Any]?

Parameters

  • outAuxDataType:

    On output, the auxiliary data type to be used when calling the ImageIO framework’s Cgimagedestinationaddauxiliarydatainfo(_:_:_:) function. Currently supported auxiliary data types are enumerated in CGImageProperties.

Return Value

A dictionary of CGImageDestination-compatible semantic segmentation matte information, or nil if the auxiliary data type is unsupported.

See Also

Creating a segmentation matte