Re: C Bucket fill

Skip to first unread message

Mihai Sucan

May 23, 2011, 6:12:41 AM5/23/11
to john oswald,
Hello John!

Thank you for your email and appreciation of the project.

Le Mon, 23 May 2011 07:20:33 +0300, john oswald <> a

> Hi Mihai,
> Paintweb is excellent - really well done and thanks.
> The C Bucket tool nicely fills a constrained area over a plain coloured
> background image (plan_view.jpg), or where the background is transparent.
> However, when the background image is complex (like the default image in
> the
> demo), C Bucket does not fill the constrained area.
> The attached png file shows this behaviour.
> Can you suggest how i might mod the scripts to apply a fill using the c
> bucket tool, over complex images.

You can change the color bucket source code, change the algorithm how you
want. The color bucket source code is in the cbucket.js file:

Best of luck!


Mihai Sucan

Reply all
Reply to author
0 new messages