So I have thousands of PNG icons that I need to change to the color gray. I have messed with ImageMagick for about an hour now and searched around quite a bit with no luck of the examples provided. The main problem I am having is retaining the lightly transparent edges of the icon instead of fully coloring them.
Here is one image example:
Most imaging programs can just increase the brightness of the icon by 100% and it will be for the most part gray. I cannot get that to work in ImageMagick with the following command:
Code: Select all
mogrify -modulate 200,100,100 *.png
Then I attempted the a convert but it ruins the edges badly, obviously because of the -fuzz option:
Code: Select all
convert adjust.png -fuzz 75% -fill gray -opaque black adjust2.png
Any tips to get me what I am after?