Scale an Image in C# Preserving Aspect Ratio

If you need to change the size of an Image without changing the ratio of X to Y then this function should do what you want. The input parameters maxWidth and maxHeight define the largest values that you want to get back out of the image after it has been scaled.

Results of Scaling an Image Here is a […]

Read more
1 2 3