in reply to Creating an image with GD.

Creating the background was simple but writing text on to it has proven to be a perplexing task.

What, exactly, do you expect this line to do?

$title->draw( IMAGE_SIZE / 2 TITLE_Y_COORD );

Is the script you've shown incomplete?