Post Reply 

Help with rounded corners, please

Feb 8, 2012, 15:05
Post: #1
Help with rounded corners, please
I created a thin-bordered rounded-corned container by File/New > Select/All > Select/Rounded-Corners > 1px . Select/Border > Bucket -Fill, yet the rounded corners appear(on a web page) to be thicker than the rest of the border. How can I remedy this, so that the border is an even thickness all the way around?

Thanks
Find all posts by this user
Quote this message in a reply
Feb 8, 2012, 16:36 (This post was last modified: Feb 8, 2012 16:37 by ofnuts.)
Post: #2
RE: Help with rounded corners, please
When you do a border, the border goes on both sides of the selection. For instance, if you have a 100px circle selection on which you apply a 20px border, you get a 40px wide ring (inner radius: 80px, outer radius: 120px).

In your case, on the sides you only see the inner half since the outer half is automatically clipped. But in the corners you see the full border so it looks twice as big. The proper method wou be to use "Select/shrink" by 10px and then use a "Select/Border" with 10px, that will create a 20px wide border flush with the image side.

Btw, such a simple shape can be done in HTML/CSS:
Code:
<div style="width:400px; height:200px; border:20px solid #8888ff; border-radius:40px; -moz-border-radius:40px;">
</div>

(and it will also adjust to its contents if you don't set width/height).

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
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  round corners of rectangle BenjaminGer 3 177 Aug 21, 2017 06:01
Last Post: ythgilb
  Removing the image white corners thedge84 3 968 Jan 20, 2014 06:41
Last Post: thedge84
  Only top 2 corners rounded txrunner 4 1,071 Jan 15, 2014 13:47
Last Post: rich2005
  Rounded corners teaphoto 5 565 Dec 10, 2013 17:51
Last Post: ofnuts
  Make rounded corner squares Arthas 1 369 Dec 2, 2013 21:13
Last Post: ofnuts

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS