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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

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

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post by snibgo »

No, that won't work. You can have two or more "-draw" commands.
snibgo's IM pages: im.snibgo.com
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

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

Post by diegomage »

yes not possible thanks for your help better use for command for do this
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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
snibgo's IM pages: im.snibgo.com
Post Reply