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/ruby-talk/137315
but was unable to get it to work. :o(
Anyone done this before and have any tips?
Cheers.
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/ruby-talk/137315
but was unable to get it to work. :o(
Anyone done this before and have any tips?
Cheers.
Hi Douglas
On 08.01.2007, at 11:20, Douglas S. 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/ruby-talk/137315
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
Bonhôte André wrote:
I bet you tried to save it as jpeg file.
Yup, I was! Thanks very much for that! :o)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs