Need a simple a way of rounding off an Image. I need the corners to be transparent. This link shows how to do it via command line:
http://www.imagemagick.org/Usage/thumbnails/#rounded
What I need is the corresponding RMagick\Ruby code... Thanks!
Need a simple a way of rounding off an Image. I need the corners to be transparent. This link shows how to do it via command line:
http://www.imagemagick.org/Usage/thumbnails/#rounded
What I need is the corresponding RMagick\Ruby code... Thanks!
If you are using paperclip, check http://loo.no/articles/rounded-corners-with-paperclip
In general I've had such poor luck with RMagick that I generally find it easier to just do a system() call with the command in it to modify the images. If you took that approach you could use exactly the command in the link you referenced.