scaling an image, but keep its proportions

Posted by mrblah on Stack Overflow See other posts from Stack Overflow or by mrblah
Published on 2009-12-30T12:30:23Z Indexed on 2010/05/08 9:08 UTC
Read the original article Hit count: 329

I want to scale images, but I don't want the image to look skewed.

The image has to be 115x115 (length x width).

The image can't be over 115 pixels high (length), but if needed, the width can be less than 115 but not more.

Is this tricky?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET