compress image. restrict rect left right top right
compress image. restrict image.