Hi,
i am trying this out of curiosity and get sme errors
My gd extension is set up in the correct folder.
This is my script
header("Content-type: image/png");
$string = 'hello';
$im= imagecreatefrompng("images/button1.png");
$orange = imagecolorallocate($im, 220, 210, 60);
$px= (imagesx
[snip]
This is my script
header("Content-type: image/png");
$string = 'hello';
$im= imagecreatefrompng("images/button1.png");
$orange = imagecolorallocate($im, 220, 210, 60);
$px= (imagesx($im) - 7.5 * strlen($string)) / 2;
imagestring($im, 3, $px, 9, $string, $orange);
imagepng($im);
imag
Hi,
I asked a question similar to this earlier, but I thought it may have
required simplification/rewording. According to the doco,
imagecreatefromstring has the following declaration:
resource imagecreatefromstring ( string image)
Does anyone know how an image can be transformed into a string
3 matches
Mail list logo