Red beanie 0 Odesláno: 17. Únor, 2009 Author Share Odesláno: 17. Únor, 2009 já až přijdu na to co udělal frenklin s tim textem prosim frenku jen mi dej script na vkladany textu do obrsszku !!! pls pak už si to udělám !! Link to comment Share on other sites More sharing options...
Daffy 8 Odesláno: 17. Únor, 2009 Share Odesláno: 17. Únor, 2009 ImageString ( php.net ) Link to comment Share on other sites More sharing options...
Red beanie 0 Odesláno: 17. Únor, 2009 Author Share Odesláno: 17. Únor, 2009 jeahh a kdyžtak je to www.cz.php.net díkk !!! :thumbup: Link to comment Share on other sites More sharing options...
癌癌癌 1 Odesláno: 17. Únor, 2009 Share Odesláno: 17. Únor, 2009 Hele je to i http://cz2.php.net/ :-D tak nwm co řešiš...stači prostě php.net :-) Link to comment Share on other sites More sharing options...
Red beanie 0 Odesláno: 17. Únor, 2009 Author Share Odesláno: 17. Únor, 2009 sakra pořád na to nemůžu přijít Link to comment Share on other sites More sharing options...
Daffy 8 Odesláno: 17. Únor, 2009 Share Odesláno: 17. Únor, 2009 haha ty si deges http://cz.php.net/manual/en/function.imagestring.php hned prvni radek imagestring ( resource $image , int $font , int $x , int $y , string $string , int $color ) pro tebe vysvetlim xD ImageString ( obrazeknejaky$ , $pismo , $pozicex , $pozicey , "$text" , $barva )->; Link to comment Share on other sites More sharing options...
Red beanie 0 Odesláno: 18. Únor, 2009 Author Share Odesláno: 18. Únor, 2009 jeahh já sem fakt deb*l dik ale to tam nebylo oni tam psali něco divnýho že se musí vytvořit gif atd fakt díkk teď to bude lehký !! dík ale ještě něco :x celý kod mám takto <?php $img = file_get_contents('ban2.gif'); header('Content-Type: image/gif'); echo $img; $textcolor = imagecolorallocate($img, 0, 0, 0); imagestring( $img, 5 , 95, 3 , "Ahoj", $textcolor); imagegif($img); imagedestroy($img); ?> obrázek se zobrazí ale text už ne !!!! :shock: :?: a když jsem to zkoušel prohodit takto <?php $img = file_get_contents('ban2.gif'); $textcolor = imagecolorallocate($img, 0, 0, 0); imagestring( $img, 5 , 95, 3 , "Ahoj", $textcolor); header('Content-Type: image/gif'); imagegif($img); imagedestroy($img); ?> tak to udělalo tento error Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/nhost/public_html/hostings/zlk/index.php on line 3 Warning: imagestring(): supplied argument is not a valid Image resource in /home/nhost/public_html/hostings/zlk/index.php on line 4 Warning: Cannot modify header information - headers already sent by (output started at /home/nhost/public_html/hostings/zlk/index.php:3) in /home/nhost/public_html/hostings/zlk/index.php on line 5 Warning: imagegif(): supplied argument is not a valid Image resource in /home/nhost/public_html/hostings/zlk/index.php on line 6 Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/nhost/public_html/hostings/zlk/index.php on line 7 fakt sem jelito ale tohle už nechápu !!! Link to comment Share on other sites More sharing options...
Daffy 8 Odesláno: 18. Únor, 2009 Share Odesláno: 18. Únor, 2009 ja to mam prez png obrazek .... <? header("Content-type: image/png"); $textcolor = ImageColorAllocate($img, 0, 0, 0); $img=ImageCreateFromPNG("ban2.png"); ImageString($img, 5, 95, 3, "Ahoj", $textcolor); ImagePNG($img); ImageDestroy($img); ?> Link to comment Share on other sites More sharing options...
Red beanie 0 Odesláno: 18. Únor, 2009 Author Share Odesláno: 18. Únor, 2009 dík ale na n-hostu to nefunguje ale fakt dík !!!! už jsem to skoro měl jen jsem to měl uplňe jinak poskladané :thumbup: :thumbup: EDIT// promiň tak nefunguje fakt nechápu ??!! Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/nhost/public_html/hostings/zlk/index.php on line 3 ‰PNG IHDRÜcpĎPLTE„‚„DFD„,*,„DÄ$„dd¤Ě&$¤|ÄĆÄ4 D ´"$4d t´ä&,Śt´¬Ş¬„ śäćä4´$ô.4dfdDTÔ"$¬ô*,tśžś”„¤$Ě&,¬ä*,t” üţüTŚŽŚTVTŚ<: t<| |ĽT|Ľ|ĽşĽôňôtrtLÜ"$|ś¬$Ü&,´ě*,ś \–ś5ëIDATX…Ő— WÚ0†ŻCŤL·NQ'ş(•Q&SÁF´ŠÓ9eŘůn6ő˙˙ŽÝ4M“ť@ů8Ţ”äm¸ÉésSš Ą“%図ʮ%¨ÔáVdéńŤň«´m}“mCËGmcč-ܶŤˇGĺ®1˙ĎC)đ«w‚#qňS´Núë±…sP ^9Č&Ýś•Öq®×Ž2q§†OÎ+>ŁĽŁ'@ŹZ’:ÎŽmű¶ď;ľ}Rŕ&đNsŤŤň{żfűc çKî#믇ĆđýË&¶á» 5|ć\ůůIĺő=zĚĐ’ÔyȆŹGθ˙…(AÉÍuáx˙eÓ0rc W UX®T ĺoŽ•×cDhT‡R $I]’ –çńŁ’Z¶<˲ř‰Źźxü««%l2Ŕ\Żçą? 3žË‹ĺZěz Ďk`{µ€®Äľđ0¦Ů7Ęk1" ?Y®ż; sL»y A„Fę7!.ár3A맍·›AgßpňžäpD¤čF \;ů±C¤VjDé1E"¸ľ¶c wáňŞÝ¤·ú‚vĽ:Ç´O6ÔQE˛ů‰pSÇzĄVWÚI‰ţaŔ Ă}9ú Ž®Şoţ)J<•¶BCűÝŽ!Őŕ˛TÂm¬jpq_Čş'Z¨§Ów-ˇ§VţkKéńKŘ=\Äô piT2źŐĘź¦•¶ç¤ë{;.~B‡;Ž~| śY{*™aŮťĆ: Link to comment Share on other sites More sharing options...
Daffy 8 Odesláno: 18. Únor, 2009 Share Odesláno: 18. Únor, 2009 neprectu to je to sami otaznik Link to comment Share on other sites More sharing options...
Red beanie 0 Odesláno: 18. Únor, 2009 Author Share Odesláno: 18. Únor, 2009 tjn nechápu to se na to vy!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now