Combine adjust text to width with setting text color
Posted: 2010-03-27T20:51:52-07:00
Hey folks,
I can get IM to convert text to an image and
a) let imagemagick auto adjust the pointsize so that the text fits
or b) adjust the color of the text stroke and fill.
Note the OR...I can't manage to get it to work with both in the same image.
If I have the width thingy right I can't seem to do the color and if I draw the stroke setting the color, I can't get the width to work.
I have searched and searched (which is how I lerned to do both of the examples above) but I can't find an example of them combined.
Does someone have an example of how to do this?
Many thanks in advance.
I can get IM to convert text to an image and
a) let imagemagick auto adjust the pointsize so that the text fits
or b) adjust the color of the text stroke and fill.
Note the OR...I can't manage to get it to work with both in the same image.
If I have the width thingy right I can't seem to do the color and if I draw the stroke setting the color, I can't get the width to work.
I have searched and searched (which is how I lerned to do both of the examples above) but I can't find an example of them combined.
Does someone have an example of how to do this?
Many thanks in advance.