Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][GD] Jak wstawic obrazek...
Komarek
post
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 ? (IMG:style_emoticons/default/smile.gif)
tak by sie caly czas animowal ? (IMG:style_emoticons/default/smile.gif)


Pozdrawiam (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 24.08.2025 - 04:18