PHP/Graphics Image/Paint String — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 13:37, 26 мая 2010
Writing a String with imageTTFtext()
<source lang="html4strict">
<?php header("Content-type: image/gif"); $image = imagecreate( 400, 200 ); $red = imagecolorallocate($image, 255,0,0); $blue = imagecolorallocate($image, 0,0,255 ); $font = "ARIALBD.TTF"; imageTTFtext( $image, 50, 0, 20, 100, $blue, $font, "www.wbex.ru" ); imagegif($image); ?>
</source>