add filter, sharpen and samplingFactor options

I've added some additional options to permit to select different resizing filters and to sharpen the image after resizing.

This will not affect any existing code, but will permit to fine tuning the resizing process (for example when dealing with very big photographs)