Support for resizing large images.

Currently the criteria for a large image is
hardcoded to 1MB.  This will be addressed in the
next release and exposed as an attribute, along
with other behaviour relating to the resize operation.