I'm trying to create a PHP script to take a large image (2.1 Mb) and cut it in half and resize it. I don't really know what I'm doing, this is the first time I've used these functions. The problem I'm having is that is has a drop shadow and in the process of keeping the background transparent it gets removed badly and I end up with this:
Looks fine to me (in FF).
Hint, IE doesn't know how to handle the alpha layer for the png images. Unfortunatly, the gif is your next best bet, but I'm not sure how the colour allocation will look with the 256 colours available.
Does that answer your question?
I am using FF 2.0, but I don't know if this is a limitation of the resizing, but the edges aren't smooth and the drop shadow is removed. I understand that this is because of imagecreatetruecolor() creates a black base image, is there any way to get around this? or is it something else.