Created
February 14, 2017 10:41
-
-
Save nicdoye/552e08526b8e02de2e6a5d019664f47e to your computer and use it in GitHub Desktop.
Shrink a PNG file so you can make a custom emoji in Slack, using NetPBM
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
pngtopam -alphapam < filename.png | pamscale -xyfit 128 128 | pamtopng > filename-shrunk.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment