crear imagenes mediante php...

Iniciado por neopuerta360, 8 Enero 2011, 02:24 AM

0 Miembros y 1 Visitante están viendo este tema.

neopuerta360

Hola a todos..! Quiero crear imagenes mediante php como asi:

Código (php) [Seleccionar]
<?php 
session_start
(); 
header("Content-type: image/png"); 
$_SESSION['captcha'] = rand(00019999); 
$imagen imagecreate(50,25); 
$fondo imagecolorallocate($imagen000); 
$texto imagecolorallocate($imagen255255255); 
imagestring($imagen1065,$_SESSION['captcha'], $texto); 
imagepng($imagen); 
?>


Pero yo lo que quiero poner es mis propias imagenes ejemplo:en fondo una imagen y en texto otra imagen...me entieneden?

.:WindHack:.

Usa las funciones ImageCreateFromPNG, ImageCreateFromJPG, etc.


Pégale una leída a esta entrada: http://daw-labs.com/firma-en-php/

Follow me on Twitter: @windhack | Visit my website: www.daw-labs.com

"The only thing they can't take from us are our minds."

~ Yoya ~

Tienes la librería GD instalada?
Mi madre me dijo que estoy destinado a ser pobre toda la vida.
Engineering is the art of balancing the benefits and drawbacks of any approach.

neopuerta360


~ Yoya ~

Mi madre me dijo que estoy destinado a ser pobre toda la vida.
Engineering is the art of balancing the benefits and drawbacks of any approach.