Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jlord
Forked from max-mapper/index.sh
Last active February 9, 2016 06:20
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jlord/0c8a7c3e727a25131a41 to your computer and use it in GitHub Desktop.
Save jlord/0c8a7c3e727a25131a41 to your computer and use it in GitHub Desktop.
imagemagick script: image background is a larger, blurred copy of itself.
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
@jlord
Copy link
Author

jlord commented Feb 14, 2015

see

Like so 👆

test photo source

@jlord
Copy link
Author

jlord commented Feb 14, 2015

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