ho risolto...

č bastato aggiungere
imagefilledrectangle($destImage, 0, 0, $destW, $destH, $bg);

ciao!