compress the cover image