Custom Transformations take precedence over default

The resize parameters are used for sampling the image file as well as
resizing. This means that custom transformation that might want
to preserve the original dimensions in certain cases cannot do so
unless they are run instead of the defaults.