gimpusers.com logo
German version English version

Not logged in

Sign up! | Lost password?

Latest discussion

  1. gimp-user | today 09:49 AM
    Need help: "correcting" exposures in time-lapse imagesets
  2. gimp-developer | today 06:14 AM
    GIMP color-management spec and further discussion
  3. gimp-user | yesterday 11:13 PM
    collages in gimp?
  4. gimp-developer | yesterday 07:07 PM
    Color management (UI perspective for GIMP 2.8)
  5. gimp-user | yesterday 02:42 PM
    printing

External news

Poll

Would you like to be able to use your Google/Yahoo/MSN (OpenID) login on gimpusers, too?

Definately! I would enjoy the possibility to use my OpenID on different websites!

I don't have a special need for OpenID but I think it could be useful

Doesn't matter to me

Never, OpenID is a pain regarding privacy and personal data protection!

No. (please post a comment)

See results

Stats

gimpusers.com RSS feed

GIMP Forums » For GIMP users

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

Jump to message:

  1. Edit > Stroke... — DJ, 16 Jun 2009 05:50 AM
    1. Edit > Stroke... — Sven Neumann, 17 Jun 2009 10:25 AM
      1. Edit > Stroke... — Simon Budig, 17 Jun 2009 11:23 AM

As a registered user, you can subscribe forum threads in order to get notified when replies are posted. Just log in at the right top of the page if you already have an account, otherwise you can register for free.

Permalink:28880195.20090615225012@yahoo.com
Date:16 Jun 2009 05:50 AM
From:DJ
Subject: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
↑Back to thread overview
Permalink:1245227254.4666.22.camel@bender
Date:17 Jun 2009 10:25 AM
From:Sven Neumann
Subject: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
↑Back to thread overview
Permalink:20090617092340.GA7466@budig.de
Date:17 Jun 2009 11:23 AM
From:Simon Budig
Subject: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
↑Back to thread overview

Adobe® Photoshop® is a registered trademark of Adobe Systems, Inc. Linux is a trademark of Linus Torvalds. Ubuntu and Canonical are registered trademarks of Canonical Ltd. | Clock times are shown as CET / CEST | Imprint / Privacy policy | powered by bitfire it services