set dynamic font size text to img

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Locked
healcentral
Posts: 2
Joined: 2020-02-11T09:24:28-07:00
Authentication code: 1152

set dynamic font size text to img

Post by healcentral »

I want to dynamically set the text font size in the middle of the image, which will scale depending on the size of the image.
I can't use queryFontMetrics, can you help me with queryFontMetrics?
Thanks.



Locked