Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 1
Seite [1]
scennative


Poststar




Beiträge: 640
# Thema - 07.07.2009 um 18:41 Uhr
Moin ^^

Also meine Frage wie kann ich solche Bilder erstellen
Bild... +-


:
per Php?

Also meine so z.B:

http://www.multi-clans.de/bildgenerator.php?action=Test123

und das sollte ein Bild erzeugen in der einen schrift wie oben mit Schatten.

Würde das gehen?

Wenn ja wäre super wenn ihr mir da helfen würdet

Greetz Scenna



Edit 1:

Soweit bin ich schon mal:

mehr... +-
 
1.
2.
3.
4.
5.
6.
7.
8.
1. / 2. / ... 
<?php
Header 
("Content-type: image/png");
$im imagecreate (40030);
$black ImageColorAllocate ($im255255255);
$text ImageColorAllocate ($im000);
ImageTTFText ($im2001020$text"/path/arial.ttf","1234567890abcdefghijklmnopqr");
ImagePNG ($im);
?>



Wie kann ich das bild transparent machen und wie bekomm ich so nen schatten effekt?
Und wie schaff ich das mit den Text per Url?


Edit 2:

Habs geschafft:

http://c5550.gopw.de/test.php?width=1000&height=60&big=80&font=hand&text=abcABC123

ergibt:



Phpcode +-
 
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
1. / 2. / ... 

<?php
$string 
$_GET['text'];
$string2 $_GET['width'];
$string3 $_GET['height'];
$string4 $_GET['font'];
$string5 $_GET['big'];
Header ("Content-type: image/png");
$im imagecreate ($string2$string3);
$black ImageColorAllocate ($im255255255);
$text ImageColorAllocate ($im000);
ImageTTFText ($im$string500$string3 $text"/path/$string4.ttf",$string);
ImagePNG ($im);
?>



So und wie schaff ich das noch das das Png bild transparent wird?


Zuletzt editiert von scennative am 09.07.2009 um 02:15 Uhr (4x Editiert)
Inaktiv
scennative
Thread-Ersteller


Poststar




Beiträge: 640
# Antwort: 1 - 09.07.2009 um 02:21 Uhr
^^ So habs selber geschafft


Inaktiv
|
Antworten: 1
Seite [1]


Sie müssen sich registrieren, um zu antworten.