stil / gd-text

PHP class making it easy to type text on pictures. Supports multi-lined text, horizontal and vertical alignment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I set multiple paragraphs

h1s-kunal opened this issue · comments

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?

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