Rounded Corner Image Generator (Transparent PNG)
Upload 1–12 PNG/JPEG/WebP images, apply a corner radius by percentage of the short side or fixed pixels, and export transparent-corner PNGs with batch download. All processing stays in your browser.
📚 深度解析:圆角图片生成(带圆角的 PNG 导出)
💡 常见使用场景
- 做卡片/头像缩略图,需要统一圆角观感,避免方角显得生硬。
- 电商主图或 App 图标希望边角柔和,提升视觉亲和力。
头像圆角 50% 导出
上传 400×400 方图,圆角比例设为 50%(半径 = 400×50% = 200px,即正圆),导出透明 PNG,文件约 90KB。
卡片圆角 12px
封面 800×450,圆角取 12px(小圆角不裁切内容),导出 800×450 PNG,四角透明、其余不透明。
❓ 常见问题(FAQ)
- 圆角半径怎么算?
- 半径 = 短边 × 比例%。比例 50% 在正方形上得到正圆;12px 这类固定值是小圆角,不裁掉主体内容。
- 为什么导出 PNG 而不是 JPG?
- 圆角外侧是透明区域,JPG 不支持透明会填白底;需要透明必须用 PNG 或 WebP。
Formula & Standard References
| Item | Formula | Source / Standard |
|---|---|---|
| Corner radius | Set for the four corners in px | rounded corner rendering |
| Output size | Width × height in pixels | image output |
| Transparent background | Outside the corners use alpha 0 | PNG alpha channel |
⚠️ 使用说明与注意事项
- 本工具纯前端运行,数据不会上传到服务器
- 建议在主流浏览器(Chrome/Safari/Firefox/Edge)中使用
- 计算结果仅供参考,请以实际应用场景为准