![](https://secure.gravatar.com/avatar/04f8d6ebdaf71b7ae33c31b40677d29b.jpg?s=120&d=mm&r=g)
further thoughts on the subject. could a bucket fill type effect be acheived in this way?
the user sets up a selection box to define where the fill needs to be done. they then click on the space they want to fill within that area. once they have done these two actions then inkscape can.... 1. make a vector rectangle of the same dimensions as the selection box. 2. calculate which which vectors overlap that rectangle. 3. use a version of path-difference to cut lumps out of the rectangle for every vector which falls within it's boundaries, leaving a load of little chunks which would relate to every space in that rectangle. 4. throw away all the little chunks except the one is where the cursor was when the click occured.
i imagine it would be slow and inefficient, but it might act as a temporary fix until a proper bucket fill comes along.
sadly i don't know how to program or script, but hopefully someone with the necessary talents might consider trying this.
john michaelson.
On 5/3/06, j michaelson <jmichaelson@...155...> wrote:
hello bryce,
i did some looking for the feature request and came up with these two pages.
http://sourceforge.net/tracker/?group_id=93438&atid=604309&func=deta... https://sourceforge.net/tracker/?func=detail&atid=604309&aid=1275286...
there was some interesting workarounds on there that i'vebeen playing with. what i do now is.....
- put a block of rectangle of colour behind the shape i want to fill.
- duplicate the vector that forms the outlines.
- select both the outline and the block of colour.
- use path / division to seperate the shape i need from the excess
that i don't. 5. remove the excess and delete it.
it's still slow and awkward but it's not as slow as drawing the shape by hand and it's way cleaner than having to convert to bitmap and back every time i want to fill.
do you have any idea what's happening with this feature request? i'm getting the sad impression that it's dead in the water. i hope not as it would be a fantastic tool if someone could figure out how to do it.
thanks for your help. john michaelson.
On 5/3/06, Bryce Harrington <bryce@...983...> wrote:
On Wed, May 03, 2006 at 09:30:25AM +0930, j michaelson wrote:
hello everyone,
i've been dabbling with svg cartoons. i've been scanning black and white line drawings and converting them to svgs with the trace bitmap tool. i then colour them in by drawing blocks of colour and lowering them behind the outline. this is an incredibly time consuming way of doing things and i was wondering if there is a quicker way of doing it that i'm missing.
i've tried exporting to a bitmap, using the gimp to bucket fill the gaps and then tracing it back to an svg again, but it's not the most elegant way of working.
is there some kind of tool in inkscape equivalent to the bucket fill tool in gimp?
No, but there's been a proposal to implement a feature like this. The problem is that it sounds easy, but actually would be rather tricky to implement. If anyone feels like hacking on code for this, Bulia can explain his ideas, or see the RFE tracker for some other ideas.
Bryce
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&da... _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user