Re: changing the whole color of a png icon preserving the edges alpha
Posted: 2018-10-09T09:30:42-07:00
Use sparse-color to make a two point gradient. See https://imagemagick.org/Usage/canvas/#t ... _gradients
Code: Select all
magick icon.png -channel RGB -sparse-color barycentric '0,0 blue 0,%h red' -alpha on icon2.png