mixing colors in image magick
Posted: 2018-09-12T06:57:59-07:00
Here , '<color> circle' denotes circle filled with color <color>
I have an image with orange circles.
Now I want to draw blue circles on that image such that wherever blue overlaps with orange , i should get brown.
I want to do this via command line because my aim is to study regions of overlap.
When I see brown - I will conclude that blue and orange were here (order of occurence is not important).
Which option should I try ?
Currently I am drawing circle on white canvas using
convert blank.png -fill orange -draw 'circle <number>,<number> <number>,<number>' blank.png
When I run
convert blank.png -fill blue -draw 'circle <number>,<number> <number>,<number>' blank.png
It simply hides orange so seeing blue I can't say if orange was there or not.
Thanks.
I have an image with orange circles.
Now I want to draw blue circles on that image such that wherever blue overlaps with orange , i should get brown.
I want to do this via command line because my aim is to study regions of overlap.
When I see brown - I will conclude that blue and orange were here (order of occurence is not important).
Which option should I try ?
Currently I am drawing circle on white canvas using
convert blank.png -fill orange -draw 'circle <number>,<number> <number>,<number>' blank.png
When I run
convert blank.png -fill blue -draw 'circle <number>,<number> <number>,<number>' blank.png
It simply hides orange so seeing blue I can't say if orange was there or not.
Thanks.