Use
convert image.png -fill {newcolor} -opaque {oldcolor} newimage.png
See IM Examples
http://www.cit.gu.edu.au/~anthony/graph ... r/#replace
soryy the examples for this area has not been completed.
Replace color in image
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/