Danke, dass war`s. So funktioniert es:
$src = "burgtor.jpg";
$quellbild = imagecreatefromjpeg($src);
// Abmessungen Quellbild
$weite = imagesx($quellbild);
$hoehe = imagesy($quellbild);
// Abmessungen Zielbild Standard
$weitet = 720;
$hoehet = 405;
// Abmessungen Zielbild Preview
$weitep = 294;
$hoehep = 165;
// Einstellungen für Scharfzeichnung mit imageconvolution
$sharpenMatrix = array(
array(0.0, -1.0, 0.0),
array(-1.0, 10.0, -1.0),
array(0.0, -1.0, 0.0)
);
$divisor = array_sum(array_map('array_sum', $sharpenMatrix));
$offset = 0;
// Standard
$standard = imagecreatetruecolor($weitet,$hoehet);
imagecopyresampled($standard, $quellbild, 0, 0, 0, 0, $weitet, $hoehet, $weite, $hoehe);
imageconvolution($standard, $sharpenMatrix, $divisor, $offset);
header('Content-Type: image/jpeg');
imagejpeg($standard, "standard/burgtor.jpg", 100);
imagedestroy($standard);
// Standard
$preview = imagecreatetruecolor($weitep,$hoehep);
imagecopyresampled($preview, $quellbild, 0, 0, 0, 0, $weitep, $hoehep, $weite, $hoehe);
imageconvolution($preview, $sharpenMatrix, $divisor, $offset);
header('Content-Type: image/jpeg');
imagejpeg($preview, "preview/burgtor.jpg", 100);
imagedestroy($preview);
Andreas