trying to pull in an image from file which has a white background make the white transparent and copy it onto a new image with a black background, the script below below works except for making the background transparent, anyone got any ideas??
thanks in advance
$image = ImageCreateFromgif("square.gif"); //the image pulled in from a gif
$white = ImageColorAllocate($image, 255, 255, 255);