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
#!/bin/bash | |
# A small script to change the color of mono-colored transparent .pngs | |
# | |
# Uses ImageMagick to read the most common 100% alpha color and then computes | |
# scale factors to multiply the whole image by. | |
# | |
# Improvements to be made: | |
# -deal with images containing pure black. | |
# -make portable between new and old ImageMagick versions |