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 want to make image 200x200 but to keep original image size and ratio if image width is small than 150px ( and height is small than 150px) and place image in the middle of 200x200 and fill space till 200 (TBLR) with color background.
I can't make it to keep original image size and ratio!
I can't make it to keep original image size and ratio!
Sry for my English!
Thx