change the compress to resize.