Skip to content

Instantly share code, notes, and snippets.

@ateucher
Created May 31, 2017 20:53
Show Gist options
  • Save ateucher/0b70403220e47a97657707e3ff9b534f to your computer and use it in GitHub Desktop.
Save ateucher/0b70403220e47a97657707e3ff9b534f to your computer and use it in GitHub Desktop.
Add a drop-shadow (like OS-X screenshots)
#!/bin/bash
convert "$1" \( +clone -background grey25 -shadow 60x15+5+10 \) +swap -background transparent -layers merge +repage "${1%.*}-shadow.png"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment