Hallo Leute,
ich hab da ein keines Problem und zwar wird meine Bild bei ImageRotate falsch ausgegeben.
Das Orginalbild sieht so aus:
http://www.diamonddoghamm.de/testimg/logo.png
Das gedrehte Bild sieht so aus:
http://www.diamonddoghamm.de/testimg/index.php
Das Script dazu sieht so aus:
$file = "logo.png";
$src_img = ImageCreateFromPNG($file);
if($src_img){
$src_img = ImageRotate($src_img,30,0);
ImagePNG($src_img,"logo_temp.png");
echo '<img src="logo_temp.png" />';
ImageDestroy($src_img);
}
Weiß jemand vll was ich falsch mache und kann mir sagen wo das Problem liegt?
Danke schon mal an alle.
Mfg Dog