📜  imagettftext 自动换行 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:21.834000             🧑  作者: Mango

代码示例1
//$text = the text you want outputted by imagettftext()
$new_text = wordwrap($text, 20, "
\n"); imagettftext($im, 18, 0, 10, 90, $white, $font, $new_text);