Last active
March 9, 2020 10:47
-
-
Save freele/8fc6f6f92ceb1bcc3c0d89a3db7d772b to your computer and use it in GitHub Desktop.
Create stickers for Telegram from images
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
#!/usr/bin/env bash | |
rm thumbnail* | |
convert *{.jpg,.png}* -thumbnail '512x512>' -gravity center -background transparent -extent 512x512 thumbnail.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment