Added image rescaling based on hard-coded value.