H
H
honormgr2017-01-24 19:40:32
PHP
honormgr, 2017-01-24 19:40:32

Imagick, how to find out if text fits in an image?

Hello!
Please tell me (a specific piece where, if possible), how to find out if the text fits on the image?
Input parameters Draw Object (color, font, font size, and...).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WQP, 2017-01-24
@WQP

X = (text width + left offset) - image
width

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question