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.
You probably know it already, but the functions 'imagecopyresampled' and 'imagefill' may help you making the option.
In fact, it is the same option as adjusting the canvas size in Photoshop. Maybe it is nice to also let the user choose which way the canvas has to expand... from center out or only to the left or right.
There are plenty of examples where all images has to be an exact size. In a recent thread, about 60 x 60.... I think it is the same question as mine.
You probably know it already, but the functions 'imagecopyresampled' and 'imagefill' may help you making the option.
In fact, it is the same option as adjusting the canvas size in Photoshop. Maybe it is nice to also let the user choose which way the canvas has to expand... from center out or only to the left or right.
There are plenty of examples where all images has to be an exact size. In a recent thread, about 60 x 60.... I think it is the same question as mine.
But, thanks for everything!
My point was about the usefulness of doing it, but since it is being asked and seems needed, I will implement it.