Edit > Stroke Selection, Line width odd/even and antialiasing
Forums ► For GIMP users ► Edit > Stroke Selection, Line width odd/even and antialiasing
-
DJ
(over 2 years ago)
-
Sven Neumann
(over 2 years ago)
- Simon Budig (over 2 years ago)
-
Sven Neumann
(over 2 years ago)
Sent: 2009-06-16 05:50:12 UTC (over 2 years ago)
From: DJ
Edit > Stroke Selection, Line width odd/even and antialiasing
Hi Gimp-user,
Just wondering why, odd pixel widths look different than even pixel
widths when using Edit > Stroke Selection?The odd pixel lines looked aliased, while the even pixel lines don't
(only their corners).When drawing icons and shapes, do you make a conscious decision to stroke
the line with an odd or even line width?I tested this by drawing a selection on a layer and stroking it with
line width 1, then adding a layer, moving the selection to the right,
and stroking it with line width 2. I repeated that 4 times increasing
the line width each time.Thank you.
--
__________________________
DJ_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Sent: 2009-06-17 10:25:58 UTC (over 2 years ago)
From: Sven Neumann
Edit > Stroke Selection, Line width odd/even and antialiasing
Hi,
On Mon, 2009-06-15 at 22:50 -0500, DJ wrote:
> Just wondering why, odd pixel widths look different than even pixel
> widths when using Edit > Stroke Selection?Just think about it. You are stroking along the pixel borders. An even
line width will cover pixels exactly. An odd line width will only cover
the outer pixels by 50%.Sven
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Sent: 2009-06-17 11:23:40 UTC (over 2 years ago)
From: Simon Budig
Edit > Stroke Selection, Line width odd/even and antialiasing
Sven Neumann (sven@gimp.org) wrote:
> On Mon, 2009-06-15 at 22:50 -0500, DJ wrote:
> > Just wondering why, odd pixel widths look different than even pixel
> > widths when using Edit > Stroke Selection?
>
> Just think about it. You are stroking along the pixel borders. An even
> line width will cover pixels exactly. An odd line width will only cover
> the outer pixels by 50%.Actually at some point someone seems to have done a "fix" that offsets
the stroke by 0.5 pixels if the brush has an odd width. At least it
feels like this, since stroking a 1 pixel brush with the paintbrush
yields a black one-pixel line offset 0.5 pixels against the selection
outline.Argh.
Bye,
Simon--
simon@budig.de http://simon.budig.de/
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user




