Clarify documentation

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
rray

Clarify documentation

Post by rray »

The documentation and examples for this project is great
There is so much it is sometimes difficult to find specifics
Under http://www.imagemagick.org/Usage/color/#floodfill

convert present.gif -bordercolor white -border 1x1 \
-fill red -floodfill +0+0 white \
-shave 1x1 present_floodfill.gif
This will replace any color that is within 5% of 'white' to 'red' that is directly part of the area surrounding the seed pixel 10,10.

Where is the 5% and 10,10 seed pixel specified

Richard
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Clarify documentation

Post by fmw42 »

rray wrote:The documentation and examples for this project is great
There is so much it is sometimes difficult to find specifics
Under http://www.imagemagick.org/Usage/color/#floodfill

convert present.gif -bordercolor white -border 1x1 \
-fill red -floodfill +0+0 white \
-shave 1x1 present_floodfill.gif
This will replace any color that is within 5% of 'white' to 'red' that is directly part of the area surrounding the seed pixel 10,10.

Where is the 5% and 10,10 seed pixel specified

Richard
Probably a typo. Probably should be -fuzz 5% -floodfill +10+10 white
Last edited by fmw42 on 2009-02-08T18:06:20-07:00, edited 1 time in total.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Clarify documentation

Post by anthony »

The example was right the text was wrong...

Update in a couple of days. thanks for letting me know.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply