There is no ImageMagick parameter named -font_stretch that I know of. However, there is -stretch .
But I donβt think that -stretch really works with fonts. In any case, to find out what values ββare possible, just run:
convert -list stretch
and see the result:
Any
Condensed
Expanded
Extracondensed
ExtraExpanded
Normal
Semicondensed
Semiexpanded
UltraCondensed
UltraExpanded
Use -kerning !
Better use the -kerning command line -kerning . It takes both positive and negative values:
convert \ in.png \ -gravity center \ -font "/Library/Fonts/Arial Bold.ttf" \ -kerning -0.5 \ -fill white \ -draw "text 0,0 'CLICK ME'" \ out1.png
or
convert \ in.png \ -gravity center \ -font "/Library/Fonts/Arial Bold.ttf" \ -kerning 1.5 \ -fill white \ -draw "text 0,0 'CLICK ME'" \ out2.png
Works for me on ImageMagick version 6.7.8-3 2012-07-19 on Mac:


source share