Last active
February 8, 2019 10:41
-
-
Save Birchwell/b9805289893117345f1f to your computer and use it in GitHub Desktop.
This G'Mic bash script allows for turning a folder of images into a montage. Can be used with Thunar Custom Actions.
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
#!/bin/bash | |
find -type d -exec sh -c ' | |
cd "$0" | |
set -- *.jpg | |
if [ -e "$1" ]; then | |
gmic "$@" -fx_montage 4,\""V(H(0,1),H(2,V(3,4)))"\",1,1.0,0,5,0,0,0,255,0,0,0,0,0 -o 0000."$(date)".jpg | |
fi | |
' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment