Adjustment Filters

  • Original Image Filtered Image

    Applying the filter to an image:

    let brightnessFilter = SessionFilterBrightness()
    brightnessFilter.normalizedIntensity = 0.6
    session.image!.filters = [brightnessFilter]
    

    Applying the filter to a whole video:

    let brightnessFilter = SessionFilterBrightness()
    brightnessFilter.normalizedIntensity = 0.6
    session.video!.filters = [brightnessFilter]
    

    Applying the filter to the first segment of a video:

    let brightnessFilter = SessionFilterBrightness()
    brightnessFilter.normalizedIntensity = 0.6
    session.video!.videoSegments.first!.filters = [brightnessFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterBrightness : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let vibranceFilter = SessionFilterVibrance()
    vibranceFilter.normalizedIntensity = 0.6
    session.image!.filters = [vibranceFilter]
    

    Applying the filter to a whole video:

    let vibranceFilter = SessionFilterVibrance()
    vibranceFilter.normalizedIntensity = 0.6
    session.video!.filters = [vibranceFilter]
    

    Applying the filter to the first segment of a video:

    let vibranceFilter = SessionFilterVibrance()
    vibranceFilter.normalizedIntensity = 0.6
    session.video!.videoSegments.first!.filters = [vibranceFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterVibrance : 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.

    See more

    Declaration

    Swift

    open class SessionFilterSaturation : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let contrastFilter = SessionFilterContrast()
    contrastFilter.normalizedIntensity = 0.6
    session.image!.filters = [contrastFilter]
    

    Applying the filter to a whole video:

    let contrastFilter = SessionFilterContrast()
    contrastFilter.normalizedIntensity = 0.6
    session.video!.filters = [contrastFilter]
    

    Applying the filter to the first segment of a video:

    let contrastFilter = SessionFilterContrast()
    contrastFilter.normalizedIntensity = 0.6
    session.video!.videoSegments.first!.filters = [contrastFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterContrast : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let exposureFilter = SessionFilterExposure()
    exposureFilter.normalizedIntensity = 0.6
    session.image!.filters = [exposureFilter]
    

    Applying the filter to a whole video:

    let exposureFilter = SessionFilterExposure()
    exposureFilter.normalizedIntensity = 0.6
    session.video!.filters = [exposureFilter]
    

    Applying the filter to the first segment of a video:

    let exposureFilter = SessionFilterExposure()
    exposureFilter.normalizedIntensity = 0.6
    session.video!.videoSegments.first!.filters = [exposureFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterExposure : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let hueFilter = SessionFilterHue()
    hueFilter.normalizedIntensity = 0.6
    session.image!.filters = [hueFilter]
    

    Applying the filter to a whole video:

    let hueFilter = SessionFilterHue()
    hueFilter.normalizedIntensity = 0.6
    session.video!.filters = [hueFilter]
    

    Applying the filter to the first segment of a video:

    let hueFilter = SessionFilterHue()
    hueFilter.normalizedIntensity = 0.6
    session.video!.videoSegments.first!.filters = [hueFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterHue : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let warmthFilter = SessionFilterWarmth()
    warmthFilter.normalizedIntensity = 0.6
    session.image!.filters = [warmthFilter]
    

    Applying the filter to a whole video:

    let warmthFilter = SessionFilterWarmth()
    warmthFilter.normalizedIntensity = 0.6
    session.video!.filters = [warmthFilter]
    

    Applying the filter to the first segment of a video:

    let warmthFilter = SessionFilterWarmth()
    warmthFilter.normalizedIntensity = 0.6
    session.video!.videoSegments.first!.filters = [warmthFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterWarmth : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let sharpnessFilter = SessionFilterSharpness()
    sharpnessFilter.normalizedIntensity = 0.6
    session.image!.filters = [sharpnessFilter]
    

    Applying the filter to a whole video:

    let sharpnessFilter = SessionFilterSharpness()
    sharpnessFilter.normalizedIntensity = 0.6
    session.video!.filters = [sharpnessFilter]
    

    Applying the filter to the first segment of a video:

    let sharpnessFilter = SessionFilterSharpness()
    sharpnessFilter.normalizedIntensity = 0.6
    session.video!.videoSegments.first!.filters = [sharpnessFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterSharpness : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let gammaFilter = SessionFilterGamma()
    gammaFilter.normalizedIntensity = 0.6
    session.image!.filters = [gammaFilter]
    

    Applying the filter to a whole video:

    let gammaFilter = SessionFilterGamma()
    gammaFilter.normalizedIntensity = 0.6
    session.video!.filters = [gammaFilter]
    

    Applying the filter to the first segment of a video:

    let gammaFilter = SessionFilterGamma()
    gammaFilter.normalizedIntensity = 0.6
    session.video!.videoSegments.first!.filters = [gammaFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterGamma : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let highlightsFilter = SessionFilterHighlights()
    highlightsFilter.normalizedIntensity = 25
    session.image!.filters = [highlightsFilter]
    

    Applying the filter to a whole video:

    let highlightsFilter = SessionFilterHighlights()
    highlightsFilter.normalizedIntensity = 25
    session.video!.filters = [highlightsFilter]
    

    Applying the filter to the first segment of a video:

    let highlightsFilter = SessionFilterHighlights()
    highlightsFilter.normalizedIntensity = 25
    session.video!.videoSegments.first!.filters = [highlightsFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterHighlights : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let shadowsFilter = SessionFilterShadows()
    shadowsFilter.normalizedIntensity = 75
    session.image!.filters = [shadowsFilter]
    

    Applying the filter to a whole video:

    let shadowsFilter = SessionFilterShadows()
    shadowsFilter.normalizedIntensity = 75
    session.video!.filters = [shadowsFilter]
    

    Applying the filter to the first segment of a video:

    let shadowsFilter = SessionFilterShadows()
    shadowsFilter.normalizedIntensity = 75
    session.video!.videoSegments.first!.filters = [shadowsFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterShadows : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let vignetteFilter = SessionFilterVignette()
    vignetteFilter.normalizedIntensity = 75
    session.image!.filters = [vignetteFilter]
    

    Applying the filter to a whole video:

    let vignetteFilter = SessionFilterVignette()
    vignetteFilter.normalizedIntensity = 75
    session.video!.filters = [vignetteFilter]
    

    Applying the filter to the first segment of a video:

    let vignetteFilter = SessionFilterVignette()
    vignetteFilter.normalizedIntensity = 75
    session.video!.videoSegments.first!.filters = [vignetteFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterVignette : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let straightenFilter = SessionFilterStraighten()
    straightenFilter.normalizedIntensity = 5 // Degrees
    session.image!.filters = [straightenFilter]
    

    Applying the filter to a whole video:

    let straightenFilter = SessionFilterStraighten()
    straightenFilter.normalizedIntensity = 5 // Degrees
    session.video!.filters = [straightenFilter]
    

    Applying the filter to the first segment of a video:

    let vignetteFilter = straightenFilter()
    straightenFilter.normalizedIntensity = 5 // Degrees
    session.video!.videoSegments.first!.filters = [straightenFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterStraighten : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let horizontalPerspectiveFilter = SessionFilterHorizontalPerspective()
    horizontalPerspectiveFilter.normalizedIntensity = 5 // Degrees
    session.image!.filters = [horizontalPerspectiveFilter]
    

    Applying the filter to a whole video:

    let horizontalPerspectiveFilter = SessionFilterHorizontalPerspective()
    horizontalPerspectiveFilter.normalizedIntensity = 5 // Degrees
    session.video!.filters = [horizontalPerspectiveFilter]
    

    Applying the filter to the first segment of a video:

    let horizontalPerspectiveFilter = SessionFilterHorizontalPerspective()
    horizontalPerspectiveFilter.normalizedIntensity = 5 // Degrees
    session.video!.videoSegments.first!.filters = [horizontalPerspectiveFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterHorizontalPerspective : SessionFilter
  • Original Image Filtered Image

    Applying the filter to an image:

    let verticalPerspectiveFilter = SessionFilterVerticalPerspective()
    verticalPerspectiveFilter.normalizedIntensity = 5 // Degrees
    session.image!.filters = [verticalPerspectiveFilter]
    

    Applying the filter to a whole video:

    let verticalPerspectiveFilter = SessionFilterVerticalPerspective()
    verticalPerspectiveFilter.normalizedIntensity = 5 // Degrees
    session.video!.filters = [verticalPerspectiveFilter]
    

    Applying the filter to the first segment of a video:

    let verticalPerspectiveFilter = SessionFilterVerticalPerspective()
    verticalPerspectiveFilter.normalizedIntensity = 5 // Degrees
    session.video!.videoSegments.first!.filters = [verticalPerspectiveFilter]
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterVerticalPerspective : SessionFilter
  • Applying the filter to a whole video:

    session.video!.speedMultiplier = 2 // 2x speed
    

    Applying the filter to the first segment of a video:

    session.video!.videoSegments.first!.speedMultiplier = 2 // 2x speed
    

    For more information about filters visit the super class SessionFilter.

    See more

    Declaration

    Swift

    open class SessionFilterSpeed : SessionFilter