I want to do the following :
- I need to resize images to fit and fill enterly 100x100 pixel box
not all image are perfect squares, and thats my problem for this task- I want to determine wich side (width or height) is the smallest.
- Bring that Side to 100px while scaling down; Center back
- Crop the overflow on both side
I've tried the width/height :100% technic but that doesnt give the result i want, (it is streched and ugly). Also i've seen some method but in C# ... I need in PHP.
I would appreciate any advice, directions, input, or ready script... Thanks
using PHP 5.3.0