1
我試圖得到它顯示同一圖像上的文本1和文本僅文本1顯示了PHP圖像添加TXT
$rImg = ImageCreateFromJPEG("test.jpg");
$cor = imagecolorallocate($rImg, 0, 0, 0);
imagestring($rImg,5,126,22,"Text1",$cor);
imagestring($rImg,5,500,34,"Text2",$cor);
header('Content-type: image/jpeg');
imagejpeg($rImg,NULL,100);
謝謝