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?
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 ?