How can I crop/scale user images so I can display fixed sized thumbnails without skewing and stretch

Posted by KingNestor on Stack Overflow See other posts from Stack Overflow or by KingNestor
Published on 2009-06-13T21:51:09Z Indexed on 2010/05/08 10:38 UTC
Read the original article Hit count: 329

I'm working on allowing users to upload profile pictures for my site. The classic example of what I'm trying to avoid is plentyoffish.com where each users image is skewed and looks very ugly:

alt text

So, how can I progmatically crop/create standard sized versions of an image without the skewing demonstrated above?

© Stack Overflow or respective owner

Related posts about images

Related posts about image-processing