measures to make image smaller