Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][GD] Jak wstawic obrazek...
Komarek
post 30.03.2010, 08:45:20
Post #1





Grupa: Zarejestrowani
Postów: 114
Pomógł: 0
Dołączył: 18.12.2009

Ostrzeżenie: (0%)
-----


Witam

Mam cos takiego

Kod
<?php
header("content-type: image/png");
$obraz = imagecreatefrompng('tlo.png');
$bialy = imagecolorallocate($obraz, 255, 255, 255);
$arial = 'arial.ttf';
imagettftext($obraz, 12, 0, 0, 0, $bialy, $arial, $moj_tekst);



imagepng($obraz);

if($obraz)
imagedestroy($obraz);


i to dziala

a teraz pytanie do was.
jak wstawic ANIMOWANY gif do tego ? smile.gif
tak by sie caly czas animowal ? smile.gif


Pozdrawiam smile.gif
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 25.06.2025 - 00:35