SessionFilterSepiaTone
open class SessionFilterSepiaTone : SessionFilter
Applying the filter to an image:
let filter = SessionFilterSepiaTone()
filter.normalizedIntensity = 100
session.image!.primaryFilter = filter
Applying the filter to a whole video:
let filter = SessionFilterSepiaTone()
filter.normalizedIntensity = 100
session.video!.primaryFilter = filter
Applying the filter to the first segment of a video:
let filter = SessionFilterSepiaTone()
filter.normalizedIntensity = 100
session.video!.videoSegments.first!.filters = [filter]
For more information about filters visit the super class SessionFilter
.
-
See super
normalizedIntensity
for more information.Default:
normalizedIntensityDefault
Declaration
Swift
public override var normalizedIntensity: Double { get set }
-
See super
normalizedIntensityDefault
for more information.Default:
100
Declaration
Swift
public override var normalizedIntensityDefault: Double { get }
-
See super
normalizedIntensityRange
for more information.Default:
(0, 100)
Declaration
Swift
public override var normalizedIntensityRange: (Double, Double) { get set }
-
See super
actualIntensity
for more information.Default:
actualIntensityDefault
Declaration
Swift
public override var actualIntensity: Double { get }
-
See super
actualIntensityDefault
for more information.Default:
1
Declaration
Swift
public override var actualIntensityDefault: Double { get set }
-
See super
actualIntensityRange
for more information.Default:
(0, 1)
Declaration
Swift
public override var actualIntensityRange: (Double, Double) { get set }