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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What about just taking imagesy(), multiply by 0.07, and then set the image font size ? What’s wrong with that simple approach ?