I use this script to create a simple png-image:
Code: Select all
<?php
header ("Content-type: image/png");
$im = @imagecreate (500, 100);
$text_color = ImageColorAllocate ($im, 0, 0, 0); ImageTTFText ($im, 12, 0, 20, 60, $text_color, "path/verdana.ttf", "Text (GD with Antialiasing)");
$text_color = ImageColorAllocate ($im, 0, 0, 0); ImageTTFText ($im, 12, 0, 20, 80, - $text_color, "path/verdana.ttf", "Text (GD without Antialiasing)");
imagePNG ($im);
?>
now the output differs to the original, and the question is, is GD not able to be better or exist a trick to fix this?
thx in adv


