I have the following script which takes an image and rotates it,
$filename = 'images/help.jpg'; $degrees = 350; $source = imagecreatefromjpeg($filename); imagecolortransparent($source,imagecolorat($source,0,0)); $rotate = imagerotate($source, $degrees, 0); $quality=100; $image = imagejpeg($rotate,"",$quality);
The problem is that im left with a black background and I cannot seem to turn the background transparent.
Can anyone help?
Thanks in advance