Location: PHPKode > scripts > Overlay Text > overlay-text/example.php
<?php
//error_reporting(E_ALL);
//ini_set('display_errors', 'On');
include('class.overlay.php');

extract($_POST);
$int_font_size = intval($int_font_size);
$hex_font_color = trim($hex_font_color);

$img_in_path = './img_in.jpg';
$img_out_path = './img_out.jpg';

$test = new overlay_text($txt_string, $hex_font_color, $int_font_size, $align, $img_in_path, $img_out_path);

echo "<img src='".$img_out_path."'>";
?>
Return current item: Overlay Text