I just started working with the image functions of php. I like it but there is one major flaw. I have to specify the exact location for each line of text. This defeats the whole purpose of DYNAMIC images because my text strings are going to be different lengths each time.
I need to be able to give a y coordinate but have the x coordinates be automatic to make the text string centered depending on its length.
Has anyone written a function or class to do this? I'm sure its possible.