espero que me allan entendido.
de ante mano muchas gracias.
el codigo es:
Código PHP:
<?php
// Establecer el tipo de contenido
header("Content-type: image/png");
// Crear la imagen
$im = imagecreatetruecolor(400, 30);
// Crear algunos colores
$blanco = imagecolorallocate($im, 255, 255, 255);
$gris = imagecolorallocate($im, 128, 128, 128);
$negro = imagecolorallocate($im, 0, 0, 0);
imagefilledrectangle($im, 0, 0, 399, 29, $blanco);
// El texto a mostrar
$texto = 'Psicofxp.com';
// Reemplaze la ruta con su propio ruta a la fuente
$fuente = 'BitDotted.ttf';
// Agregar una sombra al texto
imagettftext($im, 20, 0, 11, 21, $gris, $fuente, $texto);
// Agregar el texto
imagettftext($im, 20, 0, 10, 20, $negro, $fuente, $texto);
imagepng($im);
imagedestroy($im);
?>