Flood FillFlood fill (also known as "seed fill") is a bitmap drawing/manipulation technique in which a contiguous area of one color, is replaced with another color. The area to be replaced does not need to any particular shape.
Many painting and photo editing software packages incorporate a flood fill tool (often represented by icon such as pouring a bucket of paint) which provides access to this function. Typically the way this tool works, is the user first selects the color to be used as the replacement color, and then clicks anywhere in an existing area of the original color (this point is known as a "seed point"). The tool then automatically calculates the contiguous area of the original color connected to the seed point, and replaces all the pixels in that area with the new color.
One common problem that many users encounter when using a flood fill tool, is that any connection between regions of the original color, however small that connection is, is enough for the flood fill to "spread". Thus when for example flood filling a region surrounded by a boundary, users must check that boundary is continuous (perhaps using pixel edit), before flood fill, otherwise they may end-up filling a larger area than intended.
Another problem that some users encounter with flood fill, is that most painting and photo editing software package's flood fill tool will only work across regions where the color is completely uniform. Even tiny unintended varations in color - perhaps introduced by scanning or photography, or even by saving a computer-drawn image into the JPEG format can be enough to throw flood fill off. Fortunately though, many of the more sophisticated painting and photo editing software packages do also include other selection and fill tools which can be used to work around problems of this type.
Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures
Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.
Copyright © 2005-2018, Answers 2000 Limited
In Association With Amazon.com
Answers 2000 Limited is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.
In Association With Amazon.co.uk
Answers 2000 Limited is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk.
As an Amazon Associate, our company earns from qualifying purchases. Amazon, the Amazon logo, Endless, and the Endless logo are trademarks of Amazon.com, Inc. or its affiliates.
CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.
CERTAIN CONTENT THAT APPEARS ON THIS SITE,COMES FROM AMAZON EU S.à r.l. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.
All trademarks are property of their respective owners.
All third party content and adverts are copyright of their respective owners.
Some graphics on our web sites are Copyright (C) 1997-2000 Hemera Technologies Inc., and used under license. All such pictures are provided for viewing purposes only and are not to be saved or downloaded. All such pictures of recognizable individuals are models and used for illustrative purposes only, and not meant to imply any association or endorsement of said individual with any product or service.