Scaling math used in image size constraining (such as thumbnails) WWW: http://search.cpan.org/dist/Image-Math-Constrain/