hi there
ImageTTFText does not work correctly!
What I want to do is resizing a pic and lay some text over it. This works ok if the picture isn't too big. Funnily, it's different with every picture, but also very certain, that when it's got a certain size, the text is wrong colored... I'm sure my code is correct (it works with small pictures!), but I post it anyway:
$black = ImageColorAllocate($dst_img, 0,0,0);
$white = ImageColorAllocate($dst_img, 255,255,255);
ImageTTFText($dst_img, $fontsize, 0, 3, $dst_y-5, $black, $font, $textonpicture);
ImageTTFText($dst_img, $fontsize, 0, 4, $dst_y-4, $white, $font, $textonpicture);
anybody knows this problem?
thx in advance!
ari