Example: I have a book which I wanna archive. Would sending a zip with the pages take less storage than sending the, let’s say, 10 individual pages sparatedly?

  • molave@reddthat.com
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    22 hours ago

    I don’t know the details, but in principle, the zip compression process tries to identify the textual commonalities between the pages. The more commonalities the 10 pages have, the smaller the zip file will be.

    If each page is textually very different, (example, Page 1 is “AB” , Page 2 is “CD”, etc.), it’s possible that the zip file will be larger. It’s because it will contain the full contents of each page, plus the metadata of the zip file.

    Anyone more knowledgeable can correct me on this.