Created
May 3, 2020 16:04
-
-
Save ramithuh/404e47e03f90e436032b1c1753bd30ac to your computer and use it in GitHub Desktop.
Compress the screenshots saves in a folder and copy them to clipboard (macOS preview screenshots)
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
for f in "$@" | |
do | |
/usr/local/bin/pngquant 32 --skip-if-larger --strip --ext=.png --force "$f" | |
/usr/local/bin/zopflipng -y "$f" "$f" | |
/Users/ramith/Documents/ss/impbcopy "$f" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment