public SoftenPortraitEffect() { EffectData = new SoftenPortraitData(); blurEffect = new GaussianBlurEffect(); bacAdjustment = new BrightnessContrastEffect(); desaturateOp = new UnaryPixelOps.Desaturate(); overlayOp = new UserBlendOps.OverlayBlendOp(); }
public SoftenPortraitEffect() : base(StaticName, StaticIcon, SubmenuNames.Photo, EffectFlags.Configurable) { this.blurEffect = new GaussianBlurEffect(); this.blurProps = this.blurEffect.CreatePropertyCollection(); this.desaturateOp = new UnaryPixelOps.Desaturate(); this.bacAdjustment = new BrightnessAndContrastAdjustment(); this.bacProps = this.bacAdjustment.CreatePropertyCollection(); this.overlayOp = new UserBlendOps.OverlayBlendOp(); }