aŋ
i
nfo
m
acros
B
lur_EdgeExtend
after you Post multiply an image, you can Blur & Divide Alpha to merge under your Post multiply result.
.
s
etting/
M
acro:
Copy
--[[-- Written by : Nguyen Tuan An Written on : Jan, 2024 Version 1.0 --]]-- { Tools = ordered() { Blur_EdgeExtend = GroupOperator { CtrlWZoom = false, CustomData = { Path = { Map = { ["Setting:"] = "Macros:\\" } }, }, Inputs = ordered() { Input1 = InstanceInput { SourceOp = "Blur1", Source = "Filter", }, Input2 = InstanceInput { SourceOp = "Blur1", Source = "LockXY", Default = 1, }, Input3 = InstanceInput { SourceOp = "Blur1", Source = "XBlurSize", Default = 1, }, Input4 = InstanceInput { SourceOp = "Blur1", Source = "YBlurSize", Default = 1, }, Input5 = InstanceInput { SourceOp = "Blur1", Source = "Passes", Default = 4, }, Input6 = InstanceInput { SourceOp = "Blur1", Source = "PostMultiply", Page = "Controls", }, Dropdown = InstanceInput { SourceOp = "Blur1", Source = "Bonus", Page = "Controls", Default = 0, }, Input7 = InstanceInput { SourceOp = "Blur1", Source = "Edge", ControlGroup = 7, Page = "Controls", Default = 0, }, Input8 = InstanceInput { SourceOp = "Blur1", Source = "Core", ControlGroup = 7, Page = "Controls", Default = 1, }, MainInput1 = InstanceInput { SourceOp = "ChannelBooleans1", Source = "Background", }, MainInput2 = InstanceInput { SourceOp = "PipeRouter1", Source = "Input", Name = "Alpha", } }, Outputs = { MainOutput1 = InstanceOutput { SourceOp = "ChannelBooleans1_1", Source = "Output", } }, ViewInfo = GroupInfo { Pos = { 475.333, -7.78788 }, Flags = { AllowPan = false, AutoSnap = true, RemoveRouters = true }, Size = { 464.667, 366.97, 232.333, 24.2424 }, Direction = "Horizontal", PipeStyle = "Direct", Scale = 1, Offset = { 0, 0 } }, Tools = ordered() { Blur1 = Blur { CtrlWZoom = false, CtrlWShown = false, Inputs = { Filter = Input { Value = FuID { "Fast Gaussian" }, }, XBlurSize = Input { Value = 1, }, Input = Input { SourceOp = "ChannelBooleans1", Source = "Output", }, }, ViewInfo = OperatorInfo { Pos = { 164.62, 70.6146 } }, UserControls = ordered() { PostMultiply = { CBC_TriState = false, INP_Integer = false, LINKID_DataType = "Number", ICS_ControlPage = "Controls", INPID_InputControl = "CheckboxControl", LINKS_Name = "PostMultiply", }, Bonus = { INP_Integer = false, LBLC_DropDownButton = true, INPID_InputControl = "LabelControl", LBLC_NumInputs = 2, INP_Default = 0, LINKID_DataType = "Number", INP_Passive = true, ICS_ControlPage = "Controls", LINKS_Name = "Bonus", }, Edge = { INP_MaxAllowed = 1, INP_Integer = false, INPID_InputControl = "RangeControl", INP_MaxScale = 1, INP_Default = 0, INP_MinScale = 0, INP_MinAllowed = 0, LINKID_DataType = "Number", IC_ControlID = 0, ICS_ControlPage = "Controls", IC_ControlGroup = 13, LINKS_Name = "Edge" }, Core = { INP_MaxAllowed = 1, INP_Integer = false, INPID_InputControl = "RangeControl", INP_MaxScale = 1, INP_Default = 1, INP_MinScale = 0, INP_MinAllowed = 0, LINKID_DataType = "Number", IC_ControlID = 1, ICS_ControlPage = "Controls", IC_ControlGroup = 13, LINKS_Name = "Core" } } }, ChannelBooleans1 = ChannelBoolean { CtrlWShown = false, Inputs = { Operation = Input { Value = 6, }, ToRed = Input { Value = 3, }, ToGreen = Input { Value = 3, }, ToBlue = Input { Value = 3, }, Foreground = Input { SourceOp = "PipeRouter1", Source = "Output", }, }, ViewInfo = OperatorInfo { Pos = { 53, 8.45451 } }, }, PipeRouter1 = PipeRouter { CtrlWShown = false, ViewInfo = PipeRouterInfo { Pos = { -187.667, 8.45451 } }, }, Merge1 = Merge { CtrlWShown = false, Inputs = { EffectMask = Input { SourceOp = "PipeRouter1", Source = "Output", }, MaskLow = Input { Expression = "Blur1.Edge", }, MaskHigh = Input { Expression = "Blur1.Core", }, Background = Input { SourceOp = "ChannelBooleans1_2", Source = "Output", }, Foreground = Input { SourceOp = "ChannelBooleans1", Source = "Output", }, PerformDepthMerge = Input { Value = 0, }, }, ViewInfo = OperatorInfo { Pos = { 53, 173.303 } }, }, ChannelBooleans1_2 = ChannelBoolean { CtrlWShown = false, Inputs = { Operation = Input { Value = 7, }, ToRed = Input { Value = 3, }, ToGreen = Input { Value = 3, }, ToBlue = Input { Value = 3, }, Background = Input { SourceOp = "Blur1", Source = "Output", }, }, ViewInfo = OperatorInfo { Pos = { 187, 173.303 } }, }, ChannelBooleans1_1 = ChannelBoolean { CtrlWShown = false, Inputs = { Blend = Input { Expression = "Blur1.PostMultiply", }, Operation = Input { Value = 6, }, ToRed = Input { Value = 3, }, ToGreen = Input { Value = 3, }, ToBlue = Input { Value = 3, }, Background = Input { SourceOp = "Merge1", Source = "Output", }, Foreground = Input { SourceOp = "PipeRouter1", Source = "Output", }, }, ViewInfo = OperatorInfo { Pos = { 31.667, 309.061 } }, } }, Colors = { TileColor = { R = 0.725490196078431, G = 0.690196078431373, B = 0.592156862745098 }, } } }, ActiveTool = "BlurExtend_v1" }