maikeldaloo/Resizer — pull request #8 by cviebrock (2012-09-06 04:29:08+00:00)
Title: Add "fit" method

Add "fit" method, which resizes the image so it fits entirely within the new dimensions, and then pads as required so the resulting image is exactly what was requested.

(sorry about the whitespace changes too)

Signed-off-by: Colin Viebrock