{ Tools = ordered() { multBG = MacroOperator { Inputs = ordered() { Input1 = InstanceInput { SourceOp = "_substract", Source = "Comments", Name = "theodor groeneboom | www.euqahuba.com", }, MainInput1 = InstanceInput { SourceOp = "_mult_A_with_BG", Source = "Background", Name = "BG_COLOR", }, MainInput2 = InstanceInput { SourceOp = "_premult_question", Source = "Background", Name = "FG_LAYER", }, Input2 = InstanceInput { SourceOp = "_premult_question", Source = "Blend", Name = "Premult-FG", Default = 0, }, }, Outputs = { MainOutput1 = InstanceOutput { SourceOp = "_substract", Source = "Output", }, }, ViewInfo = GroupInfo { Pos = { 0, 0, }, }, Tools = ordered() { ["_substract"] = ChannelBoolean { CtrlWZoom = false, NameSet = true, Inputs = { Operation = Input { Value = 2, }, ToAlpha = Input { Value = 4, }, Background = Input { SourceOp = "_premult_question", Source = "Output", }, Foreground = Input { SourceOp = "_mult_A_with_BG", Source = "Output", }, }, ViewInfo = OperatorInfo { Pos = { 715, 280.5, }, }, }, ["_mult_A_with_BG"] = ChannelBoolean { NameSet = true, Inputs = { Operation = Input { Value = 6, }, ToRed = Input { Value = 3, }, ToGreen = Input { Value = 3, }, ToBlue = Input { Value = 3, }, ToAlpha = Input { Value = 4, }, Foreground = Input { SourceOp = "_invert_alpha", Source = "Output", }, }, ViewInfo = OperatorInfo { Pos = { 715, 181.5, }, }, }, ["_invert_alpha"] = ChannelBoolean { NameSet = true, Inputs = { Operation = Input { Value = 10, }, ToRed = Input { Value = 4, }, ToGreen = Input { Value = 4, }, ToBlue = Input { Value = 4, }, Background = Input { SourceOp = "_premult_question", Source = "Output", }, }, ViewInfo = OperatorInfo { Pos = { 605, 181.5, }, }, }, ["_premult_question"] = ChannelBoolean { CtrlWZoom = false, NameSet = true, Inputs = { Blend = Input { Value = 0, }, Operation = Input { Value = 6, }, ToRed = Input { Value = 3, }, ToGreen = Input { Value = 3, }, ToBlue = Input { Value = 3, }, }, ViewInfo = OperatorInfo { Pos = { 495, 181.5, }, }, }, }, }, }, ActiveTool = "multBG", }