class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
It all looks normal to me. But: - are you sure your original image is a JPEG? A JPEG doesn't have transparency. If the background is filled with some black color, it is because the image is transparent to start with - does your code work with smaller images? Your images are very large, and it may cause memory issuesReply
- are you sure your original image is a JPEG? A JPEG doesn't have transparency. If the background is filled with some black color, it is because the image is transparent to start with
- does your code work with smaller images? Your images are very large, and it may cause memory issues