33

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?

you are viewing a single comment's thread
view the rest of the comments
[-] klangcola@reddthat.com 5 points 5 days ago

For jpg's, no they will not get smaller. Maybe even a smidge bigger if you zip them. Usually not enough to make a practical difference.

Zip does generic lossless compression, meaning it can be extracted for a bit-perfect copy of the original. Very simplified it works by finding patterns repeating and replacing a long pattern with a short key, and storing an index to replace the keys with the original pattern on extraction.

Jpg's use lossy compression, meaning some detail is lost and can never be reproduced. Jpg is highly optimized to only drop details that don't matter much for human perception of the image.

Since jpg is already compressed, there will not be any repeating patterns (duplicate information) for the zip algorithm to find.

this post was submitted on 04 Dec 2025
33 points (100.0% liked)

Asklemmy

51580 readers
305 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 6 years ago
MODERATORS