Last active
February 11, 2020 15:26
-
-
Save alexpersian/66a60a191612381953fa1eab6a173617 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MARK: Multiply Blend Filter | |
let multiplyFilter = CIFilter(name: "CIMultiplyBlendMode")! | |
let solidLightColorImage = CIImage(color: CIColor(red: 0.33, green: 0.98, blue: 0.25)) | |
multiplyFilter.setValuesForKeys([ | |
"inputImage": grayscaleFilter.outputImage!, | |
"inputBackgroundImage": solidLightColorImage | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment