Hi,
hab mir ein kleines script gebaut.
<?php
$art = $_GET["art"];
header ("Content-type: image/jpg");
$file = "../../UserFiles/Image/bilder/$art.jpg";
$copy = "Hallo";
$textx = "70";
$texty = "95";
$width = 240;
$height = 205;
$scource = imagecreatefromjpeg($file);
$destination = imagecreate($width, $height);
$white = imagecolorallocate($destination, 255, 255, 255);
imagecopyresized($destination, $scource, 0, 0, 0, 0, $width, $height, imagesx($scource), imagesy($scource));
imagestring($destination, 0, $textx, $texty, $copy, $white);
imagejpeg($destination);
imagedestroy($destination);
?>
Das Bild zeigt er sehr mit einer sehr schlechten qualität an.
http://www.schluffti.com/Shop/admin_admin/bildbearbeitung.php?art=102717
Hier das Original
http://www.schluffti.com/UserFiles/Image/bilder/102717.jpg
Wie kann ich die Qualität verbessern??
danke
mfg
Goodies