Answer the question
In order to leave comments, you need to log in
How to extract (keep) only certain colors in an image?
There is, for example, such an image.
The goal is to remove everything except the following colors:
Please suggest an idea, how best to do this?
Googling hasn't brought any results.
Answer the question
In order to leave comments, you need to log in
Just a nice script for this task: www.fmwconcepts.com/imagemagick/mapcolors/index.php
For red:
convert input.png -fill white -fuzz 10% +opaque "#FF0000" result.png
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question