View Single Post
Old 04-18-2026, 12:54 PM   #10
FelixKrull
Enthusiast
FelixKrull is clearly one to watchFelixKrull is clearly one to watchFelixKrull is clearly one to watchFelixKrull is clearly one to watchFelixKrull is clearly one to watchFelixKrull is clearly one to watchFelixKrull is clearly one to watchFelixKrull is clearly one to watchFelixKrull is clearly one to watchFelixKrull is clearly one to watchFelixKrull is clearly one to watch
 
Posts: 45
Karma: 10738
Join Date: Aug 2018
Device: none
Quote:
Originally Posted by Gormagon View Post
Someone has to unzip the epub file, either you yourself or some program/script.
If you extract them yourself, you could delete the enlarged pictures in the azw3 file with calibre after opening the azw3 file with "edit book", then add the original pictures of the unzipped epub file....
Maybe I didn’t explain that clearly:

I already unzipped the EPUB and looked at the images. The issue is that the images themselves are already large at that stage. So even before any AZW3 conversion, the extracted PNG files are much bigger than what the 14 MB EPUB size would suggest.

That’s why simply replacing images in the AZW3 with those from the EPUB doesn’t really help in my case, they’re effectively the same (already “inflated”) files once extracted.

So the core of my confusion is this:

How can the EPUB be only arond 14 MB, while the extracted image assets (PNG) already add up to a much larger size? Is this purely due to zip compression efficiency on PNG files, or is there something else going on (e.g. optimization tricks inside the EPUB container)?

In other words, the size jump seems to happen between:
EPUB (compressed container) > extracted contents

not just during:
EPUB to AZW3 conversion
FelixKrull is offline   Reply With Quote