imagettftext

imagettftext

(PHP 4, PHP 5, PHP 7)

imagettftextWrite text to the image using TrueType fonts

Description

array imagettftext ( resource $image , float $size , float $angle , int $x , int $y , int $color , string $fontfile , string $text )

Writes the given text into the image using TrueType fonts.

Parameters

image

An image resource, returned by one of the image creation functions, such as 登录查看完整内容