alexpk
12-08-2010, 12:16 PM
Hello, we have:
header("Content-type: image/png");
$msg = "Hello world.";
$pic = imageCreateFromPNG("http://mypic");
$color = ImageColorAllocate ($pic, 255, 255, 255);
ImageString ($pic, 3, 140, 22, $msg, $color);
ImagePNG($pic);
ImageDestroy($pic);
I want to include another image in this image.How can I do that?
I can't include,readfile, html <img src.. what about other way?
header("Content-type: image/png");
$msg = "Hello world.";
$pic = imageCreateFromPNG("http://mypic");
$color = ImageColorAllocate ($pic, 255, 255, 255);
ImageString ($pic, 3, 140, 22, $msg, $color);
ImagePNG($pic);
ImageDestroy($pic);
I want to include another image in this image.How can I do that?
I can't include,readfile, html <img src.. what about other way?