Use a specific font
This example shows how to use a specific font.
<?php
header("Content-type: image/gif");
$image = imagecreate( 500, 250 );
$blue = imagecolorallocate($image, 0,0,255 );
$font = "ARIALBD.TTF";
imageTTFtext( $image, 50, 0, 20, 100, $blue, $font, www.getphp.net );
imagegif($image);
?>
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
Tags: ImageColorAllocate, ImageCreate, ImageGif, imageTTFtext



















