Mobile app version of vmapp.org
Login or Join
Gloria351

: GIMP Rounded Rectangle Radius > 100px? I am wondering if there is a way to make GIMP (2.8 on Mac) allow me to make a rectangle with rounded corners - the radius being over 100 px. This

@Gloria351

Posted in: #Gimp

I am wondering if there is a way to make GIMP (2.8 on Mac) allow me to make a rectangle with rounded corners - the radius being over 100 px. This seems to be the current limit.

This would greatly help me make great looking iOS app icons.

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Gloria351

4 Comments

Sorted by latest first Latest Oldest Best

 

@Reiling762

As it's an iOS icon I assume it's square. A radius of 100% would give a radius of half the width and height of your image (making a perfect circle). Apple's icon radius is a value of 10/57 (0.1754 or 17.5%) as Gimp's percentage works on half the icon size we need to double that value to 35%.

In brief: Goto Select menu > Rounded Rectangle... > Enter a value of 35 > Ok

This is in Gimp 2.8.10 on Mac.

Note: If you're wanting the pixel size of the radius it will be 10*size/57 where size is the size of the icon.

10% popularity Vote Up Vote Down


 

@Lengel450

The functionality is buried in GIMP in a function called gimp-image-select-round-rectangle. See the bug report.

I have exposed gimp-image-select-round-rectangle's ability to create rounded rectangles with a radius > 100 (actually up to 262144 pixels now) to the UI with a script-fu script, select_round_rectangle.scm The script also exposes the ability to create rounded rectangles with different x & y radii.

10% popularity Vote Up Vote Down


 

@Alves566

Having read and responded to the above, I went hunting and have found that under the Filters menu at Filter->Decor->Round Corners... we have the ability to clip the image as desired, setting the radius as desired.

I note that you seem to be restricted to RGB, and a single layer image to be able to use this filter. Even then it doesn't always seem to be enabled. In any case it works for me.

10% popularity Vote Up Vote Down


 

@XinRu324

The radius in the Select -> Rounded Rectangle dialog in Gimp 2.8 is actually a percentage. It wouldn't make sense for it to go over 100 percent.

At least, this is the case for me on Gimp 2.8.2/Windows.

Personally, I prefer a little bit more control so I do this kind of stuff in Inkscape, an SVG-based vector editor. I can still then export to GIMP.

Edit: So it turns out there are two different places where you can create a rounded rectangle.


Using the select tool on the toolbar, before making the selection, check "Rounded Rectangle" in the tool options. Here you can make a radius only up to 100 pixels.
By making a normal rectangular selection, and then going to the "Select" menu, then "Rounded Rectangle". This allows you to round the rectangle you've already selected by a certain percentage, where 100% is the maximum amount of rounding possible on that selection (50% of the smaller dimention of the selected rectangle).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme