Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
executable file 22 lines (19 sloc) 771 Bytes
#if !os(Linux)
public class SoftElegance: OperationGroup {
let lookup1 = LookupFilter()
let lookup2 = LookupFilter()
let gaussianBlur = GaussianBlur()
let alphaBlend = AlphaBlend()
public override init() {
super.init()
self.configureGroup{input, output in
self.lookup1.lookupImage = PictureInput(imageName:"lookup_soft_elegance_1.png")
self.lookup2.lookupImage = PictureInput(imageName:"lookup_soft_elegance_2.png")
self.gaussianBlur.blurRadiusInPixels = 10.0
self.alphaBlend.mix = 0.14
input --> self.lookup1 --> self.alphaBlend --> self.lookup2 --> output
self.lookup1 --> self.gaussianBlur --> self.alphaBlend
}
}
}
#endif
You can’t perform that action at this time.