change how images are resized by imagemagick