Added the crop mode

Hi !

I needed your script to use a crop mode only, to crop images and not necessary resize them.
Please have a look at it, and feel free to merge it.

Thanks for your hard work !

Jean-Baptiste Janot