reduce quality when doing a resize