Search
Syndication
Sponsors

Use a specific font

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)


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: , , ,

Leave a Reply