PHP Function to resize images & apply transparent background
I need a PHP function that can take any image, and change the dimensions to a specified height and width while preserving proportions.
If there is a difference in proportions between the original image and the required image, transparency should be used to fill the extra space. The attached examples illustrate exactly what I mean
The new image should be save a PNG file type.
The function should take the following variables:
Function ResizeImage($OrignalImageFilename, $SaveAsFilename…
Original post by Freelancer.com - New Projects