<?php
include_once 'gdi.php';
$image = new GDI_image('Hellow World');
$image->file_name ='king';
$image->font_name = 'segoepr.ttf';
$image->font_size =40;
$image->pad =20;
$image->font_color = '#FF0000';
$image->border_options = 1;
$image->outline_color = '#ff00ff';
$image->shadow = true;
$image->shadow_offset =8;
$image->save_to_file = false;
$image->save();
//echo '<img src="'. $image->save() .'">';
?>
|