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'd like to be able to check what is larger x value or y value of theimage then scale to a particular size based on determined sizes. Say it's x=300 y=400 Then I'd like to scale x to 100
x=400 y=300 scale y to 100 and then crop to a 100x100 square.
Is it possible, and if yes, what are the steps?Reply
x=300
y=400
Then I'd like to scale x to 100
x=400
y=300
scale y to 100 and then crop to a 100x100 square.
Is it possible, and if yes, what are the steps?