Location: PHPKode > projects > CoreAsset > coreasset/imgcr.php
<?php
header("Content-type: image/gif");
$im     = imagecreatefromgif("images/ams1.gif")
    or die("Cannot Initialize new GD image stream");
//imagecolorallocate($im, "", "", "");
$font_color = imagecolorallocate($im, 0x5A, 0x5A, 0x35);
$text = 'Core Asset';
$font = 'Verdana.ttf';

imagettftext($im, 17, 0, 61, 18, $font_color, $font, $text);
imagettftext($im, 17, 0, 60, 18, $font_color, $font, $text);
imagegif($im);
//echo $p;
//imagedestroy($im);
?>
 
Return current item: CoreAsset