This is my first project with Inkscape 1.0. I hope I am not making any stupid mistakes.
Β
https://i.imgur.com/3EPRA3F.png
If you see the image above, I need to fill the lower end of the shield with red colour. But when I use the horizontal line as my border, it somehow leaves a white border around the filled area. I do not know how to fill without this white margin between the real image border and the fill. I normally do a scale fill using ctrl+shift and then use " page-down " to hide the borders.
Β
I hope I expressed myself clearly. It would be great to have some help with this. Thanks.
@TylerDurden Thanks. I tried " visible colours ". But the gap is still there.Β
Β
Then I tried the " close gaps " as well, None to large. Still the same. But " Grow/Shrink by " 2 px has some effect. The low side is we need to input this value before filling the area.
Using 2 px Grow/Shrink still causes issues at sharp edges. If it is sharp, pointed edge, the " bucket fill " will opt for a radius instead of the pointed edge.
I think the real question is "why are you using the bucket fill tool"? In the majority of cases it's the wrong tool for the job, but new users opt for it because it's familiar to them from bitmap editing software.
In this case a better approach would be:
Draw a rectangle over the bottom half of the shield. No stroke, red fill.
Duplicate the shield. That should put the duplicate on top of the rectangle.
Select both the duplicated shield and the rectangle.
Path > Intersection.
Move the red shape below the shield in the z-stack.
Β
This assumes the shield has no fill. To give the top half a fill you can repeat the same sort of approach, but a better way would be to duplicate the shield again, give it the fill you want (and possibly no stroke), and send it to the back, behind the red fill and the shield outline.
I would be inclined to group the two or three objects that make up the final shield so you can move or resize them as one.
As a general rule it's best to work with vector objects and tools in Inkscape. The bucket fill produces a vector object, but does so based on a rasterised (bitmap) version of your objects, which makes it far less predictable (e.g. the result will differ depending on the zoom). Manipulating paths and objects, using Boolean operations to cut and join them, is a much better approach.
Thanks. I use bucket fill because I am not good at using complex curves at the other end. I can do that, but it will take a lot of time ( talking of totally different images ). I hope you have seen wrap-around ribbon art. In that, some artists select half of the curve and put a lighter shade. The ribbon curve in the middle will be complex enough to trace. In such cases, we can simply draw through the centre and then bucket fill, giving us an image half of what the shape was.
Your method is very useful in this use case. Appreciate it :)
If you can "simply draw through the centre" then you've done most of the hard work to use the technique I describe above. Instead of drawing a rectangle in step 1, just draw some straight lines connecting the two ends of your centre line to form a shape that is large enough to cover the lower half of the ribbon or shield. Then follow the steps as above.
You'll never get a reliable, clean result with the bucket tool in all cases. Either it will fill too small an area, leaving gaps, or you can increase the Grow/Shrink to remove those, but then you get rounded corners. Filling sharp corners is always a problem. Better, in my opinion, to learn how to use the right tool for the job, rather than try to force the wrong tool to do something it wasn't designed for.
If you do want to continue with the bucket tool, I suggest taking a look at part 21 of my tutorial series for Full Circle Magazine (free download), which covers this in some detail: http://www.peppertop.com/blog/?p=1563
I now have the result i expected on my side π with perfect alignment, perfect distribution, and no use of bucket paint tool. My first drawing in Inkscape : https://postimg.cc/gallery/wLbn5wf
This is my first project with Inkscape 1.0. I hope I am not making any stupid mistakes.
Β
https://i.imgur.com/3EPRA3F.png
If you see the image above, I need to fill the lower end of the shield with red colour. But when I use the horizontal line as my border, it somehow leaves a white border around the filled area. I do not know how to fill without this white margin between the real image border and the fill. I normally do a scale fill using ctrl+shift and then use " page-down " to hide the borders.
Β
I hope I expressed myself clearly. It would be great to have some help with this. Thanks.
Hello Meetdilip
I think we've the same kind of question : https://inkscape.org/forums/questions/thickless-lines-only-for-filling/Β π
It's difficult to say, but I seeΒ "Lightness" for the "fill-by" selection in the controls.Β It is often "Visible colors".
@TylerDurden Thanks. I tried " visible colours ". But the gap is still there.Β
Β
Then I tried the " close gaps " as well, None to large. Still the same. But " Grow/Shrink by " 2 px has some effect. The low side is we need to input this value before filling the area.
Using 2 px Grow/Shrink still causes issues at sharp edges. If it is sharp, pointed edge, the " bucket fill " will opt for a radius instead of the pointed edge.
I think the real question is "why are you using the bucket fill tool"? In the majority of cases it's the wrong tool for the job, but new users opt for it because it's familiar to them from bitmap editing software.
In this case a better approach would be:
Β
This assumes the shield has no fill. To give the top half a fill you can repeat the same sort of approach, but a better way would be to duplicate the shield again, give it the fill you want (and possibly no stroke), and send it to the back, behind the red fill and the shield outline.
I would be inclined to group the two or three objects that make up the final shield so you can move or resize them as one.
As a general rule it's best to work with vector objects and tools in Inkscape. The bucket fill produces a vector object, but does so based on a rasterised (bitmap) version of your objects, which makes it far less predictable (e.g. the result will differ depending on the zoom). Manipulating paths and objects, using Boolean operations to cut and join them, is a much better approach.
Thanks. I use bucket fill because I am not good at using complex curves at the other end. I can do that, but it will take a lot of time ( talking of totally different images ). I hope you have seen wrap-around ribbon art. In that, some artists select half of the curve and put a lighter shade. The ribbon curve in the middle will be complex enough to trace. In such cases, we can simply draw through the centre and then bucket fill, giving us an image half of what the shape was.
Your method is very useful in this use case. Appreciate it :)
If you can "simply draw through the centre" then you've done most of the hard work to use the technique I describe above. Instead of drawing a rectangle in step 1, just draw some straight lines connecting the two ends of your centre line to form a shape that is large enough to cover the lower half of the ribbon or shield. Then follow the steps as above.
You'll never get a reliable, clean result with the bucket tool in all cases. Either it will fill too small an area, leaving gaps, or you can increase the Grow/Shrink to remove those, but then you get rounded corners. Filling sharp corners is always a problem. Better, in my opinion, to learn how to use the right tool for the job, rather than try to force the wrong tool to do something it wasn't designed for.
If you do want to continue with the bucket tool, I suggest taking a look at part 21 of my tutorial series for Full Circle Magazine (free download), which covers this in some detail: http://www.peppertop.com/blog/?p=1563
To be honest, it never came into my mind. You are right, that could fix a lot of bottlenecks.
Β
Β
Agree. I think I should use the " Fill " option more. It is mostly my lack of exposure. I will try your tutorial, thanks for sharing.
Thanks Xav,
I now have the result i expected on my side π with perfect alignment, perfect distribution, and no use of bucket paint tool. My first drawing in Inkscape : https://postimg.cc/gallery/wLbn5wf
Compare with first attempt : https://postimg.cc/NL3npsq5
I now definitely have to think vector/layers and not pixel ! i will check the magazine you wrote in ! French available, cool π
Regards,