Added option to resize images below a certain size
Implemented SWIG (Ruby) wrapper