Eric Hellman
Eric Hellman
Nice! Thanks, and welcome to free-programming-books!
PG doesn't do much compression. I would bet that only compressing the largest files could get you 80% of the total size reduction benefit with zero quality degradation on current...
https://github.com/gutenbergtools/ebookmaker/blob/fa2e91f4bf1ab75674919841c6c36a489596530b/src/ebookmaker/writers/EpubWriter.py#L50 sets the max image size to 256K (1M for linked images); so images smaller than that get no compression other than what zip does. What I was talking about...
what do I do with this?
if you're using the PG epub3, they will be larger than epub2 for two reasons: 1. max cover size/image size is larger 2. some epub3 books contain audio files