Due to the performance advantages of Minimagick of Rmagick (and the fact the Rmagik is on the way out) I would like to be able to able to perform the following operation in Minimagick. By default it seems that Minimagick does not handle unicode character well, but Rmagick has no roblem at all (this code works fine):
def getimage
bg = Magick::ImageList.new("#{Rails.root}/app/assets/images/template.png")
text = Magick::Draw.new
text.encoding = "Unicode"
text.text(23,14,"ÿüñCe#43535r(*&^%$#ð")
text.draw(bg)
send_data(bg.to_blob, :type => 'image/png', :disposition => 'inline')
end