Advertisement


GIMP: creating a 1 pixel wide line


Question

I'm trying to create 1 pixel wide borders for some web buttons. I've tried to use the GIMP path tool to do this but I can't figure out how to get it looking right. See attached image.

1 - copied from a button I found on a web-page. This is what I want - single pixel horizontal and vertical lines with feathering on the curved bits.

2 - path that I used to generate the images on the right.

3 - with no antialiasing. No good as too jaggy and corners not smooth.

4 - with anti-aliasing. Straight lines are too fuzzy as they are 2 pixel wide rather than 1.

Is there a way to do this with the path tool or any other way with the GIMP, or should I try some alternative to the GIMP?

enter image description here

2012/06/10
1
1
6/10/2012 6:20:00 PM

Accepted Answer

2012/06/14
1
6/14/2012 10:51:00 AM