tags:

views:

66

answers:

1

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.

A: 

okay image[:caption] = name before doing the polaroid effect is the solution

Joern Akkermann