stil / gd-text

PHP class making it easy to type text on pictures. Supports multi-lined text, horizontal and vertical alignment.
400 stars 131 forks source link

How do I set multiple paragraphs #59

Open h1s-kunal opened 3 years ago

h1s-kunal commented 3 years ago

Like how will I know at which coordinate the first paragraph has an end and set the box size accordingly for the 2nd para and onwards?

Basically, I'm trying to create a dynamic image like this How can I set the box size for "Hello!", then the next line and so on?

antonlukin commented 1 year ago

For those who are looking for an answer to this question, I can advise my class that allows you to do this: https://github.com/antonlukin/poster-editor