Page 1 of 1

Posted: 2006-03-26T21:53:50-07:00
by anthony
To add some space say on both sizes, add a -border, or -splice an extra column of pixels to the image.
See Cutting and Bordering, IM Examples page...
http://www.cit.gu.edu.au/~anthony/graph ... op/#border

If you just want to offset the overlay image use
-geometry +20+0
after creating the caption: image but before the -composite.

See the current usage notes of the -geometry operator in IM version 6
Important Changes for IM v6...
http://www.cit.gu.edu.au/~anthony/graph ... ics/#notes

These note on -geometry will eventually move to the quick summery that currently exists in Resize or Scaling, IM Examples page
http://www.cit.gu.edu.au/~anthony/graph ... k6/resize/


WARNING: -gravity setting has effects for BOTH caption: and for -composite
as it is currently also used as a text justification setting. As such you should set it as appropraite or turn off with +gravity, before using each of these operators.

ASIDE: I have been pushing for a separation of justification from gravitational placement in IM (with some automatic cross setting) since IM version 6 started, but this is such a major change it may mean IM becomes IM version 7, (along with a number of other option consolidation efforts).

See Future Development Proposals, on the IM examples page
http://www.cit.gu.edu.au/~anthony/graph ... gs/future/

Posted: 2006-03-26T22:03:32-07:00
by anthony
Additional..

Italic and Bolding are generally aspects of font selection.
As such to do this you generally pick italic or bold fonts.

That is not to say you can't use some image modifications to either draw or convert an existing text image to generate italics, or bold text.


As for stroke and outlining, for that you need to actually draw the font rather than use the special purpose text to image input generators. IE you need to create a canvas and either use -draw or better still -annotate the text onto the image.

That presents the problem of what size canvas to use. Either make it too big, and trim (using say a undercolor -box to define trim limits, or use label: to pre-generate a canvas of the right size.

See the bottom of the Text to Image IM examples page.
http://www.cit.gu.edu.au/~anthony/graph ... text/#size

Note neither drawing or annotate allow the use of caption word wrapping.
That will then be DIY.

A compromise is to use text: whcih does allow some use of extra font attribute settings.