PHP Classes

File: example1.php

Recommend this page to a friend!
  Classes of Shahid Karimi  >  Complete text to image conversion  >  example1.php  >  Download  
File: example1.php
Role: Example script
Content type: text/plain
Description: the class
Class: Complete text to image conversion
Render an image with a text
Author: By
Last change:
Date: 11 years ago
Size: 422 bytes


Class file image Download
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;
//echo '<img src="'. $image->save() .'">';

For more information send a message to info at phpclasses dot org.