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.
I needed a factor of transparency when applying a border to the image, so I modified the line 4170 by changing the last parameter of imagecolorallocatealpha for $this->image_border_transparency.
Now I can apply $handle->image_border_transparency = [0..127] and it works fantastic. Maybe this could be included in a future release?
I needed a factor of transparency when applying a border to the image, so I modified the line 4170 by changing the last parameter of imagecolorallocatealpha for $this->image_border_transparency.
Now I can apply $handle->image_border_transparency = [0..127] and it works fantastic. Maybe this could be included in a future release?
Just my 2 cents.
CoolWind
http://www.coolwind.ws