Page 1 of 1

fill all the objects in the image with a frame, and leave the rest intact colors

Posted: 2020-02-02T12:12:28-07:00
by tablo21
I need to color the border around the white zone. I can’t figure out how to do this.
without touching objects without a white core

Magick convert lines.png -fill green -bordercolor black \ -draw "color 0,0 filltoborder" lines0.png

Magick convert lines0.png -fill red -bordercolor white -opaque black filltoborder lines_res0.png
Magick convert lines0.png -fill blue -bordercolor white -opaque black floodfill lines_res1.png



my file
https://cloud.mail.ru/public/5mEx/5MU1b5rLc