Forum: Ruby RMagick: Round corner borders on images.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B1edc6a4aa373d980b49e600923df552?d=identicon&s=25 Douglas Shearer (dougal)
on 2007-01-08 11:19
 Hi there.

 I'm trying to create rounded corners on images. I looked at the script
at: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/...
but was unable to get it to work. :o(

 Anyone done this before and have any tips?

Cheers.
C703c4599584a7b79d235a9832f1dd60?d=identicon&s=25 Bonhôte André (Guest)
on 2007-01-08 12:08
(Received via mailing list)
Hi Douglas

On 08.01.2007, at 11:20, Douglas Shearer wrote:

>  I'm trying to create rounded corners on images. I looked at the
> script
> at: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/...
> but was unable to get it to work. :o(

I am very, very new to ruby, but I guess I know what went wrong on
your side. I bet you tried to save it as jpeg file. Try to do
something like

thumb.write('rounded.png')

Works fine here.

HTH & HAND

Andr
B1edc6a4aa373d980b49e600923df552?d=identicon&s=25 Douglas Shearer (dougal)
on 2007-01-09 11:23
Bonhôte André wrote:

>  I bet you tried to save it as jpeg file.

 Yup, I was! Thanks very much for that! :o)
This topic is locked and can not be replied to.