rmagick: doing the polaroid effect, changing the pictures caption

Posted by Joern Akkermann on Stack Overflow See other posts from Stack Overflow or by Joern Akkermann
Published on 2010-03-10T20:11:50Z Indexed on 2010/04/11 2:03 UTC
Read the original article Hit count: 290

Filed under:
|

Hi,

it's about rMagick and the polaroid effect.

image = image.polaroid do
  self.font = "Tahoma"
  self.caption = name
  #self[:caption] = name
  self.shadow_color = "gray40"
  self.pointsize = 12
end

This is how I tried to change it's caption, but both versions don't work.

Any ideas?

Yours Joern.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rmagick