Subject: | support specifying both max and width of target thumbnail |
Hello Lee,
Thanks for your work on Image::Thumbnail. I'm interested to use it to make CGI::Uploader portable between GD and Magick.
I would like for 'size' to support specifying both a width and a height. If your target ship is particular non-square, having a single number for 'size' is sub-optimal. It can result in images that are much smaller than the target, or that match the longest side, but are much too big.
I like the Image::Magick API of 'geometry => '200x300'.
Maybe you could just check to see if 'size' has an "x" in it, and then split it into a max width and max height if it does?