changed usage of isResizeNecessary with new methods

taking the options of crop and upscaling into account.