Choose a corner radius for a rectangular photo
Admin ·
A rounded rectangle keeps the straight part of each edge until the curved corners meet. Pixel units help you choose a repeatable radius across a set of images.
Keep most of an edge straight
Try a 320 × 120 photo with a radius of 12. The curve on its top edge occupies 12 pixels at each end. Two hundred ninety-six pixels remain between those curves. A radius of zero keeps square corners.
Use the largest effective radius
Raise the radius to 60. This equals half the shorter side and produces a pill shape. Entering 90 gives the same outline on this photo. Download either result to check that the PNG still measures 320 × 120.
Match a card radius at its actual display size
A 640-pixel-wide asset shown at 320 CSS pixels is displayed at half scale. A 24-pixel corner radius in the file then appears about 12 CSS pixels wide. Choose the source radius from the final card size.
Test it over the actual card background. If the corners look right in the transparent PNG but square on the card, inspect whether an opaque background was added later in the image pipeline.
Common questions
Does rounding replace the corners with a solid color?
The removed corners have transparency. The background behind the PNG shows through.
How do I crop a perfect circle from a wide picture?
Use Circle Crop Image to select a square source region and mask it to a circle.