Added no_upsampling option on resize