Forum: Ruby question about Mini_Magick and mogrify

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.
Marcelo B. (Guest)
on 2009-05-18 02:47
(Received via mailing list)
Hi.

I'm trying to write a caption to an image in my Rails Project.

 From http://www.imagemagick.org this is something I should use:

   width=`identify -format %w dragon.jpg`; \
   convert -background '#0008' -fill white -gravity center -size
${width}x30 \
           caption:"Faerie Dragons love hot apple pies\!" \
           +size dragon.jpg +swap -gravity south -composite
anno_caption.jpg

If possible how can I write that in mini_magick? I thinks it's related
to mogrify somehow.


Thanks.
This topic is locked and can not be replied to.