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.
Is it possible to convert all pixels that are #ffffff into transparency before it resizes and moves the image?
I don't think it is implemented into class.upload, but how hard would it be to add that feature? Or is there some simple alternative that I can use to do this before I manipulate the image with class.upload?
It is not currently possible with the class at the moment. But I will implement it in the next release. It will probably be a setting such as image_transparent_color. If set, it will forcibly replace the given color with transparent pixels.Reply
I don't think it is implemented into class.upload, but how hard would it be to add that feature? Or is there some simple alternative that I can use to do this before I manipulate the image with class.upload?
Thanks