Created
January 10, 2018 18:45
-
-
Save patdavid/e8109a7e81aa3167eb4a6a0001cd6913 to your computer and use it in GitHub Desktop.
G'MIC Video Avg Command
This file contains hidden or 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
avg_video : | |
-e[] "" -v - n=0 go=1 | |
-do | |
-l[] -i "$1",$n,$n -if $! n+=1 -else go=0 -endif -onfail go=0 -endl | |
-+ | |
-v + -e[] "\r - Image "$n" " -v - | |
-while $go -/ $n -v + | |
avg_files : | |
-e[] "" -v - files=${"-files \"$1\""} -arg2var _file,$files n=0 go=1 | |
-do | |
-l[] -i ${_file{$n+1}} -if $! n+=1 -else go=0 -endif -onfail go=0 -endl | |
-+ | |
-v + -e[] "\r - Image "$n" " -v - | |
-while $go -/ $n -v + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment