Page 1 of 1

its possible floodfill multiple coordinates colors in imagemagick with a single command ?

Posted: 2017-03-19T15:10:31-07:00
by diegomage
Im trying to use this command but not works
this is my coordinates 150,85 157.6,90.5

Code: Select all

convert   mono12.png   -fill pink  -draw "color 150,85 157.6,90.5 floodfill"  monox
please help me

Re: its possible floodfill multiple coordinates colors in imagemagick with a single command ?

Posted: 2017-03-19T15:26:17-07:00
by snibgo
No, that won't work. You can have two or more "-draw" commands.

Re: its possible floodfill multiple coordinates colors in imagemagick with a single command ?

Posted: 2017-03-19T19:45:35-07:00
by diegomage
yes not possible thanks for your help better use for command for do this

Re: its possible floodfill multiple coordinates colors in imagemagick with a single command ?

Posted: 2017-03-19T20:18:40-07:00
by snibgo
You can have multiple "-draw" commands within one convert command, eg:

Code: Select all

convert mono12.png -fill pink -draw "color 150,85 floodfill" -draw "color 157.6,90.5 floodfill" monox.png