One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVPortraitEffectsMatte

class · iOS 12.0+ · SDK 27.1

class AVPortraitEffectsMatte

Members (6)

init · iOS 12.0+

init

TypeScript
static init(imageSourceAuxDataInfoDictionary: NativeMap<unknown, unknown>): AVPortraitEffectsMatte
Swift declaration
convenience init(fromDictionaryRepresentation imageSourceAuxDataInfoDictionary: [AnyHashable : Any]) throws
method · iOS 12.0+

dictionaryRepresentation

TypeScript
dictionaryRepresentation(): { $ret: (NativeMap<unknown, unknown>) | null; $out: { "outAuxDataType": (_Foundation_NSString) | null } }
Swift declaration
func dictionaryRepresentation(forAuxiliaryDataType outAuxDataType: AutoreleasingUnsafeMutablePointer<NSString?>?) -> [AnyHashable : Any]?

Omit the output parameters from the call. The result contains $ret and $out, with outAuxDataType inside $out.

method · iOS 12.0+

applyingExifOrientation

TypeScript
applyingExifOrientation(exifOrientation: _ImageIO_CGImagePropertyOrientation): AVPortraitEffectsMatte
Swift declaration
func applyingExifOrientation(_ exifOrientation: CGImagePropertyOrientation) -> Self
method · iOS 12.0+

replacingPortraitEffectsMatte

TypeScript
replacingPortraitEffectsMatte(pixelBuffer: _CoreVideo_CVBuffer): AVPortraitEffectsMatte
Swift declaration
func replacingPortraitEffectsMatte(with pixelBuffer: CVPixelBuffer) throws -> Self
get · iOS 12.0+

mattingImage

TypeScript
get mattingImage(): _CoreVideo_CVBuffer
Swift declaration
var mattingImage: CVPixelBuffer { get }
get · iOS 12.0+

pixelFormatType

TypeScript
get pixelFormatType(): SDKHandle
Swift declaration
var pixelFormatType: OSType { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVPortraitEffectsMatte.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All AVFoundation types →