| | |
| Stránka: 1 z 1
| [ Príspevkov: 2 ] | |
Autor | Správa |
---|
Registrovaný: 28.06.06 Prihlásený: 20.09.07 Príspevky: 48 Témy: 9 Bydlisko: Petrzka | Napísal ronny: 25.04.2007 0:02 | |
|
treba pri funkcii ImageTTFText nastavovat nieco specialne? bo mi to ani za nic nechce ist. ..
Kód: <? Header ("Content-Type: image/gif");
$obr = ImageCreateFromPNG('bg.png'); $velkost = 12; $uhol = 10; $x = 15; $y = 20; $farba = ImageColorAllocate($obr, 255, 0, 0); $font = 'arial.ttf'; $text = 'text';
ImageTTFText($obr, $velkost, $uhol, $x, $y, $farba, $font, $text);
ImageGIF($obr); ImageDestroy($obr); ?>
arial.ttf je tam. ..
ak dam prec Header, tak sa vypisuje "Fatal error: Call to undefined function: imagettftext()"
_________________ szuppa web programmer |
|
Registrovaný: 30.05.06 Prihlásený: 08.10.14 Príspevky: 1756 Témy: 35 Bydlisko: BA - WESTSIDE | Napísal p360t: 25.04.2007 7:50 | |
|
PHP Manuál píše: This function requires both the GD library and the FreeType library.
Uisti sa, že máš nainštalované obe knižnice (predpokladám, že GD máš, ale chýba ti FreeType).
_________________
A. S. Tanenbaum píše: The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice. |
|
| Stránka: 1 z 1
| [ Príspevkov: 2 ] | |
| Nemôžete zakladať nové témy v tomto fóre Nemôžete odpovedať na témy v tomto fóre Nemôžete upravovať svoje príspevky v tomto fóre Nemôžete mazať svoje príspevky v tomto fóre
|
|