I have interesting problem.
I need to generate an image with PHP GD implementation however font size needs to by dynamic. I need it to be 7% of the current image size. Does anybody has any suggestion how my approach should look like?
What about just taking imagesy(), multiply by 0.07, and then set the image font size ? What's wrong with that simple approach ?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.