Contents

init(fromDictionaryRepresentation:)

Initializes a portrait effects matte instance from auxiliary image information in an image file.

Declaration

convenience init(fromDictionaryRepresentation imageSourceAuxDataInfoDictionary: [AnyHashable : Any]) throws

Parameters

Mentioned in

Discussion

When using the Image I/O API to read from a HEIF or JPEG file containing a portrait effects matte, you can create an AVPortraitEffectsMatte object from the result of CGImageSourceCopyAuxiliaryDataInfoAtIndex(_:_:_:). This function returns a CFDictionary of primitive map information.

See Also

Creating a Portrait Effects matte