Mark Rogers wrote:
I'm playing with ImageMagick's "convert" program to add text to an image.
[...]
However, the only way I can find to size the text is using the -pointsize option. What I want to do is make the text proportional to the image size, eg have the text work out to 50% of the available width, or similar. I can't find any good way to do this [...]
I'd either run identify on the image beforehand, or test PHP's libgd module to see if it was good enough for this.
Hope that helps,