Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set cut_paste_input [stack 0]
- version 11.1 v5
- push $cut_paste_input
- Group {
- name EdgeExtend1
- help "EdgeExtend repeatedly blurs and unpremuliplies the image to extend edges outward while trying to preserve the original source colour"
- selected true
- xpos 1242
- ypos 2233
- addUserKnob {20 "" l User}
- addUserKnob {4 premult l "input is" M {premultiplied unpremultiplied}}
- addUserKnob {3 slices t "How many times the edges are blurred and unpremuliplied.\nThis is the fine control for slightly better quality. The current maximum is 10."}
- slices 5
- addUserKnob {3 slice_width l "slice width" t "Blur amount that is applied before unpremultiplying the result per slice.\nThis is the brute force control and should be kept at 1 if possible.\nOnly increase this if the maximum amount of slices (10) doesn't cover the area you need."}
- slice_width 1
- addUserKnob {7 blurResult l "blur slices" R 0 10}
- }
- Input {
- inputs 0
- name img
- xpos -590
- ypos -509
- }
- set N881e2380 [stack 0]
- Dot {
- name Dot1
- xpos -556
- ypos 978
- }
- Input {
- inputs 0
- name matte
- xpos -358
- ypos -653
- number 1
- }
- push $N881e2380
- Unpremult {
- name Unpremult11
- xpos -468
- ypos -509
- disable {{parent.premult}}
- }
- Copy {
- inputs 2
- from0 -rgba.alpha
- to0 -rgba.alpha
- channels alpha
- name Copy2
- xpos -358
- ypos -516
- }
- Premult {
- name Premult1
- xpos -358
- ypos -450
- }
- Shuffle {
- black alpha
- out2 depth
- name Shuffle1
- label alpha>depth
- xpos -223
- ypos -413
- }
- Unpremult {
- channels {rgba.red rgba.green rgba.blue depth.Z}
- name Unpremult1
- xpos -223
- ypos -373
- }
- set Nbf4d0000 [stack 0]
- Dot {
- name Dot2
- xpos -189
- ypos -214
- }
- set N6cc0fc00 [stack 0]
- push $Nbf4d0000
- Blur {
- channels {rgba.red rgba.green rgba.blue depth.Z}
- size {{parent.slice_width}}
- name Blur1
- xpos -25
- ypos -373
- }
- Shuffle {
- in2 depth
- alpha red2
- out2 depth
- name Shuffle3
- label depth>alpha
- xpos -25
- ypos -333
- }
- Unpremult {
- channels rgba
- alpha depth.Z
- name Unpremult3
- xpos -25
- ypos -293
- }
- Blur {
- channels rgba
- size {{parent.blurResult}}
- name Blur10
- xpos -25
- ypos -241
- }
- set C725da380 [stack 0]
- Merge2 {
- inputs 2
- Achannels {rgba.red rgba.green rgba.blue depth.Z}
- name Merge1
- xpos -25
- ypos -218
- }
- set Neab9e000 [stack 0]
- Dot {
- name Dot3
- xpos 9
- ypos -73
- }
- set Nbeee6700 [stack 0]
- push $Neab9e000
- Blur {
- channels rgba
- size {{parent.slice_width}}
- name Blur2
- xpos 159
- ypos -218
- }
- Shuffle {
- in2 depth
- black alpha
- out2 depth
- name Shuffle5
- label alpha>depth
- xpos 159
- ypos -180
- }
- Unpremult {
- channels {rgba.red rgba.green rgba.blue depth.Z}
- name Unpremult2
- xpos 159
- ypos -140
- }
- Blur {
- channels {rgba.red rgba.green rgba.blue depth.Z}
- size {{parent.blurResult}}
- name Blur3
- xpos 159
- ypos -101
- }
- set C688b6e00 [stack 0]
- Merge2 {
- inputs 2
- name Merge2
- xpos 159
- ypos -73
- }
- set Naf897500 [stack 0]
- Dot {
- name Dot4
- xpos 193
- ypos 103
- }
- set N68b17500 [stack 0]
- push $Naf897500
- Shuffle {
- in2 depth
- alpha red2
- out2 depth
- name Shuffle2
- label depth>alpha
- xpos 342
- ypos -24
- }
- Unpremult {
- channels rgba
- alpha depth.Z
- name Unpremult4
- xpos 342
- ypos 16
- }
- set N455cce00 [stack 0]
- clone $C725da380 {
- xpos 342
- ypos 68
- selected false
- }
- Merge2 {
- inputs 2
- Achannels {rgba.red rgba.green rgba.blue depth.Z}
- name Merge3
- xpos 342
- ypos 103
- }
- Dot {
- name Dot5
- xpos 373
- ypos 226
- }
- set N68b17880 [stack 0]
- push $N455cce00
- Blur {
- channels rgba
- size {{parent.slice_width}}
- name Blur4
- xpos 503
- ypos 23
- }
- Shuffle {
- in2 depth
- black alpha
- out2 depth
- name Shuffle4
- label alpha>depth
- xpos 503
- ypos 65
- }
- Unpremult {
- channels {rgba.red rgba.green rgba.blue depth.Z}
- name Unpremult5
- xpos 503
- ypos 105
- }
- set N5e29fc00 [stack 0]
- clone $C688b6e00 {
- xpos 503
- ypos 174
- selected false
- }
- Merge2 {
- inputs 2
- name Merge4
- xpos 503
- ypos 226
- }
- Dot {
- name Dot6
- xpos 537
- ypos 321
- }
- set N5e29f180 [stack 0]
- push $N5e29fc00
- Blur {
- channels {rgba.red rgba.green rgba.blue depth.Z}
- size {{parent.slice_width}}
- name Blur5
- xpos 689
- ypos 105
- }
- Shuffle {
- in2 depth
- alpha red2
- out2 depth
- name Shuffle6
- label depth>alpha
- xpos 689
- ypos 145
- }
- Unpremult {
- channels rgba
- alpha depth.Z
- name Unpremult6
- xpos 689
- ypos 185
- }
- set N5e29e700 [stack 0]
- clone $C725da380 {
- xpos 684
- ypos 272
- selected false
- }
- Merge2 {
- inputs 2
- Achannels {rgba.red rgba.green rgba.blue depth.Z}
- name Merge5
- xpos 689
- ypos 321
- }
- Dot {
- name Dot7
- xpos 723
- ypos 448
- }
- set N8494fc00 [stack 0]
- push $N5e29e700
- Blur {
- channels rgba
- size {{parent.slice_width}}
- name Blur6
- xpos 856
- ypos 200
- }
- Shuffle {
- in2 depth
- black alpha
- out2 depth
- name Shuffle7
- label alpha>depth
- xpos 856
- ypos 280
- }
- Unpremult {
- channels {rgba.red rgba.green rgba.blue depth.Z}
- name Unpremult7
- xpos 856
- ypos 320
- }
- set N8494f180 [stack 0]
- clone $C688b6e00 {
- xpos 852
- ypos 405
- selected false
- }
- Merge2 {
- inputs 2
- name Merge6
- xpos 856
- ypos 448
- }
- Dot {
- name Dot8
- xpos 890
- ypos 514
- }
- set N8494e700 [stack 0]
- push $N8494f180
- Blur {
- channels {rgba.red rgba.green rgba.blue depth.Z}
- size {{parent.slice_width}}
- name Blur7
- xpos 1042
- ypos 320
- }
- Shuffle {
- in2 depth
- alpha red2
- out2 depth
- name Shuffle8
- label depth>alpha
- xpos 1042
- ypos 393
- }
- Unpremult {
- channels rgba
- alpha depth.Z
- name Unpremult8
- xpos 1042
- ypos 433
- }
- set N6878fc00 [stack 0]
- clone $C725da380 {
- xpos 1046
- ypos 484
- selected false
- }
- Merge2 {
- inputs 2
- Achannels {rgba.red rgba.green rgba.blue depth.Z}
- name Merge7
- xpos 1042
- ypos 514
- }
- Dot {
- name Dot9
- xpos 1076
- ypos 579
- }
- set N6878f180 [stack 0]
- push $N6878fc00
- Blur {
- channels rgba
- size {{parent.slice_width}}
- name Blur8
- xpos 1205
- ypos 440
- }
- Shuffle {
- in2 depth
- black alpha
- out2 depth
- name Shuffle9
- label alpha>depth
- xpos 1205
- ypos 466
- }
- Unpremult {
- channels {rgba.red rgba.green rgba.blue depth.Z}
- name Unpremult9
- xpos 1205
- ypos 506
- }
- set N6878e700 [stack 0]
- clone $C688b6e00 {
- xpos 1206
- ypos 551
- selected false
- }
- Merge2 {
- inputs 2
- name Merge8
- xpos 1205
- ypos 579
- }
- Dot {
- name Dot10
- xpos 1239
- ypos 664
- }
- set N2efbfc00 [stack 0]
- push $N6878e700
- Blur {
- channels {rgba.red rgba.green rgba.blue depth.Z}
- size {{parent.slice_width}}
- name Blur9
- xpos 1421
- ypos 506
- }
- Shuffle {
- in2 depth
- alpha red2
- out2 depth
- name Shuffle11
- label depth>alpha
- xpos 1421
- ypos 546
- }
- Unpremult {
- channels rgba
- alpha depth.Z
- name Unpremult10
- xpos 1421
- ypos 586
- }
- clone $C725da380 {
- xpos 1421
- ypos 638
- selected true
- }
- Merge2 {
- inputs 2
- Achannels {rgba.red rgba.green rgba.blue depth.Z}
- name Merge9
- xpos 1421
- ypos 664
- }
- push $N2efbfc00
- push $N6878f180
- push $N8494e700
- push $N8494fc00
- push $N5e29f180
- push $N68b17880
- push $N68b17500
- push $Nbeee6700
- push $N6cc0fc00
- push $N881e2380
- Switch {
- inputs 11
- which {{parent.slices}}
- name Switch1
- xpos 689
- ypos 827
- }
- Shuffle {
- in2 depth
- alpha red2
- out2 depth
- name Shuffle10
- label depth>alpha
- xpos 689
- ypos 865
- }
- Remove {
- channels depth
- name Remove1
- xpos 689
- ypos 905
- }
- Copy {
- inputs 2
- from0 -rgba.alpha
- to0 -rgba.alpha
- channels depth
- name Copy1
- xpos 689
- ypos 960
- }
- Output {
- name Output1
- xpos 689
- ypos 1290
- }
- Blur {
- inputs 0
- channels {rgba.red rgba.green rgba.blue depth.Z}
- size 8.5
- name Blur11
- xpos 299
- ypos -61
- }
- end_group
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement