Resize and fit an image proportional

P3Media - of course - can already resize and crop images. But with this addition you can also automatically resize and crop an image proportional, fitting given dimensions. 

Pictures says more then a 1000 words:
http://salman-w.blogspot.nl/2009/04/crop-to-fit-image-using-aspphp.html