Edit > Stroke Selection, Line width odd/even and antialiasing

ForumsFor GIMP users ► Edit > Stroke Selection, Line width odd/even and antialiasing

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

Reply to this message

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

Reply to this message

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

Reply to this message

Welcome!


Lost password?

Not a member? Sign up!

Random tutorials | Latest tutorials

  1. Cool glowing text Cool glowing text 40
  2. Smelting text / Creating blood text Smelting text / Creating blood text 37
  3. Crazy Ions Crazy Ions 4
  4. "Solar winds" graphics effect "Solar winds" graphics effect 7

Latest comments

A facebook page, could be great too! (about 14 hours ago in GIMP gets closer to the community with Google+!)

bah just use 2.7.4 (or 2.7.5 on Windows) (about 17 hours ago in Last stable 2.6 release: 2.6.12 has arrived)

Hmm, would prefer Diaspora, I don't use G+ myself, but I guess it h... (about 17 hours ago in GIMP gets closer to the community with Google+!)

Poll

Is GIMP an adequate application for you to create printed graphics like flyers, advertisments etc?

Latest forum activities

Your Ad Here

facts & numbers

gimpusers.com RSS feed

48 identi.ca followers
745 Twitter followers

powered by bitfire it services