I want to change the white background to
#3D94DB (Hex triplet notation) and change the black lines to white. The image is as following:
Here is what I have achieved:
convert input.png +level-colors red, output.png
I changed the color of the lines to red. So white is easy.
How how can I change both colors?
Reading from imagemagick: color_basics
convert balloon.gif -alpha set -channel RGBA \ -fill none -opaque blue balloon_none.gif
So here is my code:
convert input.png +level-colors gray, output.png convert output.png -fill "#3D94DB" -opaque white target.png
And turn it upside down, the result is embarrassing.
Using Photoshop is easy but I have many icons to handle.
Can you please show me a better solution?