A modified version of the Photoshop Fit Image script to allow selection of a re-sampling method