Last active
January 27, 2022 22:40
-
-
Save dnmellen/ab8755a52263edc48d0746e88269eab1 to your computer and use it in GitHub Desktop.
Revisions
-
dnmellen revised this gist
Jan 27, 2022 . 2 changed files with 7 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +0,0 @@ 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #!/bin/bash for file in `ls -1`; do echo $file; convert -background white -gravity center $file -resize 1080x1080 -extent 1080x1080 i-$file convert $file -crop 2x1@ i-$file done -
dnmellen revised this gist
Jan 27, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ hipstergram='ls -1 | xargs -I{} convert -background white -gravity center {} -resize 1080x1080 -extent 1080x1080 i-{}' -
dnmellen created this gist
Jan 27, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ hisptergram='ls -1 | xargs -i convert -background white -gravity center {} -resize 1080x1080 -extent 1080x1080 i-{}'