Resizing cover for publishing ebook