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

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -