Auto width and height with imagemagick? -


i'm creating image of string of text imagemagick , need both width , height of image conform size of text.

currently, use "caption" command , specify width of 300px, image 300px wide, , text wraps if longer 300px.

i guess need still specify maxwidth somewhere in imagemagick code, text still wraps @ 300px.. width of image fit longest line of wrapped text , not 300px. possible?


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -