Last active
August 3, 2023 08:50
-
-
Save GlaireDaggers/555469de2836574077c36863bb779a43 to your computer and use it in GitHub Desktop.
VHS style filter for G'MIC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@gui VHS filter: vhs_filter_command, vhs_filter_command | |
#@gui : note = note("Filter for applying VHS effect over image") | |
#@gui : sep = separator() | |
#@gui : Chromatic aberration = float(3,0,100) | |
#@gui : Noise = float(15,0,100) | |
#@gui : Chroma blur = float(20,0,100) | |
#@gui : Luma blur = float(5,0,100) | |
#@gui : Sharpen = float(1,0,1) | |
vhs_filter_command : | |
-split c | |
-shift[0] $1 | |
-append c | |
-noise $2,0 | |
-rgb2yiq | |
-split c | |
-blur_x[1,2] $3 | |
-blur_x[0] $4 | |
-append c | |
-yiq2rgb | |
-unsharp $4,$5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment