SessionFilterCGAColorspace

open class SessionFilterCGAColorspace : SessionFilter

Original Image Filtered Image

Applying the filter to an image:

let filter = SessionFilterCGAColorspace()
filter.normalizedIntensity = 100
session.image!.primaryFilter = filter

Applying the filter to a whole video:

let filter = SessionFilterCGAColorspace()
filter.normalizedIntensity = 100
session.video!.primaryFilter = filter

Applying the filter to the first segment of a video:

let filter = SessionFilterCGAColorspace()
filter.normalizedIntensity = 100
session.video!.videoSegments.first!.filters = [filter]

For more information about filters visit the super class SessionFilter.