właściwie to text już nałozyłem, ale teraz chce pod ten text kolor ;]
gdy robie coś takiego
<?php imagefill($image, 0, 0, $bg_color); ?>
to nic sie ni dzieje...., może jest jakaś inna funkcja?
<?php imagefill($image, 0, 0, $bg_color); ?>
<?php $bg_color=imagecolorallocate($image, 0, 0, 0); ?>
<? $image=ImageCreateFromJpeg('image.jpg');//w moim przypadku obraz ma 800x600 //tutaj robie kolorki $string_color=imagecolorallocate($image, 255, 255, 255); $bg_color=imagecolorallocate($image, 0, 0, 0); //teraz tło które nie działa imagefill($image, 50, 50, $bg_color); //a teraz text imagestring($image, 5, 60, 60, 'blabla', $string_color); // i wyświetlamy imagejpeg($image); ?>