I
I
Igor Samokhin2019-11-06 23:50:45
PHP
Igor Samokhin, 2019-11-06 23:50:45

How can I change the color of a part of an image using imagick?

Dug in the documentation. Didn't understand how it's done? With preservation of reflections.

Was: https://drive.google.com/open?id=1UMb04LxBG8gwKA6R...
Became: https://drive.google.com/open?id=1Xkuawq8W5WjwwcEz...
Site where it happens: https:// forgiato.com/build-your-wheel/

I understand that this is a mask + color change? But how exactly, through what functions? Plus, magick did not find how to change the color of a part of the image, and not just change one color to another.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Daria Motorina, 2019-11-07
@glaphire

If color change means fill, then try this thread

P
Pavel Chesnokov, 2019-11-07
@cesnokov

I would do with several layers. The main layer with the disk plus 14 black and white layers with elements. Upon request, we recolor each desired layer with elements in the desired color, for example using Image Magick :
And then glue it all together:
convert -append ready_*.png final_image.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question