2

How can I create silhouette from an image in linux using the terminal?

By creating silhouette I mean - how do I turn the RGB components values of an RGBA image to #000000, while preserving the alpha component value?

4

You could use convert from ImageMagick:

convert <input_image> -fill '#000' +opaque '#000' <output_image>

What it does it changes all the colors not matching #000 to #000.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.