PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Ciprian Voicu  >  Pictoru's GIF Text  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: test file
Class: Pictoru's GIF Text
Render text as images
Author: By
Last change:
Date: 15 years ago
Size: 997 bytes


Class file image Download
# -------------------------------------------------------------------------------
# Name: Pictoru's Gif Title
# Author: Ciprian Voicu
# Version: 1.0
# Date: 2006-08-29
# Description: a simple class that creates and outputs gif images from
# ttf fonts, usefull for texts which are not supported by the
# browsers
# License: GNU GPL
# -------------------------------------------------------------------------------


$img=new pGifTitle();

# Title(string text[, int font[, int size[, string fontcolor[, string bgcolor[, bool transparent]]]]]);
# text - the outputed text
# font - font identifier
# fontcolor - sets the font color (ex: #FF0000 or FF0000)
# bgcolor - sets the background color
# transparent - sets the transparent property for the background color

$img->Title("Pictoru's Test", 1, 25, "FF0000", "FFFFFF", true);

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