Resize dog image for improved speed