Possibly the most common requirement of a caption
is to place it beneath the image. But this does not
appear to be easy. The following lines appraoch
a solution but are not sufficient.

convert  A.gif \
        -gravity South\
        -background White -splice 0x30 \
        -pointsize 20 -annotate 0 \
        'Fig 33.' \
        B.gif

The problem with the above is that it does not automatically
centre the text vertically on the added splice, it places
the baseline on or a little above the bottom of the splice,
which may be nowhere near the centre. I have considered
labels, captions, enclosing options in \(...\) but have not
found a simple solution.



_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to