-
-
Save jlord/0c8a7c3e727a25131a41 to your computer and use it in GitHub Desktop.
imagemagick script: image background is a larger, blurred copy of itself.
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
for f in *.jpg; do | |
convert ./"$f" -gravity center -resize 1137 -extent 1137x640 -blur 0x4 ./finalcat/"new-$f" | |
convert ./finalcat/"new-$f" -page +248 ./"$f" -flatten ./finalcat/"new-$f" | |
done |
We use this script for creating images for a Chromecast screen saver that pulls from a Google+ album. 📺
Script assumes a folder full of Instagram images at 640x640
and a final output size of 1137x640
(which works with the ratio of our TV).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Like so 👆
test photo source