SessionFilterSaturation

open class SessionFilterSaturation : SessionFilter

Original Image Filtered Image

Applying the filter to an image:

let saturationFilter = SessionFilterSaturation()
saturationFilter.normalizedIntensity = 0.6
session.image!.filters = [saturationFilter]

Applying the filter to a whole video:

let saturationFilter = SessionFilterSaturation()
saturationFilter.normalizedIntensity = 0.6
session.video!.filters = [saturationFilter]

Applying the filter to the first segment of a video:

let saturationFilter = SessionFilterSaturation()
saturationFilter.normalizedIntensity = 0.6
session.video!.videoSegments.first!.filters = [saturationFilter]

For more information about filters visit the super class SessionFilter.