Added the previewAsCanvas option (default: true).

Pass noRevoke option to loadImage.
Crop resized images if global option imageCrop is true.
Use minWidth/minHeight for resized images and previews from global
options.