php class to show text as a picture