You misspelled "editor", which is ironic considering your new job. 😉
I'm not too familiar with creating images, but would something like this work for you, or get you pointed in good direction?:
<?
$h = 50;
$w = 500;
$bg_red = 255;
$bg_grn = 255;
$bg_blu = 255;
$tx_red = 100;
$tx_grn = 20;
$tx_blu = 1;
header("Content-type:image/png");
$mast_head = @imagecreate($h,$w);
$bg_color = imagecolorallocate($im,$bg_red,$bg_grn,$bg_blu);
$text_color = imagecolorallocate($im,$tx_red,$tx_grn,$tx_blu);
imagestring ($im,1,5,5, $your_mast_var_here,$text_color);
imagepng ($im);
?>