Witam, jestem w trakcie pisania generatora dynamicznych sygnatur.
i tu pojawia sie pytanie czy mozna wygenerowac napis na GIFie, wiem ze GD tego nie obsługuje. czy jest jakas inna opcja wykonania tego?
$obrazek = imagecreatefrompng("a.gif"); $kolor = imagecolorallocate($obrazek, 250, 250, 250); $czcionka = "visitor.ttf"; $znak = "Abasd"; imagettftext($obrazek,13,0,5,25,$kolor,$czcionka,$nick); imagettftext($obrazek,8,0,5,10,$kolor,$czcionka,' '.$poziom); imagettftext($obrazek,8,0,5,10,$kolor,$czcionka,' '.$pochwaly); imagettftext($obrazek,8,0,5,10,$kolor,$czcionka,' '.$warns); imagettftext($obrazek,8,0,5,66,$kolor,$czcionka,' '.$dolaczyl); imagettftext($obrazek,8,0,5,66,$kolor,$czcionka,' '.$posty); imagettftext($obrazek,8,0,5,66,$kolor,$czcionka,' '.$diamenty); imagepng($obrazek);