| baseportal | |||
| English - Deutsch | "Es gibt keine dummen Fragen - jeder hat einmal angefangen" | ||
| 
 | 
| Ausgewählter Eintrag: | Zur Liste | 
<php>
$im = imagecreatefromjpeg("/usr/virtualweb/rheinresidenz.de/html/files/test/111.jpg");
$string = "TESTBILD";
$schrift_groesse = 6;
$left = 29;
$left2 = 33;
$top = (imagesy($im)-20);
$top2 = (imagesy($im)-21);
$bg_color = imagecolorallocate($im, 255, 255, 255);
$schrift_color = imagecolorallocate($im, 0, 0, 0);
$schrift_color2 = imagecolorallocate($im, 255, 255, 255);
imagestring($im,$schrift_groesse,$left,$top,$string,$schrift_color);
imagestring($im,$schrift_groesse,$left2,$top2,$string,$schrift_color2);
imagejpeg($im);
imagedestroy($im);
</php>
| Alle Einträge zum Thema: | Zur Liste | 
<html>
# Datenbank hier: foto $daten="foto";
$qpath="/usr/virtualweb/rheinresidenz.de/html/files/";
$thpath="/usr/virtualweb/rheinresidenz.de/html/test/";
get("", "$daten");
while(get_next("$daten"))
{
$qbild="$qpath$foto";
$fotoneu="schrift_$foto"; $qbildneu="$thpath$fotoneu";
$image = imagecreatefromjpeg("$qbild");
$farbe_a = imagecolorclosest($image,0,0,0); # Dunkelste Farbe der Palette des Bildes wird festgestellt $farbe_b = imagecolorclosest($image,250,250,250); echo "$farbe_b<br>";
# neues Bild wird unter angegebenen Pfad gespeichert- ACHTUNG Ordner muss für schreiben freigegeben sein imagejpeg($image,"$qbildneu");
out ("<img src=\"$thpath1$foto\"><br>");
}
</php>
</html>
Warning: imagecreatefromjpeg(): '/usr/virtualweb/rheinresidenz.de/html/files/' is not a valid JPEG file in /usr/local/httpd/baseportal/_p/ic/_pics/php/perl2php.php(75) : eval()'d code on line 25
$qbild="$qpath$foto";
out("qbild=$qbild<br>");
<?php
$im = imagecreatefromjpeg("http://rheinresidenz.de/test/1.jpg");
$string = "TESTBILD";
$schrift_groesse = 6;
$left = 29;
$left2 = 33;
$top = (imagesy($im)-20);
$top2 = (imagesy($im)-21);
$bg_color = imagecolorallocate($im, 255, 255, 255);
$schrift_color = imagecolorallocate($im, 0, 0, 0);
$schrift_color2 = imagecolorallocate($im, 255, 255, 255);
imagestring($im,$schrift_groesse,$left,$top,$string,$schrift_color);
imagestring($im,$schrift_groesse,$left2,$top2,$string,$schrift_color2);
imagejpeg($im);
imagedestroy($im);
?>
<php>
$im = imagecreatefromjpeg("/usr/virtualweb/rheinresidenz.de/html/files/test/111.jpg");
$string = "TESTBILD";
$schrift_groesse = 6;
$left = 29;
$left2 = 33;
$top = (imagesy($im)-20);
$top2 = (imagesy($im)-21);
$bg_color = imagecolorallocate($im, 255, 255, 255);
$schrift_color = imagecolorallocate($im, 0, 0, 0);
$schrift_color2 = imagecolorallocate($im, 255, 255, 255);
imagestring($im,$schrift_groesse,$left,$top,$string,$schrift_color);
imagestring($im,$schrift_groesse,$left2,$top2,$string,$schrift_color2);
imagejpeg($im);
imagedestroy($im);
</php>
<style type="text/css">
q { font-size:64px; font-family:bobcat, script mt bold; color:#bd034a;}
code { font-weight:bold;  }
</style>
<loop db=mySC range=0,1 Id==?>
<table height=800 width=600 background=$MyBabe >
<td align=left> <p><q>We love you $Name</q> </td> </tr> </table> </loop>
| Liste der Einträge von 16800 bis 16950: | Einklappen | Zur Eingabe | 
| Neueste Einträge << 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | Neuere Einträge < | Zur Eingabe | > Ältere Einträge | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 >> Älteste Einträge | 
| © baseportal.de. Alle Rechte vorbehalten. Nutzungsbedingungen |