Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 07-09-2020, 07:55 AM   #1
johnelle
Zealot
johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.
 
Posts: 119
Karma: 2137668
Join Date: Mar 2015
Location: Groton, MA
Device: Kindle app on Samsung Tab
Book Compression Inside Calibre?

As books get bigger and bigger I find myself going to the cloud more and more to compress books so they will squeeze on my wife's kindle. This is tedious because it involves exporting an epub, web compress, reload in calibre, reconvert, etc.

Last I checked this was not available in Calibre via plug-in or otherwise(?)

The web epub compress frequently cuts the size by an order of magnitude which I assume is mostly just adjusting image quality.

Any alternatives?
johnelle is offline   Reply With Quote
Old 07-09-2020, 10:04 AM   #2
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 450
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
Quote:
Originally Posted by johnelle View Post
As books get bigger and bigger I find myself going to the cloud more and more to compress books so they will squeeze on my wife's kindle. This is tedious because it involves exporting an epub, web compress, reload in calibre, reconvert, etc.

Last I checked this was not available in Calibre via plug-in or otherwise(?)

The web epub compress frequently cuts the size by an order of magnitude which I assume is mostly just adjusting image quality.

Any alternatives?
If the book is epub or azw3, open it in the Calibre editor. Two tools to use.

Font manager: get rid of any embedded fonts; they can take up several megabytes if they are present. (Unless you can't live without that font...)

Under Tools-->Compress images losslessly. Check the box for lossy compression and put in a factor like 50. This can reduce jpgs up to 10-fold sometimes. If the images are png, very slow and not so much compression. You won't be able to see the difference on a Kindle.

Also look for advertising images and so on; you can just get rid of them.

Large png images you want to keep, export them and use another tool to convert to jpg, re-import (use replace image on right-click menu) and compress.

Run the bug check, correct errors, and save.

I recently had a book go from 19.1 megabytes down to 0.4.
retiredbiker is offline   Reply With Quote
Advert
Old 07-09-2020, 10:45 AM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,741
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by retiredbiker View Post
If the book is epub or azw3, open it in the Calibre editor. Two tools to use.

Font manager: get rid of any embedded fonts; they can take up several megabytes if they are present. (Unless you can't live without that font...)

Under Tools-->Compress images losslessly. Check the box for lossy compression and put in a factor like 50. This can reduce jpgs up to 10-fold sometimes. If the images are png, very slow and not so much compression. You won't be able to see the difference on a Kindle.

Also look for advertising images and so on; you can just get rid of them.

Large png images you want to keep, export them and use another tool to convert to jpg, re-import (use replace image on right-click menu) and compress.

Run the bug check, correct errors, and save.

I recently had a book go from 19.1 megabytes down to 0.4.
All that is good advice. I do it as well. Also, remove the unused CSS classes. There can be hundreds of unused classes that take up space. I use a compression level of 70 as for most graphics, it makes no noticeable difference.

If you compress Kindle eBooks more then the default, you end up using more battery as it takes more processor to uncompress.

@johnelle, do you have to have so many eBooks on the Kindle?

Last edited by JSWolf; 07-09-2020 at 10:48 AM.
JSWolf is offline   Reply With Quote
Old 07-09-2020, 11:52 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Shrinking modern HiRes images is the most effective in size reduction.
Getting rid of unused Styles will remove a few hundred bytes.

Combine cases of: P style= Span Style= (.+?) /Span /P that some Word sourced conversions had. Good for speed as well as lose a few KBytes
theducks is offline   Reply With Quote
Old 07-13-2020, 05:57 AM   #5
johnelle
Zealot
johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.
 
Posts: 119
Karma: 2137668
Join Date: Mar 2015
Location: Groton, MA
Device: Kindle app on Samsung Tab
Sounds like a great opportunity for a plug-in. Most of the processes described here seem somewhat fussy and time consuming whereas the cloud compress (epubs) mostly takes time with upload/download. A plug-in with limited input needed would be fabulous.
johnelle is offline   Reply With Quote
Advert
Old 07-13-2020, 06:11 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,741
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Why would you let some cloud service mangle your ePub? That's a bad idea.

I would want to do it by myself so I can see the result.
JSWolf is offline   Reply With Quote
Old 07-13-2020, 08:33 AM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Molly Wood of CNET had a term she used: Auto-Incorrect

I am with the Wolf ( ) , letting generic tools loose on a really non-generic product (book) is a recipe for a mangle.

Have you really looked at how books end up coded ??

Rules! We are AUTHORS! We don't need no stinking rules stifling our (layout) creativity (or bothering to learn the basics of ebook coding)
theducks is offline   Reply With Quote
Old 07-13-2020, 08:53 AM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,741
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by theducks View Post
Molly Wood of CNET had a term she used: Auto-Incorrect

I am with the Wolf ( ) , letting generic tools loose on a really non-generic product (book) is a recipe for a mangle.

Have you really looked at how books end up coded ??

Rules! We are AUTHORS! We don't need no stinking rules stifling our (layout) creativity (or bothering to learn the basics of ebook coding)
I've seen the internals of too many KU eBooks and some of them are dreadful. Learn how to make a well coded eBook before you make a dreadfully coded eBook.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching inside the book Sirtel Barnes & Noble NOOK 5 07-23-2019 07:24 PM
Searching inside book mariaclaudia Calibre 4 06-20-2016 09:36 PM
Cover inside book luthar28 ePub 3 08-04-2010 05:32 PM
Are these features available in Calibre? More inside crackhammer Calibre 7 05-11-2010 04:29 AM
unable to get my book backup back into Calibre? error msg inside stustaff Calibre 13 05-04-2009 04:51 AM


All times are GMT -4. The time now is 08:20 AM.


MobileRead.com is a privately owned, operated and funded community.