adres do niego:
http://www.dodatki.boo.pl/test/test.png
jak sami widzicie nie ma tla
a w gd robi czarne tlo:
http://www.dodatki.boo.pl/test/index.php
co zrobić żeby w GD też nie było tła ?
dodam że mój kod to:
Kod
<?php
header("Content-type: image/png");
$image = imagecreatefrompng("test.png");
$rgb = '0.0.0';
$rgb = explode('.', $color);
$color =ImageColorAllocate($image, $rgb[0], $rgb[1], $rgb[2]);
imagettftext($image, 10, 0, 13, 25, $color, 'arial.ttf', 'blablablablablabla');
imagepng($image);
?>
header("Content-type: image/png");
$image = imagecreatefrompng("test.png");
$rgb = '0.0.0';
$rgb = explode('.', $color);
$color =ImageColorAllocate($image, $rgb[0], $rgb[1], $rgb[2]);
imagettftext($image, 10, 0, 13, 25, $color, 'arial.ttf', 'blablablablablabla');
imagepng($image);
?>