# Creating rounded corners of images

**URL:** <https://www.ruby-forum.com/t/creating-rounded-corners-of-images/133481>\
**Category:** Rails\
**Created:** [April 1, 2008, 12:15am UTC](https://www.ruby-forum.com/t/creating-rounded-corners-of-images/133481 "2008-04-01T00:15:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![heldopslippers](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b9bd4f/32.png) [@heldopslippers](https://www.ruby-forum.com/u/heldopslippers)\
**Post date:** [April 1, 2008, 12:15am UTC](https://www.ruby-forum.com/t/creating-rounded-corners-of-images/133481/1 "2008-04-01T00:15:08Z")

</div>

Hey All,

Is it possible to round the corners of an image when you upload it on  
your site ?.

yes I now… Why would I want that…Well I have to make a website which  
the designers  
thought “lets make al the images you upload for the front-page  
rounded”…

Of course I looked at the Nifty Corners Cube  
([Nifty Corners Cube - freedom to round](http://www.html.it/articoli/niftycube/index.html))  
this is very handy if you just want some corners (for buttons for  
example). But (i think) it is useless if you want to round the image and  
then save it for example on the server.

I hope someone has a idea, hint or something to go one… 🙂  
thanks !!

gr Jeljer

---

<div class="post-metadata">

**Author:** ![heldopslippers](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b9bd4f/32.png) [@heldopslippers](https://www.ruby-forum.com/u/heldopslippers)\
**Post date:** [April 1, 2008, 12:32am UTC](https://www.ruby-forum.com/t/creating-rounded-corners-of-images/133481/2 "2008-04-01T00:32:24Z")

</div>

> this is very handy if you just want some corners (for buttons for  
> example). But (i think) it is useless if you want to round the image and  
> then save it for example on the server.
> 
> I hope someone has a idea, hint or something to go one… 🙂  
> thanks !!

[http://www.google.com/search?q=imagemagick+rounded+corners](http://www.google.com/search?q=imagemagick+rounded+corners)  
[http://www.google.com/search?q=gd+rounded+corners](http://www.google.com/search?q=gd+rounded+corners)
