Post Reply 

fill tool leaves rough unfilled edges

Jun 27, 2011, 16:04
Post: #1
fill tool leaves rough unfilled edges
hi there, i have searched the forum and the internet to no avail. basically whilst using a tablet to draw the outline, i want to fill in the space with a colour. however, this leaves a pixellated edge around the fill, resulting in the piece looking far from perfect. how can i get around this without having to hand fill each individual pixel? is there any way to turn the sensitivty on my tablet off on the tool so that i just draw thick black lines instead of ones that get lighter around the edges?

i have included an example for further help.    

thanks to any replies!
Find all posts by this user
Quote this message in a reply
Jun 27, 2011, 16:32
Post: #2
RE: fill tool leaves rough unfilled edges
The proper way is to draw your object on a transparent layer. You then add another layer under it that you completely fill with your background color(*).

Some explanation:

To provide "smooth" edges, the pixel on the edges are a blend of the colors of the object and of the background (this is called "anti-aliasing"). So if you draw a black object on a white background, your edge pixels take all kinds of gray, and the "fill similar color" finds that same of these grays aren't similar enough to the white background and aren't painted, leaving this gray border. You can of course make the bucket-fill more "tolerant" by increasing the threshold, but if you paint all the gray pixels with your background color you'll remove the anti-aliasing and your object will look pixellated.

If you object is on a transparent layer, the gray pixels aren't gray (there is nothing to blend the black with) but instead become partially transparent, which means they smoothly blend with whatever is on the layer below them (including non-monochromes things: gradients, patterns, whatever).

Of course, this explanation holds true even if your object isn't black: it also works for any colors and non-monochrome paintings.

If you extract your objects from another image, getting smooth edges (or keeping he original ones) is not trivial. The simple case is explained there: http://gimpforums.com/thread-changing-a-...parent-png

Generating and preserving smooth clean edges is one of the most important skills with all image editing software.

(*) You can also prefill you layer with the background color and draw your object over it. But changing the background color properly if you change your mind will not be simple.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 27, 2011, 16:46
Post: #3
RE: fill tool leaves rough unfilled edges
A quick demonstration of the difference:
[attachment=504]

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 27, 2011, 19:30
Post: #4
RE: fill tool leaves rough unfilled edges
Dude, thank you so much this has been an amazing tutorial and help, can't tell you how much I appreciate it, thanks!!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  clone tool in xubuntu 16.04 petter5 1 118 Oct 16, 2017 11:46
Last Post: paynekj
  Move tool garrettlynch 1 208 Jun 29, 2017 12:28
Last Post: ythgilb
  GIMP 2.8 Eyedropper Color Selection Tool Not Working? Upgraded App is Slow?? tootallll 14 9,959 Oct 9, 2014 18:39
Last Post: Graphicman2014
  How to fill a template with a repeating texture? fitchwoodrunner 3 353 Sep 13, 2014 07:27
Last Post: fitchwoodrunner
  GIMP tools locking;tool options window flickers. Zenta 11 872 Sep 11, 2014 18:31
Last Post: Zenta

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS