PaintBucket implementation?

Posted on 2004-11-14
Medium Priority
Last Modified: 2010-04-15
I need to write some code in c# that will allow me to fill the area of a bitmap with a particular color as photshop and other programs do when you pour paint.

In other words all adjacent pixels which have the same color as the starting pixel should be colored but any edges will stop the fill.  The code needs to be able to go around corners etc if so needed.

Has anyone done this yet?
Question by:loring_vogel
1 Comment

Accepted Solution

Chester_M_Ragel earned 500 total points
ID: 12581172

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question