Forum: Ruby question about Mini_Magick and mogrify

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Marcelo B. (Guest)
on 2009-05-18 02:47
(Received via mailing list)

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

 From 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

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

This topic is locked and can not be replied to.